cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 bootloader problem

Ahmed Tolba
Associate II
Posted on October 31, 2016 at 17:15

It seems I messed up with bootloader of the STMF32F3, I have the software that flashes it, but it doesn't recognize it, it says the bootloader is not found.

I tried to google, but I don't know where to flash the bootloader again.

3 REPLIES 3
Posted on October 31, 2016 at 17:33

It is in ROM, so a) you're not going to erase it or, b) replace it.

Make sure you have BOOT0 pulled high, and watch what you are doing with BOOT1

Reflect on what you did to break things in the first place, and explain THAT

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Ahmed Tolba
Associate II
Posted on October 31, 2016 at 17:37

thanks for your reply. flash program hangs when I was removing the protection. That's why it messed with the boot loader. Should I block both BOOT0 and BOOT1, or just block BOOT0, because what I'm doing is blocking BOOT0. The funny thing is the software is running, but I can't flash it again.

Posted on October 31, 2016 at 19:35

You'd need to Mass Erase the part, I suspect you could do it with the ST-LINK Utilities, I tend to prefer the UART connection.

BOOT0 High should be sufficient to enter the System Loader

If you selected Read Out Protection LEVEL 2, you'll need to replace the chip.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..