|
Message
From: midas@j...
Date: Mon, 6 Oct 2003 08:39:35 +0200
Subject: [usb] how to receive successive data after clear_feature()?
hi,
I'm developing a USB Mass Storage device, Bulk-Only protocol.
I use READ(10) command to get data. When bulk-in execute, the
host get "STALL". I use clear_feature to clear "STALL". After clear
_feature, next bulk-in command get a message "NAK", why?
My clear_feature command :
Packet 1> SETUP from host to ADDR=0x08, EP = 0
Packet 2> DATA0 (0x02 , 0x01 , 00 , 00 , 0x82, 00 , 00 , 00) from host
Packet 3> ACK from device to Host
Packet 4> IN from host to ADDR=0x08, EP = 0
Packet 5> ACK from device to Host
ps:My bulk-in command use EP=2 ADDR=0x08.
Is my method wrong? Or should I use other commands?
Thanks a lot.
|
 |