I am having trouble setting up a mass storage device class for my RM48 HDK. I have been using TivaC (StellarisWare) USBLIB as a reference guide to understand enumeration and what should go into developing for mass storage, but I have come to a standstill.
It looks like the device enumerates correctly (host recieves all setup descriptors correctly, and it sets address as well as interface and configuration). Right after enumeration, the host starts sending SCSI commands via EP1 (I have it as Endpoint 1, main point is that it's now off EP0). However, after it receives my two responses via EP2, it looks like the host does a data toggle (Sends DATA1 packet instead of DATA0 packet), sends the exact same command, but my device is NAK-ing it repeatedly and won't stop until the device is reset.
After reset it will run up to that point once again. Why am I NAK-ing these DATA1 packet transactions??
-Nate