cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F030 Read protect

Posted on November 25, 2016 at 10:13

Hi Support,

I posted previously on this, started a new thread as reply wouldn't work!

I am unable to get the read protect to work properly all the time, sometimes i can get it to work and sometimes it doesn't. I am following the manual and code examples but still having no success.

I unlock the flash, i unlock the option flash using the same key. I set the appropiate enable bits, then i write 'OB->RDP = 0x6699', then i reset the appropiate bits and lock the flash.

All i want to do is set the read protect once on cold start in the code rather than using read protect function in the ST bootloader application.

Do you have some example code for me to use.

Thanks in Advance

2 REPLIES 2
Posted on November 25, 2016 at 14:00

> Do you have some example code for me to use.

[stm32snippetsf0]\STM32F0xx_Snippets_Package_V1.2.0\\Projects\OPTION_BYTES\01_OptionBytesEraseProg\ ?

JW

Posted on November 25, 2016 at 15:10

Thanks