LittleFS on large QSPI NOR

I am having issues using a 2Gb NOR flash part for LittleFS storage on an nRF52840 based project (using the nRF Connect SDK). I am not sure yet if the issue is in the LittleFS module itself, the Zephyr fs (filesystem) module, or the QSPI/NOR driver. The symptom that I am seeing is that when I configure the size of the partition to larger than 16MB, after some amount of time (typically 15-20 minutes), the device begins reporting write errors (I'm writing to the device once per millisecond in my test app, in my final app, the writes will be in the range of every 40ms to every 4ms.

I have opened a ticket in the Zephyr project (https://github.com/zephyrproject-rtos/zephyr/issues/40453) which includes a piece of sample code and description for re-creating the problem, but I thought it might worth posting something here as well to see if anyone else has run into any similar issues.

Thanks!

Parents Reply Children
Related