Skip to contentSkip to conversation

usb storage class CTL timeout problem

U-Boot-Users Winston Lin 4 participants 4 messages May 16, 2006 – Jun 23, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

Does anyone know why some USB mass storage devices work and some don't on the same board with the same u-boot 1.1.3? I was able to track the msg down to hc_interrupt() used by submit_common_msg() in ./cpu/mpc5xxx/usb_ohci.c file. The hc_interrupt() always return 0xff (SF) and the submit_common_msg() in its for-loop times out on SF eventually.

Regards,

Winston

=> usb reset
(Re)start USB...
USB: scanning bus for devices... 2 USB Devices found
=> usb scan
Scan for storage device:
scanning bus for storage devices...
ERROR: CTL:TIMEOUT
Device 0: Vendor: ChipsBnk Prod.: Flash Disk Rev: 2.00
Type: Removable Hard Disk
Capacity: 125.6 MB = 0.1 GB (257344 x 512)
=> usb scan
Scan for storage device:
scanning bus for storage devices...
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT
ERROR: CTL:TIMEOUT

#1 lore raw
Quoted 4 lines · --- Winston Lin

Hi,

Does anyone know why some USB mass storage devices work and some don't on the

I seem to remember a long time ago I had to increase the delays in the OHCI driver to get it to work. It's been a long time since I worked on it so I can't be more speicific then that...

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#2 lore raw
In reply to Winston Lin
Quoted 3 lines · In message <[email protected]> you wrote:

Does anyone know why some USB mass storage devices work and some don't on the same board with the same u-boot 1.1.3? I was able to track the msg down to

Because some are of poor quality and violate the USB specification?

BTW: did you try using a recent version of U-Boot?

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"Just think, with VLSI we can have 100 ENIACS on a chip!"
- Alan Perlis
#3 lore raw

I have the same problem with two different USB memory devices. I am using U-boot 1.1.3 (I can not update it) on Freescale Media5200

One USB memory device is "Cruiser Micro USB Flash Drive". I do not know type of another USB device.
One device does not work at all. Another works very unstable. This message may start appearing at any time. USB is virtually useless under U-boot in my case.

Both of these USB memory devices works well with any other computers and devices. Moreover any of them work well even with Media5200 when other system is running. So I suspect that it is more probable that U-boot USB driver has poor quality and probably violates USB specification. Isn't?

--
View this message in context: http://www.nabble.com/usb-storage-class-CTL-timeout-problem-t1632475.html#a5005104
Sent from the Uboot - Users forum at Nabble.com.