FFS for serial flash?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FFS for serial flash?

ソリューションへジャンプ
1,389件の閲覧回数
pietrodicastri
Senior Contributor II

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

タグ(2)
1 解決策
1,162件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

3 返答(返信)
1,163件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

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

1,162件の閲覧回数
pietrodicastri
Senior Contributor II

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

0 件の賞賛
返信
1,162件の閲覧回数
danielchen
NXP TechSupport
NXP TechSupport

HI Pietro:

unfortunately we do not have such a guideline.

Regards

Daniel

0 件の賞賛
返信