Inq720 wrote:I wanted to ask if you have your own hardware EEPROM on the PCB or are you talking about the EEPROM library on the ESP that is using flash memory?
The latter on. I use the usual "eeprom" from the Arduino library, i.e. hardware-wise a partition of the ESP8266 internal flash.
The behavior of your abusive tests sounds exactly like my issues, ... but
But I was able to cold restart (remove power completely) my devices and they again worked for another 1000x boot cycles. I did not manage to break any device completely. But I only worte extensively on ~ 300 bytes of the eeprom.
Inq720 wrote:I seem to recall reading somewhere (I couldn't find the reference) that the EEPROM library does not do any flash wear leveling... meaning every time you you do a commit, it is doing an erase and overwriting the same region at the beginning of the sector. Don't know if that is still the case.
Yes, still the case. If you are looking for wear leveling you have to use LittleFS or something similar. Which is exactly what I did now on my devices.
Inq720 wrote:Do you know (or can estimate) how many cycles you're talking about?
Not so easy to tell, but my estimation is around 100.000 - 350.000 writing cycles.