1/1
USB2.0 endpoint-in be stall
by Unknown on Aug 21, 2007 |
Not available! | ||
I setup the usb 2.0 host and want to read data on usb mass storage
device (read sector). And the flow to setup in below: 1/ Get device descriptor - device return ok 2/ Get device configuration - ok 3/ Set device address - ok 4/ Set device configuration - ok 5/ Reset bulk mass - ok 6/ Set deivce configuration - ok 7/ Call the read 10 command to read sector - fail Return status : endpoint-in STALL, endpoint-out (data sent ok) Do you know whay the endpoint-in stall in this case? Thank you very much James |
USB2.0 endpoint-in be stall
by Unknown on Aug 22, 2007 |
Not available! | ||
HI,
Is your device following BOT protocol? If yes then the "stall" condition
is not unexpected you will have t clear the same and try again. Refer
BOT spec for the flow chart. Also before issuing the read10 you need to
issue some other command like test unit ready etc. Please refer to the
trace of any existing USB stack for details and sequence of commands
before read10.
Regards
Siddharth
-----Original Message-----
From: usb-bounces at opencores.org [mailto:usb-bounces at opencores.org] On
Behalf Of cminhluong at yahoo.com
Sent: Tuesday, August 21, 2007 4:12 PM
To: usb at opencores.org
Subject: [usb] USB2.0 endpoint-in be stall
I setup the usb 2.0 host and want to read data on usb mass storage
device (read sector). And the flow to setup in below:
1/ Get device descriptor - device return ok
2/ Get device configuration - ok
3/ Set device address - ok
4/ Set device configuration - ok
5/ Reset bulk mass - ok
6/ Set deivce configuration - ok
7/ Call the read 10 command to read sector - fail
Return status : endpoint-in STALL, endpoint-out (data sent ok)
Do you know whay the endpoint-in stall in this case?
Thank you very much
James
_______________________________________________
http://www.opencores.org/mailman/listinfo/usb
|
1/1