cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030CCT boot strap level 1memory protection clear and IAP

David Annett
Associate III

I have a product deployed in the field that uses the STM32F030CCT. Due to time constrains it was shipped without a boot loader but I was able to put in a bootstrap that allows me to load code to RAM and run it. I now need to do that but I have found that factory set level 1 memory protection in the option bytes. So far I have determined that I can still load code to RAM and run it.

I read that I can reset the option bytes back to level 0 which will force a full flash erase. That part is ok if I can then go on to write to the flash while still running in ram. However I see mention that you have to reboot for new option byte values to apply which would leave me with a bricked device. Is there any way to reprogram the flash while running in RAM if level 1 memory protection is active? I do not need to be able to read the existing flash contents.

0 REPLIES 0