Even wear on flash and storing Data in chucks of 4000
Posted: Sat Jul 09, 2022 4:16 am
Hey everyone,
After reviewing nvs_set_str, it appears that I can store a string up to 4000bytes by appending using a sample like here: http://www.macpczone.co.uk/content/esp3 ... wer-cycles
The my buffer will go over type and I'd like to store it away and 4000b is a lot but from my understanding the wear by using nvs_set_str is automatically handled by the SDK for the longest life correct?
Also, I assume I can store multiple chucks of these 4000b pages just by adjusting the key value.
Thank you for any feed back!
After reviewing nvs_set_str, it appears that I can store a string up to 4000bytes by appending using a sample like here: http://www.macpczone.co.uk/content/esp3 ... wer-cycles
The my buffer will go over type and I'd like to store it away and 4000b is a lot but from my understanding the wear by using nvs_set_str is automatically handled by the SDK for the longest life correct?
Also, I assume I can store multiple chucks of these 4000b pages just by adjusting the key value.
Thank you for any feed back!