2013-09-26 09:01 AM
Greetings,
I've brought up the ST example VirtualComPort_Loopback (V4.0.0) on a Keil demo board (MCBSTM32E vers3) and the Keil enviroment (uVision 4.71.2.0) connecting through the ST virtual comport driver (1.3.1.0) and it works fine when not run from within the debugger. When run from within the debugger, however, the terminal emulator (PuTTY) error's out with: ''Unable to open connection to Com46, Unable to configure serial port''. The Com port (46) does show up in device manager and no errors are indicated.My uneducated guess is that the ST virtual comport driver is not happy something that's different in it's interaction over the USB connection when the debugger is running and it's refusing the terminal emulators connection.I would really appreciate any ideas for chasing this problem down as the problem also exists on a custom board with a complex application in need of enhancing and debugging...Thanks in advance.Steve.2013-12-04 10:58 AM
2013-12-04 11:37 AM
My experience is with the VCP implementations are for F2 and F4 chips, using the V2.1.0 tree
STM32_USB-Host-Device_Lib_V2.1.0\Project\USB_Device_Examples\VCP While there is some porting effort to use on non-EVAL series boards, I don't recall seeing any code that would preclude operation on a debugger, beyond the issue of timeliness if you breakpoint or single step stuff. Not sure I can offer any perspective on F1 designs using V4.0.0, or the Keil board, which is why I didn't respond to the original posting.