|
Message
From: Karnik, Siddharth (IE10)<Siddharth.Karnik@h...>
Date: Wed Aug 22 07:48:40 CEST 2007
Subject: [usb] USB2.0 endpoint-in be stall
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@o... [mailto:usb-bounces@o...] On Behalf Of cminhluong@y... Sent: Tuesday, August 21, 2007 4:12 PM To: usb@o... 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
|
 |