This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Should i use internal flash to store fast changing data?

Hi everybody,
I have an application that i need to memorize data (user setting) each time they are changed. I'm using lpc2103. So i have 2 solution:
1. reserve a sector of internal flash for data storing. Each time user's setting changed (quite frequently), the data will be written to internal flash by IAP
2. use an external EEPROM.

I just wonder if internal Flash is made for this?, i means can it live long with too much erase/write operation.
thanks you

Parents
  • That would depend on type of device. Some devices don't just store configuration, but also user state. So everytime you play music, the program remembers where in the music list you ended, automatically continuing from same position in same song. And with same volume as previous time.

    For such state changes, you can quickly wear out the internal flash sectors of a processor. Even more so if a program stores snapsoht state regularly to have as backup in case the device took an unexpected reboot or the user disconnected power.

Reply
  • That would depend on type of device. Some devices don't just store configuration, but also user state. So everytime you play music, the program remembers where in the music list you ended, automatically continuing from same position in same song. And with same volume as previous time.

    For such state changes, you can quickly wear out the internal flash sectors of a processor. Even more so if a program stores snapsoht state regularly to have as backup in case the device took an unexpected reboot or the user disconnected power.

Children
No data