Pages: [1]   Go Down
Author Topic: eeprom rewrite test  (Read 938 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Karma: 0
Posts: 34
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


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 ?

Mgth : ArduixPL

Offline Offline
God Member
Karma: 39
Posts: 988
Get Bitlash:
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.


Pages: [1]   Go Up
Jump to: