Creating Protected Flash region in LPC5536

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating Protected Flash region in LPC5536

285 Views
Sathiskumar
Contributor I


Hi,
Im using LPC5536 microcontroller.
I want to store the calibrated data in flash memory.
i had split the 1kb partition in flash memory and stored.
But while firmware update it was erased from flash. i didn't want to erase the calibrated data while firmware update.
So, how can i achieve the protected flash region in the lpc5536 and what are all the steps need to do.
please guide me ..

Labels (1)
0 Kudos
1 Reply

172 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @Sathiskumar 

How about check and test the registers in LPC5536 UM:

Alice_Yang_0-1710493338124.png

CDPA_ENABLE is a part of the CDPA feature which allows the user to define an area between 0x0 and 0x3dc00 in the internal flash memory to protect it from erase and write access.

Sorry there isn't a demo for this. You can contact us if have any issue when using it.

 

BR

Alice

0 Kudos