Skip to main content
ranran
Senior
Feb 27, 2019 12:01 PM UTC
Solved

File-system for NOR flash

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.
    After Forever
    After ForeverBest answer
    Senior III
    Feb 27, 2019 12:33 PM UTC

    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
    Feb 27, 2019 12:33 PM UTC

    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
    Feb 27, 2019 5:39 PM UTC

    Right,

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

    Thanks!

    embedded4ever
    Visitor II
    Sep 18, 2019 3:16 PM UTC

    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