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

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 ?
Logged

Mgth : ArduixPL http://www.mgth.fr

0
Offline Offline
God Member
*****
Karma: 39
Posts: 986
Get Bitlash: http://bitlash.net
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.

-br
http://bitlash.net
Logged

Pages: [1]   Go Up
Jump to: