Posted on March 22, 2013 at 10:58Sorry, usbd_cdc_DataIn() also calls DCD_EP_Tx(CDC_IN_EP), then static uint16_t USB_Tx_length = 0 should be seen in the whole file. Best regards, Tyrone
Posted on March 22, 2013 at 10:04Hi Mikael, I am working with USB VCP example recently. I am not sure whether following modification could fix the bug. /** * @brief Handle_USBAsynchXfer * Send data to USB * @param pdev: instance * ...
Posted on March 21, 2013 at 13:50Hi Konoppo, I met with the same problem. I close port or disconnect the usb line while the device is sending data. Then it died in USBD_OTG_EP1IN_ISR_Handler(); DCD_WriteEmptyTxFifo(pdev, 1); CLEAR_IN_EP_INTR(1, emp...