Forum Discussion
Altera_Forum
Honored Contributor
13 years agoFlash is arranged as sectors. If you have not used the entire flash, then you can store user data in one or more other flash locations. If the user area needs to change, then you can erase just one sector.
There are many improvements on this basic idea, eg., if there is more space in a sector than your user data will use, you can create a linked list in flash of user parameters, with the last entry in the list being the entry to use. When new data is entered, the link list gets updated to void the last entry, and point to the new entry. When an entire sector is used (contains old entries), you can erase it and start again. Cheers, Dave