I am using CCS Version: 6.1.0.00104 and a TM4C123XGL development board. I am using the example USB_BULK. It transfers great if you want to get the data you send back all day but not much use for that.
When data is received the read indexes continue to grow and the receive buffer keeps getting fuller. How do you recieve the first data and then clear the recieve and transmit buffers as though you have never received any data. I want to receive like 4 characters, process this data and send it back at a later time. I have used USBBufferFlush(&g_sRxBuffer) and USBBufferFlush(&g_sTxBuffer);. I read somewhere that they don't work in bulk, and they don't.
Any help would be appreciated.