From: tike64 Date: Tue, 18 Sep 2007 04:54:46 -0700 (PDT) Subject: [U-Boot-Users] isp116x-hcd and usb_storage In-Reply-To: <246814.6000.qm@web59214.mail.re1.yahoo.com> Message-ID: <89014.45054.qm@web59211.mail.re1.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de --- 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