Using a single Virtual Com Port on TinyG2

From the original Synthetos forum (2011–2025)

Started by saci on in TinyG Support. 2 replies, last activity Aug 7, 2016.

#

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.

Staff #

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.

This topic is from the original forum (August 2016). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.