-->
Page 1 of 2

Eeprom lifetime - writing one int

PostPosted: Wed Oct 05, 2016 4:00 pm
by mr_roboto9
Hi !
I Wonder how long esp memory will work. I woud save two bytes every 30 s
to 0 and 1 address in esp eeprom ( I know this two bytes will be safe to esp flash, but in arduino ide it's still called eeprom).

Re: Eeprom lifetime - writing one int

PostPosted: Wed Oct 05, 2016 6:51 pm
by mikronauts
Check the data sheet for your specific eeprom part.

Normally eeproms have 100k - 1M write cycles per location these days.

You could implement a simple wear levelling algorithm to extend the lifetime.

Now assuming the worst case 100k writes, if you write every 30 seconds, you could write your values for approximately 50,000 minutes, which is approx. 34.7 days

Re: Eeprom lifetime - writing one int

PostPosted: Wed Oct 05, 2016 8:13 pm
by rudy
mikronauts wrote:Check the data sheet for your specific eeprom part.

It seems that he said for the ESP8266 part and not for an external part.

Re: Eeprom lifetime - writing one int

PostPosted: Tue Oct 11, 2016 5:43 pm
by mikronauts
Oops, my bad.

The expressif data sheet should show eeprom life, and wear levelling can extend that.