Skip to main content
ranran
Senior
February 27, 2019
Solved

File-system for NOR flash

  • February 27, 2019
  • 3 replies
  • 2743 views

Hello,

I am struggling with integration of filesystem on external nor.

I've been trying both littlefs, and spiffs. Both, with no success yet.

Is there any suggestion from ST for filesystem example on external nor flash ?

Thank you!

ranran

    This topic has been closed for replies.
    Best answer by After Forever

    What exactly went wrong with littlefs integration? Porting it should be straightforward - just implement functions for read/write/erase/sync operations on flash blocks. I found an example:

    http://www.uimeter.com/file/system/littlefs/2018/04/12/Try-LittleFS-on-STM32-and-SPI-Flash.html

    3 replies

    After Forever
    After ForeverBest answer
    Senior III
    February 27, 2019

    What exactly went wrong with littlefs integration? Porting it should be straightforward - just implement functions for read/write/erase/sync operations on flash blocks. I found an example:

    http://www.uimeter.com/file/system/littlefs/2018/04/12/Try-LittleFS-on-STM32-and-SPI-Flash.html

    ranran
    ranranAuthor
    Senior
    February 27, 2019

    Right,

    I tried again with littlefs after seeing your answer, and surprisingly it looks to be functional now.

    Thanks!

    embedded4ever
    Visitor II
    September 18, 2019

    Hi ranran , i am working on same project , which part number you use as external flash ? Could u binding properly little-fs on external flash ?

    Regards,

    volkan