i.MX53 USB Linux fsl-ehci errors (custom board)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i.MX53 USB Linux fsl-ehci errors (custom board)

1,807 Views
tig
Contributor I

Proc: i.MX53, custom board (modified i.MX53 QSB)

Linux: 2.6.35

Issue: USB Host1 and Host3 (ULPI), do not properly enumerate USB devices.  

Note, some USB devices do correctly enumerate on USB Host1, however, other USB devices fail in the following way:

...

hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002
fsl-ehci fsl-ehci.1: GetStatus port 1 status 10001803 POWER sig=j CSC CONNECT
hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
fsl-ehci fsl-ehci.1: port 1 high speed
fsl-ehci fsl-ehci.1: GetStatus port 1 status 18001205 POWER sig=se0 PE CONNECT
usb 1-1: new high speed USB device using fsl-ehci and address 9
fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 1
fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 2

...

fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 30
fsl-ehci fsl-ehci.1: detected XactErr len 0/8 retry 31
fsl-ehci fsl-ehci.1: devpath 1 ep0out 3strikes
usb 1-1: device not accepting address 12, error -71
hub 1-0:1.0: unable to enumerate USB device on port 1
hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0002

On USB host3, devices fail in the following way:

...

hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002
fsl-ehci fsl-ehci.3: GetStatus port 1 status 80001813 POWER sig=j OC CSC CONNECT
hub 2-0:1.0: port 1, status 0109, change 0001, 12 Mb/s
hub 2-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x109
fsl-ehci fsl-ehci.3: port 1 high speed
fsl-ehci fsl-ehci.3: GetStatus port 1 status 80001815 POWER sig=j OC PE CONNECT
usb 2-1: new full speed USB device using fsl-ehci and address 22
fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 1
fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 2

...

fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 30
fsl-ehci fsl-ehci.3: detected XactErr len 0/8 retry 31
fsl-ehci fsl-ehci.3: devpath 1 ep0out 3strikes
usb usb2: clear tt buffer port 1, a0 ep0 t00080248
usb 2-1: device not accepting address 25, error -71
hub 2-0:1.0: unable to enumerate USB device on port 1
hub 2-0:1.0: state 7 ports 1 chg 0000 evt 0002

I'm working my way through the driver code, however, at this point I do not know if this is a software or hardware issue.  Any insight into what is happening, or strategies to resolve this, would be greatly appreciated.

Thanks.

Tags (2)
0 Kudos
3 Replies

552 Views
mdmuazzam
Contributor III

I am using MPC8309twr board.Getting problem in usb like Xacterr and in qtd_copy_status() there is if(token & QTD_STS_HALT) which gets satisfied. Due to this on heavy traffic like accessing internet .... USB stops working .

While if i apply fast ping ex- ping -s 1500 -i 0 then its ok.only its creating problem while accessing internet.

What could be the problem.? please suggest.

Thanks :smileyhappy:

0 Kudos

552 Views
tig
Contributor I

Solved.

Host 1 was a hardware issue.

Host 3 was a configuration issue.

0 Kudos

552 Views
JasonDi
Contributor I

Can you please detail the solution to the configuration issue?

0 Kudos