Using the SPIFFS for long time sensor data logging
Posted: Sat May 01, 2021 6:04 pm
Hi,
i want to log approx. 100 sensor measurings per day.
At the moment i use a SD Card reader for logging but i wonder if it would work using the SPIFFS for this job?
I read that with the ESP8266 only 10000 writing cycles are possible which would mean that i would reach this limit after 100 days.
In another forum i read about 100000 possible cycles which would be much better but still worse.
Is this limit the same on the ESP32?
What does this limit mean? if i reach the 10000 or 100000 cycles --> what exactly happens?
Will the ESP stop logging? Is the flash memory then unusable for all time or can it be "repaired" by flashing again?
Thanx for your reply
Daniel
i want to log approx. 100 sensor measurings per day.
At the moment i use a SD Card reader for logging but i wonder if it would work using the SPIFFS for this job?
I read that with the ESP8266 only 10000 writing cycles are possible which would mean that i would reach this limit after 100 days.
In another forum i read about 100000 possible cycles which would be much better but still worse.
Is this limit the same on the ESP32?
What does this limit mean? if i reach the 10000 or 100000 cycles --> what exactly happens?
Will the ESP stop logging? Is the flash memory then unusable for all time or can it be "repaired" by flashing again?
Thanx for your reply
Daniel