public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] isp116x-hcd and usb_storage
@ 2007-09-18  7:59 tike64
  2007-09-18 10:39 ` Markus Klotzbücher
  0 siblings, 1 reply; 13+ messages in thread
From: tike64 @ 2007-09-18  7:59 UTC (permalink / raw)
  To: u-boot

Dear List,

I'm trying to set usb host up on our board (LH7A400 + ISP1160). It
already works to some extend; it detects my Kingston 1GB stick. But
then it (usb reset) fails with "Request Sense returned 00 00 00". Funny
thing is that it starts to work if I enable debugging messages in
usb_storage.c and isp116x-hcd.c. If I enable them in usb_storage.c
only, it doesn't work. Here is the debug message log with debugging
enabled in usb_storage.c only till the first difference I can see:

================================

USB Mass Storage device detected                                       
        
Transport: Bulk/Bulk/Bulk                                              
       
Endpoints In 1 Out 2 Int 0                                             
        
BBB_reset                                                              
       
BBB_reset result 0: status 0 reset                                     
       
BBB_reset result 0: status 0 clearing IN endpoint                      
       
BBB_reset result 0: status 0 clearing OUT endpoint                     
       
BBB_reset done                                                         
       
 address 2                                                             
       
COMMAND phase                                                          
       
dir 1 lun 0 cmdlen 12 cmd c1ff9514 datalen 36 pdata c1ff9314           
       
cmd[0] 0x12 cmd[1] 0x0 cmd[2] 0x0 cmd[3] 0x0
cmd[4] 0x24 cmd[5] 0x0 cmd[6] 0x0 cmd[7] 0x0
cmd[8] 0x0 cmd[9] 0x0 cmd[10] 0x0 cmd[11] 0x0
DATA phase                                                             
       
pdata[0] 0x0 pdata[1] 0x80 pdata[2] 0x0 pdata[3] 0x1
pdata[4] 0x1f pdata[5] 0x0 pdata[6] 0x0 pdata[7] 0x0
pdata[8] 0x4b pdata[9] 0x69 pdata[10] 0x6e pdata[11] 0x67
pdata[12] 0x73 pdata[13] 0x74 pdata[14] 0x6f pdata[15] 0x6e
pdata[16] 0x44 pdata[17] 0x61 pdata[18] 0x74 pdata[19] 0x61
pdata[20] 0x54 pdata[21] 0x72 pdata[22] 0x61 pdata[23] 0x76
pdata[24] 0x65 pdata[25] 0x6c pdata[26] 0x65 pdata[27] 0x72
pdata[28] 0x20 pdata[29] 0x49 pdata[30] 0x49 pdata[31] 0x20
pdata[32] 0x31 pdata[33] 0x2e pdata[34] 0x31 pdata[35] 0x33            
                       
STATUS phase                                                           
       
ptr[0] 0x55 ptr[1] 0x53 ptr[2] 0x42 ptr[3] 0x53
ptr[4] 0x17 ptr[5] 0x0 ptr[6] 0x0 ptr[7] 0x0
ptr[8] 0x0 ptr[9] 0x0 ptr[10] 0x0 ptr[11] 0x0
ptr[12] 0x0
inquiry returns 0                                                      
       

================================

ptr[4] is different when I have debugging enabled in both files:

================================

-
-
isp116x-hcd.c: data(13): 55 53 42 53 00 00 00 00 00 00 00 00 00
ptr[0] 0x55 ptr[1] 0x53 ptr[2] 0x42 ptr[3] 0x53
ptr[4] 0x0 ptr[5] 0x0 ptr[6] 0x0 ptr[7] 0x0
ptr[8] 0x0 ptr[9] 0x0 ptr[10] 0x0 ptr[11] 0x0
ptr[12] 0x0
inquiry returns 0

================================

Could someone please help in debugging this?

--

Timo



       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2007-09-24 12:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox