STM32 won’t enter bootloader

bootloadermicrocontrollerstm32

I am trying to enter the bootloader of an STM32F103 to flash it via USB. I am pulling BOOT0 high and have pulled B00T1 to low. Based on AN2606, this should get me into the bootloader.

However, I am not seeing the device popup on dmesg or lsusb. I have confirmed there is 3.3 V at the BOOT0 pin on the microcontroller with USB plugged in.

I suspect I have made a mistake on my schematic or maybe I've killed the chip… Hopefully it is straightforward.

Relevant parts of my schematic:

Enter image description here

What should I do?

Best Answer

The MCU most likely enters bootloader just fine.

It just won't show up as an USB device, as the STM32F103 built-in bootloader has no USB support. This can be verified from the AN2606 you mentioned.

It can't be programmed via USB, unless you flash it with a custom bootloader that does support USB.