2019-02-27 04:01 AM
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
Solved! Go to Solution.
2019-02-27 04:33 AM
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
2019-02-27 04:33 AM
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
2019-02-27 09:39 AM
Right,
I tried again with littlefs after seeing your answer, and surprisingly it looks to be functional now.
Thanks!
2019-09-18 08:16 AM
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
2019-10-21 08:39 AM
Hi ranran,
I am working to use littlefs for writing data on SD card. Could you share your project, so I could use it as my baseline? I do not know where should I implement the read/write/erase/sync functions.
2019-10-22 12:40 AM
Hi,
I don't have a project, but I tried to cut out the relevant files for you here:
https://drive.google.com/file/d/17nv58G2Suf8gYtR2nbXnw2F8v7sh8fzp/view?usp=sharing
Note that the usb stick should be up to 4G and formatted to fat32, otherwise - it won't work !
Thanks