Associate II
February 10, 2016
Question
USB CDC Virtual COM port timeout/Hang
- February 10, 2016
- 2 replies
- 1549 views
Posted on February 11, 2016 at 00:23
Hello,
I have been tackling a USB issue on the STM32F373VC.My setup consists of a STM32F373 mcu setup as USB Virtual COM port. On the host side, commands are sent from a PC(windows7, 64 bit) via a teraterm script.Once in a while, I get a timeout on a CDC-IN token. I've attached a screenshot of the logic analyzer showing this. Is this an issue on the firmware side or host side?I've tried changing buffer sizes and it has no effect. Also I can see all the data make it to the host, but the terminal software is not able to see it. Does it point to an issue in the host driver from ST?My buffers are as follows:&sharpdefine VIRTUAL_COM_PORT_DATA_SIZE 64&sharpdefine VIRTUAL_COM_PORT_INT_SIZE 8&sharpdefine USART_RX_DATA_SIZE 512 #usb