Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Am I killing my flash? When will flash wear start happening? #2410
I'm using the Adafruit Huzzah which has the ESP-12E module on it. I have a power management circuit that powers the ESP8266 at a given interval. On a daily average, EEPROM is being read from 24 times and written to 12 times. I also read 2 files on every wakeup using SPIFFS 12 times a day for each file. Am I killing the flash? I have 10 Huzzahs doing this and one just crapped out on me. I'm hoping it's just this one but I'm a concerned.
Settings in IDE
Module: Adafruit Feather Huzzah
Winbond, the manufacturer of the flash chip for the ESP-12 series quotes a write endurance of "More than 100,000 erase/program cycles", so, I doubt you were anywhere close to the wear limits of the flash. If you're really that concerned, try and push everything onto SPIFFS instead of the pseudo-EEPROM implementation, as SPIFFS is wear leveled.