Hi,
I'm developing an application on the primer2 with CircleOS3.7 on it.
The application sends out short outputs on the primer2 LCD and can send at the same time much more long and detailed messages to PC through USB. In principle I would like to leave to the end user the freedom of going through USB or not automatically, without application option selection, but just by *cable plugged detection* at application startup.
If I initialize the primer2 USB peripheral as virtual com without a USB cable connecting it
to my PC my primer gets stuck so I'm looking forward to find a way to first detect the presence of a *physical usb connection* before starting the complete USB init. Does anyone has a clue about how to do this?
...still don't know enough about USB details underneath...
Adalberto