cancel
Showing results for 
Search instead for 
Did you mean: 

How can I download the code using USART bootloader without removing Readout Protection?

mkirgozoglu
Associate

I am using STM32F030CC in my application and set the Readout Protection to level 1. While I download the code with Flash Loader Demonstrator using USART bootloader, Flash loader warns that flash will be mass erased and all data will be lost when you click Remove protection.

Is there any way not to erase all flash while updating the read out protected code?

3 REPLIES 3
Ozone
Lead II

I think this is intended as a ROP feature, not a "bug".

Doing as you intended would allow an attacker to effectively circumvent the ROP feature, by transmitting the "protected" firmware through another channel from within the flashed contents.

Usually to create your own secure update methods.

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

Do you have any suggestions? Or any examples?