public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: "Markus Klotzbücher" <mk@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] isp116x-hcd and usb_storage
Date: Tue, 18 Sep 2007 16:56:26 +0200	[thread overview]
Message-ID: <87hclsggyt.fsf@denx.de> (raw)
In-Reply-To: <89014.45054.qm@web59211.mail.re1.yahoo.com> (tike64@yahoo.com's message of "Tue, 18 Sep 2007 04:54:46 -0700 (PDT)")


tike64 <tike64@yahoo.com> writes:
> --- 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?

Have you got an idea why this delay is needed? The correct way would be
to figure this out and send a patch and explanation to the list.

Thanks in advance.

Best regards

Markus Klotzb?cher

--
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de

  reply	other threads:[~2007-09-18 14:56 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-18  7:59 [U-Boot-Users] isp116x-hcd and usb_storage tike64
2007-09-18 10:39 ` Markus Klotzbücher
2007-09-18 11:14   ` tike64
2007-09-18 11:54     ` tike64
2007-09-18 14:56       ` Markus Klotzbücher [this message]
2007-09-19  5:46         ` tike64
2007-09-19  8:17           ` Markus Klotzbücher
2007-09-20 11:51             ` tike64
2007-09-20 12:59               ` Markus Klotzbücher
2007-09-20 14:13                 ` tike64
2007-09-21 13:02                   ` tike64
2007-09-24  6:44                     ` Markus Klotzbücher
2007-09-24 12:01                       ` tike64

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87hclsggyt.fsf@denx.de \
    --to=mk@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox