Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
9 years, 8 months ago.
USB serial device never gets configured.
Hello,
Thank you for sharing your useful library. I have tried the example with NUCLEO-F103RB and the favbutton, mouse and msd work fine. However, I have some difficulties with the USB serial device. The code compiles smoothly and I can also see an "Mbed Virtual Serial Port" in Windows Device Manager. Yet, there is no serial communication with the connected PC. Off-line debugging reveals that the function
bool USBCDC::USBCallback_setConfiguration(uint8_t configuration)
never gets called. So instead of getting the device CONFIGURED, it remains in POWERED state. Do you have any idea or suggestions? Did you test the application also with NUCLEO-F103RB?
Thank you in advance.
Zoltan
Hello,
posted by Zoltan Hudak 01 Mar 2016After reverting the files in the USBSerial folder to rev. 61 also the serial device works fine with a NUCLEO-F103RB board.
Zoltan