Littlefs Stuck During Write Operation
Author: turkyasinCreated Jun 14, 2026Updated Jun 14, 2026
Hello there,
I've implemented littlefs in my project. I am using NOR flash W25Q01JVSFIQ and TMS320F28379D TI C2000 MCU. I've ported for this mcu and flash. I can read, write and erase flash with littlfs.
I've experienced few problems while using littlefs in my project. One of the problems is when I write a file to the flash which is about approximately 500bytes if boards power down during write operation of a file, after power up I try to write the same file to the file system again but littlefs stuck in a loop.
What should I do when this happens and is there any way that I can prevent this stuck situation?
Source: littlefs-project/littlefs