AnsweredAssumed Answered

STM32F4 USB CDC broken after upgrading Standard Periph Library

Question asked by Gordon Williams on Jul 1, 2014
Latest reply on Jul 30, 2014 by Gordon Williams
Hi,

I recently updated the standard peripheral library for the F407Discovery from v1.0.0 to v1.3.0, because I intended to try and compile my code for the newer F401 and F429 discovery chips.

However after doing this, the USB library v2.1.0 (which appears to be the latest outside of STM32Cube) that I was using for USB CDC stopped working. It didn't work on the F407, F401 or the F429 boards.

I now get the following report when I plug the device in:

[32163.760027] usb 3-2: new full-speed USB device number 89 using uhci_hcd
[32163.880023] usb 3-2: device descriptor read/64, error -71
[32164.104028] usb 3-2: device descriptor read/64, error -71
[32164.320022] usb 3-2: new full-speed USB device number 90 using uhci_hcd
[32164.440025] usb 3-2: device descriptor read/64, error -71
[32164.664027] usb 3-2: device descriptor read/64, error -71
[32164.880029] usb 3-2: new full-speed USB device number 91 using uhci_hcd
[32165.288018] usb 3-2: device not accepting address 91, error -71
[32165.400035] usb 3-2: new full-speed USB device number 92 using uhci_hcd
[32165.808021] usb 3-2: device not accepting address 92, error -71
[32165.808043] hub 3-0:1.0: unable to enumerate USB device on port 2

Previously it worked fine...

Does anyone have any ideas? The new peripheral library just went in without any problems at all, so I'm not sure what could have caused the problems...

thanks!

Outcomes