Skip to main content
mkirgozoglu
Associate
January 15, 2020
Question

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

  • January 15, 2020
  • 2 replies
  • 819 views

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?

This topic has been closed for replies.

2 replies

Ozone
Principal
January 15, 2020

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.

Tesla DeLorean
Guru
January 15, 2020

Usually to create your own secure update methods.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
mkirgozoglu
Associate
January 15, 2020

Do you have any suggestions? Or any examples?