I would like to revisit an old issue discussed in thread 301, i.e. FLASH memory endurance.
How is the Python internal file system allocating memory? Hopefully, it would have some rotating principle to spread FLASH memory cell wear all over available FLASH memory, instead of always opening a file at the beginning of the FLASH address range.
If not, is there any good "trick" in Python to achieve such an even stress over the entire FLASH memory space?
Thanks, Tom
Hi Tom,
we have a file system and thus the files are not written in a fixed position. so also if you write the same file more times, a subsequent write is done in a near sector. In this way the writes are distributed over the entire flash andin this wayincreases itsduration.
Anyway we discourage to use the module as a datalogger
We use cookies to enhance your browsing experience and help us improve our websites. To improve our website, we carefully select third parties that use cookies to allow us to serve specific content and achieve the purposes set out in our cookie policy. For more information on how to make adjustments through your browser to the cookies being used on your device, please click Find Out More link. By closing this banner or continuing to browse our website, you agree to our use of such cookies. FIND OUT MORE
I would like to revisit an old issue discussed in thread 301, i.e. FLASH memory endurance.
How is the Python internal file system allocating memory? Hopefully, it would have some rotating principle to spread FLASH memory cell wear all over available FLASH memory, instead of always opening a file at the beginning of the FLASH address range.
If not, is there any good "trick" in Python to achieve such an even stress over the entire FLASH memory space?
Thanks, Tom
Hi Tom,
we have a file system and thus the files are not written in a fixed position. so also if you write the same file more times, a subsequent write is done in a near sector. In this way the writes are distributed over the entire flash and in this way increases its duration.
Anyway we discourage to use the module as a datalogger