Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

stm32 USB-CDC after hardware reset

i have programmed my stm32f103 blue-pill board with USB-CDC protocol

I can read and write on this Port

But after performing a hardware reset, the COM port is unavailable I have to unplug the USB connection and re-plug it again then the COM port appears.

Is it possible to avoid this?

-Thanks

like image 318
nema1 Avatar asked Sep 04 '25 17:09

nema1


1 Answers

If you reset the bluepill you need to pull down the D+ line for several milliseconds to let know the host that it has to start the enumeration process.

like image 59
0___________ Avatar answered Sep 07 '25 19:09

0___________