Good morning
I see the documentation for the file system attached to the MQX documentation, it seems the porting is possible only to
devices with address / data bus. Is there a possibility to port to serial SPI flash device this driver???
Thank You
Pietro
Solved! Go to Solution.
Hi Pietro:
Yes, you can port MFS (MQX file system) to SPI flash. But we don't suggest our customers do this. MFS is not intended to be used on internal flash memory storage, due to wear leveling reasons. MFS updates the FAT tables very often, and the FAT table is stored always at the same location, thus, the flash memory wars out quickly. Eevery update to the FAT table would require to read the flash sector, modify the data in RAM, program the data from RAM to the internal flash sector. The maximum number of Program/Erase cycles of an internal flash sector is limited.
Regards
Daniel
Hi Pietro:
Yes, you can port MFS (MQX file system) to SPI flash. But we don't suggest our customers do this. MFS is not intended to be used on internal flash memory storage, due to wear leveling reasons. MFS updates the FAT tables very often, and the FAT table is stored always at the same location, thus, the flash memory wars out quickly. Eevery update to the FAT table would require to read the flash sector, modify the data in RAM, program the data from RAM to the internal flash sector. The maximum number of Program/Erase cycles of an internal flash sector is limited.
Regards
Daniel
Hi Daniel
Thank You. Just as a final clarification. If I really want to do I need to dig in to the code by myself, or a guideline for SPI porting exists somewhere???
Thanks a lot
Pietro
HI Pietro:
unfortunately we do not have such a guideline.
Regards
Daniel