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

Problem with wear leveling in RL-FlashFS

Hello all,

I am using Rl ARM Library for file system. It's running on a STM32F4 micro, on a Micron NAND flash chip with 16-bit interface. The file system is formatted with FAT16.

I have noticed that in a test where I access (read/write/flush) the same 1MB file repeatedly, the file system keeps erasing the same few flash pages repeatedly. I would expect that with good wear leveling, the file system should spread the write/erase cycles across the flash memory evenly.

This issue actually results in wearing out the chip in a few days of usage.

The system test case is quite involved so I don't yet have an isolated unit test.

Has anyone seen any similar issues?

Thanks