This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

USB CDC problem

Hello

I am developing an application on STM32F429 device.
The application uses CDC device
I started with the example application of Keil and modified it to work with the STM32F407 discovery board (mainly changed clock settings).
I am able to send data to the VCP on windows (using Hyper Terminal on windows side). Yet I am able to send only a single byte from the Hyper Terminal
towards the device. From there on - I am getting the following error (observed by sniffer):

Device Object USBPDO-18
Driver Object USBHUB3

URB Function URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER
URB Status USBD_STATUS_CANCELED

Endpoint 02h 2 Out, Bulk

Right after the transfer...:


Device Object USBPDO-18
Driver Object USBHUB3

URB Function URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER

Endpoint 02h 2 Out, Bulk

Bytes to Transfer 1

Any ideas why that can happen?

Thanks
Igor