EEPROM protection in MK20dx256

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

EEPROM protection in MK20dx256

625 Views
mgreenhalgh
Contributor II

I need to know how to protect the partitioning and contents of the EEPROM when I do a firmware update on a MK20dx256.

0 Kudos
1 Reply

419 Views
Kan_Li
NXP TechSupport
NXP TechSupport

Hi Mark,

I think you may change the bits in FTFL_FEPROT from 1s to 0s to protect EEPROM regions from programming or erasing. Please note only writes changing 1s to 0s are accepted. so after firmware updated, you should perform a reset to the whole system to restore the FTFL_FEPROT with 0xFF.


Have a great day,
Kan

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos