cancel
Showing results for 
Search instead for 
Did you mean: 

How to flash stm32 micro using system bootloader without access to boot pins and read protect set to level1?

HM
Associate

Hello Folks

I dont have access to boot pins to enter system memory to use st bootloader for flashing the stm32 micro. There is an option to jump from user code to bootloader code but I want to keep read protect level 1 in option bytes. So if I erase the read protect bit from level 1 to level 0, flash mass erase happens and also I will lose my code which will jump to system memory. Is there any option to update flash using st bootloader with read protection set to level1 and without access to hardware boot pins?

2 REPLIES 2
Piranha
Chief II

According to AN4758 section 1.1.4, the answer seems to be no.

Why can't you write your own loader, or find entry points into the ROM if necessary

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