Hello,
We have a custom am335x board. When running the USB ports with DMA enabled using the SDK7 3.12 linux kernel I can see that zero length packets coming in on a bulk transfer are incorrectly passed through as 1 byte values with a value of 0x00. If I switch off the DMA (use PIO only) then the invalid bytes (or rather unexpected bytes) are not seen anymore.
I am pretty sure that this problem can be solved by filtering the packets based on the Zero-length packet indicator (bit 19 of the Packet descriptor Word 2). Does anybody perhaps know if there is already a patch available to fix this problem before I start to dig deeper into the code?
Thanks,
Richard.