This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Suitable FileSystem for external SLC NAND Flash memory

Dear all,

I am working on an nRF52840 project that communicates with an external NAND Flash memory and I am looking for a suitable file system for my external flash memory.

The memory I use is a 2Gb (256Mbytes) SPI SLC NAND Flash by Micron (MT29F2G01). I have successfully managed to write, read and erase data in flash without issues.

Now I need something more...elegant and organized so that I can use my Flash memory with files and I am searching for a suitable file system for this cause.

  After a lot of searching I found the following possible solutions but, since I am not an expert on the file system subject  I would need a liitle (lot of) your help and experience  Slight smile.

  • FLogFS                      (link)
  • usbd_msc example   (link)
  • emFile                        (link)

FLogFS seems to be the most suitable since the memory that is used is an MT29F1 series SPI SLC NAND.

usbd_msc example uses QSPI to communicate with the onboard external memory but the memory is NOR and not NAND. So I don't know if that makes sense mentioning it

emFile supports the memory chip I use but it is difficult for me to understand how to use emFile with nRF52840 and where to start from

Parents
  • I am planning to use as well a serial NAND flash (W25N01GVZEIG). I tried the QSPI example and were only able to read the device ID. It seems that the instructions are not compatible since the NOR Flash is organized in a different way than typical NAND flash. Although both chips support QSPI it might be a lot of changes to do. Therefore, I am thinking of changing to standard SPI and implementing the nrf_block_dev_spi instead of nrf_block_dev_qspi. This should give more or less the same result than the QSPI example. Could you share your SPI code for interfacing the MT29.

  • Hi, sorry for the delayed answer but I was on vacations. Unfortunately I cannot share the current code since it is used for my company's project.

    I hope you understand

Reply Children
No Data
Related