From: tike64 <tike64@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] isp116x-hcd and usb_storage
Date: Thu, 20 Sep 2007 04:51:04 -0700 (PDT) [thread overview]
Message-ID: <693552.46647.qm@web59205.mail.re1.yahoo.com> (raw)
In-Reply-To: <87vea7rrw6.fsf@denx.de>
--- Markus Klotzb?cher wrote:
> tike64 writes:
> > Clearly the delay is now at a wrong place. It most propably should
> > be in isp116x-hcd.c. But as I don't know too much about usb or scsi
>
> I agree (although it wouldn't be the first first delay in
> usb_storage, would it). Maybe Rodolfo, who ported this driver has an
> idea where to start looking?
Hopefully Rodolfo is reading this list...
I have made a little progress. I think the delay was needed because the
stick simply needed more time. In certain occasions the stick NAKed
(PTD remained active) the transactions so long that isp116x_submit_job
returned an error. There was 10 retries and I increased it to 500 (in
effect 500ms timeout) and now it seems to work much better.
At least one problem remains, though. I have tested it with a 165KB
file and one out of about five fatloads fails. Completion codes of the
first failed PTDs are 6 (PIDCheckFailure), 5 (DeviceNotResponding) and
then always 0xf (propably device NAKing). After 'usb reset' it works
again for a while.
Now I don't understand how transactions can fail with 6 or 5
occasionally. Are sticks known to be unreliable or should I suspect my
hardware? What should be done after that kind of failure?
--
Timo
____________________________________________________________________________________
Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online.
http://smallbusiness.yahoo.com/webhosting
next prev parent reply other threads:[~2007-09-20 11:51 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
2007-09-19 5:46 ` tike64
2007-09-19 8:17 ` Markus Klotzbücher
2007-09-20 11:51 ` tike64 [this message]
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=693552.46647.qm@web59205.mail.re1.yahoo.com \
--to=tike64@yahoo.com \
--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