AnsweredAssumed Answered

EEPROM repeated writes

Question asked by Iain Rist on Nov 16, 2015
Latest reply on Nov 18, 2015 by jeremyzhou

When the FlexNVM is partitioned as EEPROM and the FlexRAM is set as EEPROM, do repeated writes of the same value to the same EEPROM address result in duplicate EEPROM record creation, or does the internal controller recognise nothing has changed and no flash operation is required?

 

Consider the following

1. I write 0x01234567 to 0x14000000. I wait for the EEERDY bit before I proceed.

2. I then write 0x89ABCDEF to 0x14000000. This will result in a new flash record operation. I wait for the EEERDY bit before I proceed.

3. I then write 0x89ABCDEF to 0x14000000. Does this result in a new flash record operation? I wait for the EEERDY bit before proceeding, but will this be a much shorter wait than in step 2?

 

My primary care is when coding a generic EEPROM write function, should I only write if the source and EEPROM data are different, or can I rely on the EEPROM controller to do the job for me?

Outcomes