[#3807] USB (BF54x) Fails to read parition table on USB/SD Card reader

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#3807] USB (BF54x) Fails to read parition table on USB/SD Card reader

Submitted By: Robin Getz

Open Date

2008-01-01 13:50:12     Close Date

2008-06-12 05:56:10

Priority:

Medium     Assignee:

Bryan Wu

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

SVN head

Category:

N/A     Board:

N/A

Processor:

N/A     Silicon Revision:

0.1

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

svn trunk     Toolchain version or rev.:

svn trunk

App binary format:

N/A     

Summary: USB (BF54x) Fails to read parition table on USB/SD Card reader

Details:

 

I think this might be the same problem as #3806

 

I have a USB SD Card reader, which appears on my host as:

 

T:  Bus=02 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#=  5 Spd=480 MxCh= 0

D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1

P:  Vendor=05e3 ProdID=0715 Rev=94.07

S:  Manufacturer=Genesys

S:  Product=USB Reader

S:  SerialNumber=000000009407

C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA

I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage

E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

 

 

Blackfin can not read the partition table

 

usb 1-1: new high speed USB device using musb_hdrc and address 2

usb 1-1: configuration #1 chosen from 1 choice

scsi1 : SCSI emulation for USB Mass Storage devices

scsi 1:0:0:0: Direct-Access     Generic  STORAGE DEVICE   9407 PQ: 0 ANSI: 0

sd 1:0:0:0: [sdb] 3970048 512-byte hardware sectors (2033 MB)

usb 1-1: reset high speed USB device using musb_hdrc and address 2

 

-Robin                                     

 

Follow-ups

 

--- Bryan Wu                                                 2008-01-03 05:41:08

Hi Robin,

 

Could you please use LeCroy to capture some data when using this USB SD card

reader?

 

Thanks

-Bryan

 

--- Bryan Wu                                                 2008-05-16 10:01:14

Fixed in branch.

 

Thanks for Sonic, he found:

when we got STALL, we should clear the toggle.

 

I will check with upstream about this issue.

 

Although trunk still have some problem.

 

-Bryan

 

--- Bryan Wu                                                 2008-05-17 03:28:15

Also fixed in trunk now and I will send out the patch to upstream.

 

-Bryan

 

--- Bryan Wu                                                 2008-06-12 05:56:09

Fixed, so close it.

 

-Bryan

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

messages    application/octet-stream    172348    Robin Getz

Attachments

    Outcomes