AnsweredAssumed Answered

NUCLEO F411RE USB

Question asked by Marius Chincisan on Jan 11, 2018
Latest reply on Jan 12, 2018 by Marius Chincisan

Hello.

NUCLEO F411RE, Workbench generated project, Ubuntu 64 16.04, STCUbeMX , I think is  V1.18

I wired a USB cable to USB-DP (PA12)  USB-DM (PA11) GND and 5V.

I have a usb initialised as simple as instructed.

 

void MX_USB_DEVICE_Init(void)
    {
    USBD_Init(&hUsbDeviceFS, &FS_Desc, DEVICE_FS);
    USBD_RegisterClass(&hUsbDeviceFS, &USBD_CDC);

    USBD_CDC_RegisterInterface(&hUsbDeviceFS, &USBD_Interface_fops_FS);
    USBD_Start(&hUsbDeviceFS);

    }

 

 

When I plug in the USB I cannot see the device. I could not find a solution.

 

[ 1020.672169] usb 2-2: new full-speed USB device number 19 using xhci_hcd
[ 1020.784169] usb 2-2: device descriptor read/64, error -71
[ 1021.000167] usb 2-2: device descriptor read/64, error -71
[ 1021.216158] usb 2-2: new full-speed USB device number 20 using xhci_hcd
[ 1021.216312] usb 2-2: Device not responding to setup address.
[ 1021.420263] usb 2-2: Device not responding to setup address.
[ 1021.624148] usb 2-2: device not accepting address 20, error -71
[ 1021.736140] usb 2-2: new full-speed USB device number 21 using xhci_hcd
[ 1021.736282] usb 2-2: Device not responding to setup address.
[ 1021.940249] usb 2-2: Device not responding to setup address.
[ 1022.144092] usb 2-2: device not accepting address 21, error -71
[ 1022.144128] usb usb2-port2: unable to enumerate USB device

Outcomes