cancel
Showing results for 
Search instead for 
Did you mean: 

Communication error via virtual com port when reconnecting

Alex Golubev
Associate II

When the USB CDC vertical com port is disconnected at the time of data transfer, an error cannot be generated (Code 29). Full name of the error "The device is disabled because the control firmware of the device has not received the requested resources from the system. (Code 29)".

At the time of reconnection, the variable (((USBD_CDC_HandleTypeDef *) hUsbDeviceFS.pClassData) -> TxState is not equal to zero. hUsbDeviceFS parameter.dev_state = USBD_STATE_CONFIGURED

I use the stm32h743 microcontroller, the stm32cubeide programming environment, _HAL.

0 REPLIES 0