Re: USB fails to enumerate on nrf52840_pca10056 board


Johann Fischer
 

Can not confirm, woks fine on the latest master and on 77006e896.

Johann

On Wed, 27 Nov 2019 16:50:02 +0000
"Cufi, Carles" <carles.cufi@nordicsemi.no> wrote:

Hi Steve,

Is this a regression? Have you tested this with an earlier Zephyr version/revision that worked?
We use this board routinely to test the USB stack and haven't run into this problem.

Can you please also share more details about the USB Host (Linux I assume) and the way you build the samples?

Thanks,

Carles

-----Original Message-----
From: devel@lists.zephyrproject.org <devel@lists.zephyrproject.org> On
Behalf Of Steve Brown via Lists.Zephyrproject.Org
Sent: 27 November 2019 17:37
To: devel@lists.zephyrproject.org
Cc: devel@lists.zephyrproject.org
Subject: [Zephyr-devel] USB fails to enumerate on nrf52840_pca10056
board

All the USB samples and tests fail to enumerate.
git HEAD 77006e896

Output from the desc_sections test is below:

Nov 27 09:11:57 nm-ws kernel: [520538.130145] usb 7-2: USB disconnect,
device number 65 Nov 27 09:12:00 nm-ws kernel: [520542.088211] usb 7-2:
new full-speed USB device number 66 using ohci-pci Nov 27 09:12:06 nm-ws
kernel: [520547.360327] usb 7-2: device descriptor read/all, error -110
Nov 27 09:12:06 nm-ws kernel: [520547.516218] usb 7-2: new full-speed
USB device number 67 using ohci-pci

And the relevant nrf console output:

D: ep 0, status 0
D: ** 0 **
D: bRequest 0x6, wIndex 0x0
D: REQ_GET_DESCRIPTOR


The Nordic usbd_cdc_acm_pca10056.hex works on the same board:

Nov 27 09:09:32 nm-ws kernel: [520393.141205] usb 7-2: USB disconnect,
device number 64 Nov 27 09:09:32 nm-ws kernel: [520393.735742] usb 7-2:
new full-speed USB device number 65 using ohci-pci Nov 27 09:09:32 nm-ws
kernel: [520393.938828] usb 7-2: New USB device found, idVendor=1915,
idProduct=520f, bcdDevice= 1.00 Nov 27 09:09:32 nm-ws kernel:
[520393.938834] usb 7-2: New USB device strings: Mfr=1, Product=2,
SerialNumber=3 Nov 27 09:09:32 nm-ws kernel: [520393.938838] usb 7-2:
Product: nRF52 USB CDC Demo Nov 27 09:09:32 nm-ws kernel:
[520393.938841] usb 7-2: Manufacturer: Nordic Semiconductor Nov 27
09:09:32 nm-ws kernel: [520393.938843] usb 7-2: SerialNumber:
796cadf8f13bbb37 Nov 27 09:09:32 nm-ws kernel: [520393.940987] cdc_acm
7-2:1.0: ttyACM1: USB ACM device

Steve




Join devel@lists.zephyrproject.org to automatically receive all group messages.