2015-02-08 07:49 PM
Dear all sir:
I'm working on STM32_USB-HOST-Device-LibV2.1.0 USB_Device_Examples VCP. This demo code try to send & receive serial data from PC through USB cable and transfer to serial port. Now the I down load the VCP driver for PC and I can see the STMicroelectronics virtual CON Port (COM11) in device management under Win7. However, when I try to use terminal open this port, it's show unable to open connection to COM11, unable to open serial port. Should I modify the demo code? But I'm confused where should I work on. Please allow me ask help for this issue, many thanks.Sincerely2015-02-08 10:44 PM
Dear all:
Please allow me get more detail for my issue. I try to use this demo code verify USB to RS232 emulation function. I would connect USB cable from PC to my board. And connect the RS232 port from board to the same PC. I use VCP driver V.1.4 download from ST official web site. The issue now is when I try to use putty (terminal software) open the STMicroelectronics virtual CON Port , it takes 2~3 minutes than show ''can't open com port'' error. What I do for the sample code is to redirect the RS232 initial function which use UART3 in demo code to UART4. What's more, I found the demo code enable the interrupt for UART3 but no define the Handler...is that the problem?Sincerely2015-02-09 10:37 PM
Dear all:
The problem is solved. The issue due to I block the UART port first before USB initial. After I arrange the initial flow the problem is solved. ^^Sincerely