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

Porting filesystem for spi based NOR flash(External)

Hi, 

I have the driver code for SPI based external NOR flash. Now I want to port the filesystem (FAT filesystem)  for the same. I am using SDK v16.0 and nRF52832. Please tell me how to port the filesystem for spi based NOR flash on nRF52832. 

Parents Reply Children
  • Actually I already have seen that example. It is for external SD card. Still I am unable to figure out how this library can be ported to  SPI based external NOR flash. Please help me with more details on this 

  • This example shows you

    1. How to include FATfs support into your design
    2. working along with SPI driver along with external flash (in your case if you change the SPI driver with the one you ported, then you should be pretty close to having a working project configuration)
    3. The sequence of write and reads will ofcouse be different in the given example compared to what you are trying to achieve. The main difference is the difference in commands/timings that your NOR flash needs which should be described in the data sheet of that flash. I do not have much experience in pointing out the differences.

    Unfortunately, we do not have any example that demonstrates working of FatFS with external NOR flash out of the box using SPI

Related