You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I developed a simple handheld terminal which is in theory capable of communicating with other hardware using one or more communication protocol available: USART, SPI, CAN, I2C, USB and Ethernet. I did some testing with GRBL on arduino uno using the USB bus in HOST CDC mode and it works just fine, the same test with TinygG with FT232 and it also works with some bugs. Now I want to do some testing with TinyG2 but here I'm not able to establish communication with the the ARM device in USB CDC mode, after some investigation I concluded that the problem is a software limitation of my USB HOST library that can't handle communication with an USB composite device.
I want to know if there is any way to modify the TinyG2 code in order to use a single CDC instance.
Any suggestion will be highly appreciated.
Thank you in advance.
The text was updated successfully, but these errors were encountered:
In the future single-CDC will be the default. (I can't guarantee that it will not be a composite device, as we may replace the secondary CDC with a mass-storage device.)
However, to make it a single-endpoint non-composite device at the moment (I'm assuming a Due + gShield configuration, but this will work for the others as well you just need to change the appropriate board's files):
Closing this. As of the 100.15 builds there is only a single USB endpoint as a default. It is still possible to get 2 endpoints as a compile-time parameter by adding this line to the settings file: c
#define USB_SERIAL_PORTS_EXPOSED 2 // Valid options are 1 or 2, only!
I developed a simple handheld terminal which is in theory capable of communicating with other hardware using one or more communication protocol available: USART, SPI, CAN, I2C, USB and Ethernet. I did some testing with GRBL on arduino uno using the USB bus in HOST CDC mode and it works just fine, the same test with TinygG with FT232 and it also works with some bugs. Now I want to do some testing with TinyG2 but here I'm not able to establish communication with the the ARM device in USB CDC mode, after some investigation I concluded that the problem is a software limitation of my USB HOST library that can't handle communication with an USB composite device.
I want to know if there is any way to modify the TinyG2 code in order to use a single CDC instance.
Any suggestion will be highly appreciated.
Thank you in advance.
The text was updated successfully, but these errors were encountered: