ktysai
1
Hi guys!
I'm a little green with programing a EEPROM and an emulated stuff.
Situation: I have an Arduino zero SAMD21:
- write a non-volatile variable "container_full"=1
- read the container_full variable several times
- delete content of "container_full" variable (I think this can make it zero)
Can this approach wears severely the Flash memory? It will be two writes per day.
Shall I use external memory?
All the best!
pcbcrew
2
According to Arduino Zero — Arduino Online Shop doesn't have EEPROM, however it comes with 256KB of flash memory which will be used for storing permanent data. A workaround for this issue is to use a library that supports wearleveling like GitHub - PRosenb/EEPROMWearLevel: Arduino EEPROMWearLevel reduces EEPROM wear by writing a new value to an other EEPROM location..
1 Like
It will survive for half a million days...
Will you still be there?
ktysai
4
So, I guess I have to use first this library:
and on top of that the one you've suggested?
ktysai
5
Hello, how you've come up with that number?
From the library page if 10K writes have to taken under consideration I'll get a 13 years of daily writes.
Is that not sufficient?
And if not, reprogram every year...
Unless you will sell thousands of these concealed in a waterproof housing..
ktysai
7
Yes, it will be OK. I wanted to know if this really works or I have to make HW modifications.
And to be on the safe side what @pcbcrew has suggested might come in handy!
Thanks @build_1971 & @pcbcrew
system
Closed
8
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.