You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using EEPROM with a fixed address may cause excessive wear on the flash and increases the risk of premature failure.
To reduce the wear on the flash through repeated erase and write cycles, I'd recommend using Espressif's nvs library. It is ideal for storing small pieces of frequently changing information, using an efficient append only strategy that avoids the need to erase the flash sector before writing. This is what the stock firmware uses to store the frame count.
One caveat, I do not believe the Arduino framework for the 8266 includes nvs. It is available for RTOS builds and may be possible to port to Arduino with shim for RTOS partition methods.
The text was updated successfully, but these errors were encountered:
Using EEPROM with a fixed address may cause excessive wear on the flash and increases the risk of premature failure.
To reduce the wear on the flash through repeated erase and write cycles, I'd recommend using Espressif's nvs library. It is ideal for storing small pieces of frequently changing information, using an efficient append only strategy that avoids the need to erase the flash sector before writing. This is what the stock firmware uses to store the frame count.
One caveat, I do not believe the Arduino framework for the 8266 includes nvs. It is available for RTOS builds and may be possible to port to Arduino with shim for RTOS partition methods.
The text was updated successfully, but these errors were encountered: