Using a single Virtual Com Port on TinyG2

Home Forums TinyG TinyG Support Using a single Virtual Com Port on TinyG2

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9844
    saci
    Member

    Hi every one,
    I use tinyg2 to control five motors on an robot arm using PC and a small software that open two communication ports to talk with G2, now I try to use a standalone terminal with Host usb port instead of PC solution. My limitation is my USB Host CDC library on the terminal side don’t support more than one instance ( no support for mixed or multi end point USB class), I tried commenting and uncommenting some lines in main.cpp and xio.h files but no success ( many compilation errors) !

    //Motate::USBDevice< Motate::USBCDC > usb;
    Motate::USBDevice< Motate::USBCDC, Motate::USBCDC > usb;

    decltype(usb._mixin_0_type::Serial) &SerialUSB = usb._mixin_0_type::Serial;
    decltype(usb._mixin_1_type::Serial) &SerialUSB1 = usb._mixin_1_type::Serial;

    Is there any way to do that with the actual G2 edge firmware ?
    Any suggestion will be highly appreciated.
    Thank you in advance.

    • This topic was modified 8 years, 4 months ago by saci.
    #9852
    cmcgrath5035
    Moderator

    Help for this level of detail not typically available here.
    Your can try to post a query at

      //github.com/synthetos/g2/issues

    Much closer to developers.
    Look thru other issues and solutions; may help

    It is unclear to me what you are calling a “terminal” and what it’s capabilities might be.

    #9872
    saci
    Member

    Thank you for your reply, I posted a new request on the Github page.
    this is the link: https://github.com/synthetos/g2/issues/147

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.