cancel
Showing results for 
Search instead for 
Did you mean: 

How to lock some of the Flash pages?

Arman Ilmak
Senior

Hi.

I need to lock some of the flash pages. Is this possible?If it is how can I do this?

2 REPLIES 2

Let's scope this a little bit by specifying which STM32 part or family of parts being talked about.

Lock them from writing? Or something else? Usually examples in HAL and SPL libraries, and surely covered in the Reference Manuals.

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

I use stm32f0 family.

Lock them from reading the code.I used CRP level 1 to protect my code but it locked the whole flash and because I use EEPROM emulation the code does not work.