Author Topic: Mass Storage Data Transport IN endpoint  (Read 13130 times)

paulbert

  • Member
  • ***
  • Posts: 4
Mass Storage Data Transport IN endpoint
« on: October 31, 2012, 12:15:21 pm »
Hi,
I'm new to USB and I'm trying to understand the path (i.e. basically the flow) whereby data is returned from a Mass Storage device (thumb drive) to the USB Host (stack) in response to a say an Inquiry command sent by the Host.  I can see using my Beagle USB analyzer and verifying in the USB code (BOT.c, BulkTran.cpp, USBMSC.c, scsi2.c, all the way down to IssueBulkTransfer in usbddrv ) the Inquiry going out to the device using the Command Transport OUT endpoint of the Bulk-only transport protocol and then see the device returning data in the data transport phase using the IN endpoint. Looking at the code for the response I just seem to be missing something ???? So my question is in Windows CE what modules are involved in returning the inquiry response so that the USB stack can interpret the contents of the data?

Thanks



Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Mass Storage Data Transport IN endpoint
« Reply #1 on: October 31, 2012, 08:01:41 pm »
I don't know the module name offhand but typically the mass storage driver handles SCSI commands.