toggle quoted messageShow quoted text
This is the first time I've tried the nrf usb so I have no "working
version" to compare.
West version: v0.6.3
The desc_section test was build with:
west build -b nrf52840_pca10056
The host is Ubuntu 19.10 on a x86_64.
Linux nm-ws 5.3.0-24-generic #26-Ubuntu SMP Thu Nov 14 01:33:18 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I get the same result with a Raspberry Pi 3B+ as the host, also 19.10.
Linux ubuntu 5.3.0-1012-raspi2 #14-Ubuntu SMP Mon Nov 11 10:06:55 UTC 2019 aarch64 aarch64 aarch64 GNU/Linux
The prj.conf file is unchanged. Does it need to be modified for this
Other samples run fine. I've tested the onoff-app and hci_uart and they
perform as expected. The first USB sample I tried was hci_usb. When it
failed to enumerate, I tried the other samples and tests. They failed
too. All were build as above.
Thanks for the quick reply,
On Wed, 2019-11-27 at 16:50 +0000, Cufi, Carles wrote:
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?
From: email@example.com <firstname.lastname@example.org>
Behalf Of Steve Brown via Lists.Zephyrproject.Org
Sent: 27 November 2019 17:37
Subject: [Zephyr-devel] USB fails to enumerate on nrf52840_pca10056
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
device number 65 Nov 27 09:12:00 nm-ws kernel: [520542.088211] usb
new full-speed USB device number 66 using ohci-pci Nov 27 09:12:06
kernel: [520547.360327] usb 7-2: device descriptor read/all, error
Nov 27 09:12:06 nm-ws kernel: [520547.516218] usb 7-2: new full-
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
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
device number 64 Nov 27 09:09:32 nm-ws kernel: [520393.735742] usb
new full-speed USB device number 65 using ohci-pci Nov 27 09:09:32
kernel: [520393.938828] usb 7-2: New USB device found,
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-
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]
7-2:1.0: ttyACM1: USB ACM device