cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F103 bootloader recover

Nick Belazor
Associate II
Posted on May 07, 2018 at 23:46

Hello!

MCU: STM32F103RE

when i reset Read Out Protection from my bootloader (from bootloder sub-programm from RAM) i have a erased internal flash. Set ROP to 1 -> 0. All ok! But.. how i can back data write to first 4k?? first 2 pages is locked for RO!

But flash already is cleared! Data lost and all good. and why i still can not write to first blocks?

how i can reset RW protect from first 2 pages WITHOUT full reset (then RAM is corrupted and MCU is not bootable)?

It's need for restore my bootloader from RAM before BIG RESET or power off

Please, help!

#stm32f103 #wrp #rop #4k
2 REPLIES 2
Nick Belazor
Associate II
Posted on May 09, 2018 at 00:37

any someone tell me please?

can i unlock first 2st pages without of system reset?

after reboot MCU state is do not workable.. do not bootable and after reset all procedures is imposible

ohhh.... no.. 

Amel NASRI
ST Employee
Posted on May 16, 2018 at 14:54

Hi

info.275

‌,

I think that you got the answer in your new thread about the same topic (

https://community.st.com/0D50X00009XkWMsSAN

).

Thanks

iwanicki.artur

‌ for the explanation you provided as well as proposals.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.