public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: tike64 <tike64@yahoo.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] isp116x-hcd and usb_storage
Date: Tue, 18 Sep 2007 04:14:59 -0700 (PDT)	[thread overview]
Message-ID: <246814.6000.qm@web59214.mail.re1.yahoo.com> (raw)
In-Reply-To: <873axcuuj5.fsf@denx.de>

--- Markus Klotzb?cher wrote:
> Dear Timo,
> 
> Does your stick work correctly before resetting it? Can you read a
> file into memory and verify it was loaded correctly?

What kind of reset do you mean? I think I have to do 'usb reset' first.
I have not tried to read a file but 'fatls usb 0:1' gives a proper
listing but ONLY when I have debugging enabled in isp116x-hcd.c.

> U-Boots USB implementation is known to have some timing issues which
> havn't been fixed yet. You'll have to experiment to find out whats
> causing your problems. Have you tried defining
> ISP116X_HCD_USE_EXTRA_DELAY?

Yes, both ISP116X_HCD_USE_EXTRA_DELAY and ISP116X_HCD_USE_UDELAY.
Without those it didn't even detect the stick.

> Did you miss to add some board specific initalization?

I would think not because it at least detects the stick; it says:
"1 Storage Device(s) found"

Meanwhile I learned a little more: It seems to fail at request sense
command but I can't see exactly how because the problem evaporates when
I enable more debugging. After that command, usb_storage.c says:

DATA phase                                                             
        
usb_bulk_msg error status 32

--

Timo



       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

  reply	other threads:[~2007-09-18 11:14 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 [this message]
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
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=246814.6000.qm@web59214.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