- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
We are using S29AL008J70TFI010 in one of our projects and I am wondering what would be a logic to keep the life of the device as long as possible. The device is used just as external storage.
I don't want to erase the whole sector if I need to update just one value, so I will have to store the updated value for that variable in the next available memory location and keep doing that until I reach the end of the sector. Then copy all data from all valid addresses to the next sector and erase the previous sector. It seems too complicated for software to keep track of addresses for all variables stored in flash, and to keep updating those addresses every time when a new value is written.
The software keeps those addresses in RAM, so what to do on the next powerup. They will all be lost. The code will not know the addresses of the data it needs to retrieve from flash on powerup. Is there a simple way of doing that, or some example of higher-level software?
Thank you
Solved! Go to Solution.
- Labels:
-
Memory Nor Flash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Though we do not have any specific software package to implement only wear leveling, but we do have our Flash File System source code that has wear leveling as one of its functionalities.
If you are interested in using our FFS, you can request access for it on the following link - https://www.cypress.com/software-and-drivers-cypress-flash-memory
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Though we do not have any specific software package to implement only wear leveling, but we do have our Flash File System source code that has wear leveling as one of its functionalities.
If you are interested in using our FFS, you can request access for it on the following link - https://www.cypress.com/software-and-drivers-cypress-flash-memory
Regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I requested the FFS. WIll go over it and see what I can use.
Best Regards