eeprom rewrite test

Hello,

I write an application that will write to eeprom.
The value written may often be already their.

My question : Is it a good idea to check value before writing, or may I assume that :

  • the avr is clever enough not write the same value again ?
  • writing, while not changing a byte does not alter the eeprom ?

Does anyone know that ?

It's best to check the value before writing to save a write cycle if possible. The AVR does not check. And there is a limit to the number of write cycles, on the order of 500,000.

-br