I am trying to implemented USB Mass Storage Functionality in our current project.
When I plug the USB into the PC port, I get the CBW for the Inquiry Command of the SCSI "protocol".
My question is: do I first send the "Inquiry" data back and then the CSW right after that or what? So basically I want to know the order of the data flow.
I have looked at the LUFA code but can't figure it out.
Currently, I send the "inquiry" data back and then the CSW, but after that the PC re-sends the Inquiry command, this happens 3 times and then stops, so obviously there is something that the PC doesn't like with my response.