Go Down

Topic: Save data in nonvolatile memory (Read 1 time) previous topic - next topic

MostafaHamdy

I make project counting object , I use eeprom to store data when reset board start counting from where i have left from the previous count
but i'm worry because i use it to store data 300 time in day ,I don't know if the repeating of store data in eeprom will make problem in long time because i read There is a limited number of write cycles available for eeprom and i want to know if it safe or not &
if i use SD card ,Is it better than eeprom or not ? & if SD card better ,How i save data with address ?

Thanks :D


pylon

Flash memory usually allow about 10'000 write operations. The EEPROM allows about 100'000 write cycles till it gets unreliable. An SD card has the same restrictions but there you have an intelligent controller on the card reordering the write operations in a way that the blocks written to change in every write operation. This way you can use an SD card more like a hard drive but the limitations still apply.

If your project includes an RTC use the nonvolatile RAM they offer because that memory area can be written as many times as you like.

MostafaHamdy


Flash memory usually allow about 10'000 write operations. The EEPROM allows about 100'000 write cycles till it gets unreliable. An SD card has the same restrictions but there you have an intelligent controller on the card reordering the write operations in a way that the blocks written to change in every write operation. This way you can use an SD card more like a hard drive but the limitations still apply.

If your project includes an RTC use the nonvolatile RAM they offer because that memory area can be written as many times as you like.

yes i have RTC in my project to show date and time for each object but i can't  understand you in this point (
Quote
RTC use the nonvolatile RAM they offer because that memory area can be written as many times as you like

How use the nonvolatile RAM ?
i know RAM is volatile memory !

tuxduino

From:

http://www.sparkfun.com/datasheets/Components/DS1307.pdf

Quote

56-byte, battery-backed, nonvolatile (NV)
RAM for data storage

MostafaHamdy

I use RTC (http://tronixstuff.wordpress.com/2010/05/28/lets-make-an-arduino-real-time-clock-shield/) in my project with RTC library to save date and Time i don,t know the code to save count values into it , can help me with simple code ?

Go Up