AnsweredAssumed Answered

How to reset virtual COM port driver?

Question asked by diz on Feb 6, 2013
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.