Hello! I am trying to read from a bulk in USB endpoint without success. I have searched in previous posts but I didn´t find an answer yet, (here seems to be something interesting http://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/t/159175.aspx).
I have a EK-TM4C123GXL eval. board and I am using the usbbhmsc source example as a reference. This is what I have observed:
- If I use USBHCD_PIPE_BULK_IN_DMA my code hangs at FaultISR().
- If I use USBHCD_PIPE_BULK_IN instead, function USBHCDPipeRead() hangs.
- If I use USBHCD_PIPE_BULK_IN, function USBHCDPipeSchedule() works fine but I don´t know the number of bytes read.
Does anyone know why USBHCDPipeRead() hangs forever? (I know there is data coming) On the other hand, why would my code hangs at FaultISR() when allocating the pipe with USBHCD_PIPE_BULK_IN_DMA ?
As I said if I use USBHCDPipeSchedule() I get data, but I cannot get the number of bytes read, can I?
Thank you very much!
Santi