cancel
Showing results for 
Search instead for 
Did you mean: 

STM32L432KC - Flash Erase Specific Pages

Nolan L
Associate III
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
1 ACCEPTED SOLUTION

Accepted Solutions
Nesrine M_O
Lead II
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

View solution in original post

2 REPLIES 2
Nesrine M_O
Lead II
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

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