Hi, On Wed, Oct 30, 2013 at 12:09:32PM -0400, Alan Stern wrote: > On Wed, 30 Oct 2013, Pratyush Anand wrote: > > > I read a bit usbmassbulk specification. > > What I understood that, host sends a CBW (21 byte bulk out command), > > which should start with dCBWSignature 43425355. > > > > I see that in both pass and fail case host sends a 31 byte bulk out > > with signature as DEADBEEF. It is well accepted by Verbatim USb3.0 > > disk, which returns a CSW with correct signature 53425355 and tag and > > status is passed. f_mass_storage checks for the signature and finds it > > wrong so, it wedges the bulk in EP. I think, this is not an issue and > > f_mass_storage is doing right here. > > > > However going further I see that, f_mass_storage is not able to clear > > halt condition of bulk in ep after MASS STORAGE RESET and CLEAR > > FEATURE (ENDPOINT HALT). In fact this what USB CV log suggests too. > > That's right. f_mass_storage tries to clear the halt, but dwc3 doesn't > actually do it. if it called set_wedge() it shouldn't be able to clear it, right ? -- balbi
Attachment:
signature.asc
Description: Digital signature