This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello, my project needs to be able to store a piece of data (16 or 32 bits) to memory, maybe once every 10 minutes, and be able to recover it after power off. One idea is to erase a sector of flash and write to consecutive words of flash until the sector is full then erase the sector and start again from the beginning. I have concerns about the limited number of flash erase / write cycles that can be performed before the flash is unusable. I also have concerns about what would happen if the device is powered off while in the middle of an erase / write cycle.
Are there any tricks to minimize these problems? Should this solution be avoided? Is there a better solution?
Thanks