On Sun, Jan 17, 2021 at 8:43 AM Flavio Castro Alves Filho <
flavio.al...@gmail.com> wrote:

> Hello,
>
> I am working to port NuttX on a board based on STM32F4DISCOVERY. The
> microcontroller is the STM32F407VET6.
>
> USB CDC support is not initializing.
>
> When I plug the USB on the board, I have the following dmesg response in
> Linux:
>
> [517062.075048] usb usb1-port2: attempt power cycle
> [517062.726922] usb 1-2: new full-speed USB device number 47 using xhci_hcd
> [517062.727170] usb 1-2: Device not responding to setup address.
> [517062.935148] usb 1-2: Device not responding to setup address.
> [517063.142906] usb 1-2: device not accepting address 47, error -71
> [517063.270916] usb 1-2: new full-speed USB device number 48 using xhci_hcd
> [517063.271141] usb 1-2: Device not responding to setup address.
> [517063.479134] usb 1-2: Device not responding to setup address.
>
> When I run stm32f4discovery:usbnsh on my discovery board, it works.
>
> I compared the defconfig from the base project and from mine and I
> believe I have initialized everything that is related to the USB.


Also try checking the board init code of
stm32f4discovery:usbnsh and see if there are any driver initialization
calls that you forgot to do in your board?

Nathan

Reply via email to