Question
In USB CDC mode " hcdc->TxState = 0" not set to 1 after a few bunches of data transmitted on USB.
In my project i am print my log using printf function and in syscalls.c file i am print my printf log using CDC_Transmit_FS function.
__attribute__((weak)) int _write(int file, char *ptr, int len) {
CDC_Transmit_FS((uint8_t*) ptr, len);
return len;
}
after a sending some bunches of data CDC_Transmit_FS function return me USBD_BUSY error and not print data on my serial terminal.
Thanks and Regards
swapnil
