r2axz / bluepill-serial-monster

USB to 3 Port Serial (UART) adapter firmware for STM32 Blue Pill.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CDC ZLP May Be Sent When BULK IN Endpoint Is Not Ready

r2axz opened this issue · comments

Code does not check is CDC BULK IN endpoint is ready to transmit before sending ZLP packets. This leads to RX data corruption. Surprisingly, nobody reported this behavior, but this issue is very visible when doing stress tests.