Skip to main content
Arman Ilmak
Senior
November 10, 2018
Question

How to lock some of the Flash pages?

  • November 10, 2018
  • 2 replies
  • 694 views

Hi.

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

    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    November 10, 2018

    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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Arman Ilmak
    Senior
    November 10, 2018

    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.