Good Morning!
I am trying to use the Starterware USB stack in a AM335x application. The stack enumerates properly and can exchange Endpoint 0 data with the Windows driver. I am having a problem getting a large block, about 4k, of data into my application via a bulk pipe. I see the USB_EVENT_RX_AVAILABLE event in my RxHandler callback. I use this to send an event to my USB task. The task handles the event in it's own context by :
USBBufferDataAvailable() to check the data count,
USBBufferRead() to get the data.
This works for the first packet received, but I then do not get any more USB_EVENT_RX_AVAILABLE events and the transaction hangs.
From what I read in the documentation, once I read the data buffer, the SOF timer will ack the data so I can get the next packet.
I think I am missing something basic in my understanding of how the stack works. Any idea what?
Gerry Belanger