2023-03-28 01:33 AM
2023-03-28 02:53 AM
IDLE means a gap between individual characters, so there was gap after 512 bytes arrived from the host. This may be caused by the STLink firmware, the software on the host, or the USB drivers stack on the host.
You should not anticipate any particular number of characters until IDLE, the IDLE (gap in transmission) may occur anywhere.
JW