I need to know how to protect the partitioning and contents of the EEPROM when I do a firmware update on a MK20dx256.
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!
-----------------------------------------------------------------------------------------------------------------------