You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m currently working with an ESP32-C3 module and am facing an issue while trying to prepare a binary file for the filesystem pre-loaded with specific files for production use.
I've successfully downloaded the default filesystem created by MicroPython and accessed it on a Linux system using the littlefs-tools Python package, with a block size of 4096 and block count of 512.
However, when I attempt to create a new filesystem partition on Linux to upload to the ESP32-C3, MicroPython reports a corrupted filesystem with the following message:
The filesystem appears to be corrupted. If you had important data there, you
may want to make a flash snapshot to try to recover it. Otherwise, perform
factory reprogramming of MicroPython firmware (completely erase flash, followed
by firmware programming).
The command I’m using to generate the littlefs image file is:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello MicroPython Community!
I’m currently working with an ESP32-C3 module and am facing an issue while trying to prepare a binary file for the filesystem pre-loaded with specific files for production use.
I've successfully downloaded the default filesystem created by MicroPython and accessed it on a Linux system using the littlefs-tools Python package, with a block size of 4096 and block count of 512.
However, when I attempt to create a new filesystem partition on Linux to upload to the ESP32-C3, MicroPython reports a corrupted filesystem with the following message:
The command I’m using to generate the littlefs image file is:
And for uploading the created partition to the device, I use:
Could someone please guide me on the correct procedure to create and upload a filesystem that MicroPython will recognize without errors?
Thank you in advance for your assistance!
Beta Was this translation helpful? Give feedback.
All reactions