cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
11,561 Views
Registered: ‎02-06-2012

USB device not accepting address

I am trying to get USB working on a custom Zynq board but when a USB device is plugged in I get the following error messages.

USB memory stick:

[  101.397579] usb 1-1: new high-speed USB device number 7 using zynq-ehci
[  101.647577] usb 1-1: new high-speed USB device number 8 using zynq-ehci
[  102.077551] usb 1-1: device not accepting address 8, error -71
[  102.197574] usb 1-1: new high-speed USB device number 9 using zynq-ehci
[  102.627557] usb 1-1: device not accepting address 9, error -71
[  102.627624] usb usb1-port1: unable to enumerate USB device

USB mouse:

 [ 1369.337547] usb 1-1: new low-speed USB device number 42 using zynq-ehci
[ 1369.557558] usb 1-1: device descriptor read/64, error -71
[ 1369.877600] usb 1-1: device descriptor read/64, error -71
[ 1370.107572] usb 1-1: new low-speed USB device number 43 using zynq-ehci
[ 1370.327571] usb 1-1: device descriptor read/64, error -71
[ 1370.647499] usb 1-1: device descriptor read/64, error -71
[ 1370.877610] usb 1-1: new low-speed USB device number 44 using zynq-ehci
[ 1371.357479] usb 1-1: device not accepting address 44, error -71
[ 1371.477533] usb 1-1: new low-speed USB device number 45 using zynq-ehci
[ 1371.957483] usb 1-1: device not accepting address 45, error -71
[ 1371.963396] usb usb1-port1: unable to enumerate USB device

I am using the USB3320 ULPI transceiver connected the the Zynq PS USB controller. It appears to be detected and initialised correctly.

[    0.982092] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    0.988666] ehci-pci: EHCI PCI platform driver
[    0.993352] ULPI transceiver vendor/product ID 0x0424/0x0007
[    0.998960] Found SMSC USB3320 ULPI transceiver.
[    1.003529] ULPI integrity check: passed.
[    1.007692] zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller
[    1.014421] zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1
[    1.047581] zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000
[    1.067545] zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00
[    1.074024] hub 1-0:1.0: USB hub found
[    1.077747] hub 1-0:1.0: 1 port detected

I am not sure if it is a hardware or software issue. I can see a differential signal on the D+ and D- pins and VBUS is 5v.

Any advice on how to debug this would be great.

 

Thanks

0 Kudos
4 Replies
Highlighted
Scholar
Scholar
11,537 Views
Registered: ‎10-26-2012

Re: USB device not accepting address

Usually the PHY RESET is the cause. Did you connect some GPIO pin to the PHY's reset signal? And does it get asserted when you boot the system?

0 Kudos
Highlighted
Visitor
Visitor
11,532 Views
Registered: ‎02-06-2012

Re: USB device not accepting address

In the end it turned out to be a hardware problem. The VBUS reference was not being fed back into the Phy correctly

 

Works great now!

 

Thanks

0 Kudos
Highlighted
Participant
Participant
11,422 Views
Registered: ‎01-12-2015

Re: USB device not accepting address

Hi smee,

 

I'm facing a similar problem. Do you still need to feed back VBUS if you are just going to use in USB host mode?

 

Thanks

0 Kudos
Highlighted
Visitor
Visitor
11,364 Views
Registered: ‎02-06-2012

Re: USB device not accepting address

Yes we found you need to feed it back in all cases.

0 Kudos