cancel
Showing results for 
Search instead for 
Did you mean: 

How to reset virtual COM port driver?

zabel
Associate III
Posted on February 06, 2013 at 18:37

Hi,

i am using the VCP for communication between a PC software an my STM32F207 device. Works ok so far. But if the device restarts while the PC software maintains the connection (or if somebody pulls out the cable), the connection is lost and cannot be reestablished. Even if I close the program (which closes the COM port, of course) and restart the software, it cannot reopen the COM port. I have to manually unplug and plug in again the cable to make the VCP operational. Is there anything I can do about this? I think, there should be some kind of driver reset or something similar, which my program can execute, so that no manual intervention is necessary.

TIA

  Dirk

 
0 REPLIES 0