[U-Boot-Users] isp116x-hcd and usb_storage

tike64 tike64 at yahoo.com
Tue Sep 18 13:54:46 CEST 2007


--- tike64 wrote:
> --- Markus Klotzbücher wrote:
> > U-Boots USB implementation is known to have some timing issues

OK, it really seems to be a timing issue. I have now a correct 'fatls'
output with all debugging disabled. I added one delay into the
usb_stor_BBB_transport function like this:

	if (srb->datalen == 0)
		goto st;
	USB_STOR_PRINTF("DATA phase\n");
-->	wait_ms(200);
	if (dir_in)

100 ms was too short.

Now the question is, what is the correct way to fix this?

--

Timo



      ____________________________________________________________________________________
Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos.
http://autos.yahoo.com/index.html
 






More information about the U-Boot mailing list