Skip to main content
lstfazz
Associate II
February 9, 2015
Question

STM32 F2 series VCP issue

  • February 9, 2015
  • 2 replies
  • 742 views
Posted on February 09, 2015 at 04:49

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.

Sincerely

    This topic has been closed for replies.

    2 replies

    lstfazz
    lstfazzAuthor
    Associate II
    February 9, 2015
    Posted on February 09, 2015 at 07:44

    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?

    Sincerely

    lstfazz
    lstfazzAuthor
    Associate II
    February 10, 2015
    Posted on February 10, 2015 at 07:37

    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