Skip to main content
Nolan L
Associate II
February 14, 2017
Solved

STM32L432KC - Flash Erase Specific Pages

  • February 14, 2017
  • 2 replies
  • 849 views
Posted on February 14, 2017 at 06:00

Hi All,

I am asking a follow up question to my

https://community.st.com/0D50X00009XkYInSAN

. Now that I am able to write in a certain flash location, I would like for it to not be overwritten every time I program the board. Is it possible and if so, can anyone point me in the right direction for the necessary changes?

I am currently on a STM32L432KC working within Atollic TrueSTUDIO 7.0.1.

Thanks!

null
    This topic has been closed for replies.
    Best answer by Nesrine M_O
    Posted on February 15, 2017 at 09:59

    Hi

    Lau.Nolan

    ,

    Now that I am able to write in a certain flash location, I would like for it to not be overwritten every time Iprogram the board.

    you can protect your memory area using Proprietary Code Read-Out Protection (PCROP): protection against read and write operations on Flash and SRAM memories.

    For more details about PCROB, I rocommend you to have a look to

    http://www.st.com/content/ccc/resource/technical/document/application_note/group0/1f/99/ef/d6/24/8d/44/08/DM00226247/files/DM00226pdf/jcr:content/translations/en.DM00226pdf

    Application note.

    -Nesrine-

    You are an STM32 user and want to express your trust for our products and win a 3D printer? Get your chance participating in

    https://community.st.com/community/stm32-community/embedded-world-contest

    2 replies

    Nesrine M_O
    Nesrine M_OBest answer
    Associate
    February 15, 2017
    Posted on February 15, 2017 at 09:59

    Hi

    Lau.Nolan

    ,

    Now that I am able to write in a certain flash location, I would like for it to not be overwritten every time Iprogram the board.

    you can protect your memory area using Proprietary Code Read-Out Protection (PCROP): protection against read and write operations on Flash and SRAM memories.

    For more details about PCROB, I rocommend you to have a look to

    http://www.st.com/content/ccc/resource/technical/document/application_note/group0/1f/99/ef/d6/24/8d/44/08/DM00226247/files/DM00226pdf/jcr:content/translations/en.DM00226pdf

    Application note.

    -Nesrine-

    You are an STM32 user and want to express your trust for our products and win a 3D printer? Get your chance participating in

    https://community.st.com/community/stm32-community/embedded-world-contest

    Nolan L
    Nolan LAuthor
    Associate II
    February 17, 2017
    Posted on February 17, 2017 at 04:49

    Hi Nesrine,

    Thank you for your quick response. I think this will work! I will test it out in the next few days.

    Nolan