Closed kevinuskali closed 10 years ago
Many thanks for that contribution. I have not thought about this being an issue, and it seems that I have not seen it on my side. Anyway, good fix, thank you!
Thanks, this could solve the issue I'm experiencing regarding incoming CDC messages not being acknowledged by the MCU (missing USB ACK byte). I'll let you guys know.
Carlos
It works!
Thanks a lot!
It looks like the original code was written for a sequential TX => RX => TX... chain. On the other hand, if the MCU (CDC_DEVICE) and host communicate with asynchronous TX/RX streams, the RX endpoint FSM on the MCU can become corrupted. This corruption stalls the incoming RX stream. The changes resolve this issue.