Virtual Com Port Not Recognize STM32G0B1KCT6
I am using STM32G0B1KCT6
Clock Configurations as like that
And pin configurations are like that
I generated code and run to debug. When i connected the MCU to USB port at PC, There is a error message "USB not recognized".
I changed the usb_cdc.c at 516. line as
pdev->pClassData = USBD_malloc(sizeof (USBD_CDC_HandleTypeDef)); memset(pdev->pClassData,0,sizeof(USBD_CDC_HandleTypeDef)); // THIS LINE WAS ADDED
It doesnt work.
Then i tried the example, CDC_Standalone, I saw the COM Port at device manager but i couldn't open the port.
What can i do now?
