usb cdc virtual com problem after cable detached and re attached

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

usb cdc virtual com problem after cable detached and re attached

524 Views
inorman
Contributor III

Hi I was wondering if anyone else has solved this issue when using the virtual com port, this also occurs when RF noise disrupts the usb link. This is using ProcessorExpert with USB virtual com port. and sdk 1.3.

I've read in another thread  How to recover from USB errors, or how to reinitialize USB0 without a full reset? 

that toggle the usb data line pullups should cause the usb device to be re-enumerated, which appears to work fine however I'm unable to send any further data as the terminal programs hungs.

How should the usb comms be shut down cleanly and restarted? 

It would seem the function Start_Transactions returns 0 meaning the re-enumeration hasn't completed successfully.

0 Kudos
0 Replies