-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-C3 Error 19: filesystem error when connecting to Wifi network #101
Comments
Hi, File system error could appear when there is no partition table in flash, or when the partition table has a bad LittleFS entry (too big, or wrong type).
How did you initially install your -C3 board? this upload tool might work for you: As your board has "native usb" only, it might be necessary to manually bring the board into download mode:
Now you can use the flashing tool (see above) for uploading by USB cable. |
Initially installed latest release WLED via install.wled.me, then did the Manual OTA update. I've noticed some weird behavior with this process too, where sometimes the update would fail and sometimes it would succeed. Tested USB upload with ESP-Flasher.exe, it uploaded successfully but it appears to be stuck in a boot loop. Confirmed on two otherwise known working ESP32-C3's. BIN used: WLEDMM_0.14.0-b28.34_esp32_4MB_M.bin
WLEDMM_0.14.0-b27.31_esp32c3dev_4MB_M.bin also has the same issue. I checked a few releases back until MoonModules v0.14.0-b15 before giving up, and they all appear to get stuck in a boot loop after flashing. The chip markings read ESP32-C3, but I think the actual SoC is ESP32-C3FH4 because there is no external flash. Yet esptool in the ESP-Flasher appears to report "No embedded flash"? Perhaps that is related? Would anyone be able to confirm if flashing these BINs work for you? Does your dev board have external flash? Thanks all! 🙏 |
I've googled this message, and it seems that on some -C3 boards, the second stage bootloader fails to start. It looks like building the firmware with flash mode "dio" (dual i/o) instead of "qio" (quad i/o) helps. I can confirm that the release firmware basicially works, I've tested it on a "real devkit" -c3-devkitM1 (however not based on -mini soc) that I have at hand. -C3 (and -S2, -S3) are still experimental in WLED, and some boards work while others simply refuse to cooperate 🤷 Your best chance is actually to build AND upload the firmware from the development environment (VSCode+platformIO). Select Lines 1916 to 1924 in 35032df
The KB has some guidance for using VSCode+platformIO: |
this worked for me, here is the current firmware for any1 else that has this(or a similar) issue |
Thank you @softhack007 for the info and advice! Thanks @mitch030504 that BIN appears to boot correctly for me! Though I did notice LittleFS failed to mount in the logs. I was able to connect to it via the web interface and save Wifi info, though. Attaching in case that's not normal:
Though I do want to note a couple things:
|
What happened?
ESP32-C3 build fails to save Wifi information and gets stuck loading (UM ☾) settings.
To Reproduce Bug
Board used: ESP32-C3 Super Mini
BIN used: WLEDMM_0.14.0-b28.34_esp32c3dev_4MB_M.bin
Expected Behavior
Expected: C3 will connect to wifi. Sound settings page should be visible on settings page
Actual: after wifi settings page timeouts, returns to color wheel main screen and red error message appears at bottom: "Error 19: A filesystem error has occured." Settings page is missing Temperature, 4LineDisplay, Rotary-Encoder, Autosave, AudioReactive, Animartrix (UM ☾) pages.
Install Method
From MoonModules Release Page
What version/release of MM WLED?
WLEDMM_0.14.0-b28.34_esp32c3dev_4MB_M.bin
Which microcontroller/board are you seeing the problem on?
ESP32-C3
Relevant log/trace output
Happy to gather this, I just don't know how 😅 I thought there was an easy way to gather log from the web interface?
Anything else?
I've confirmed that my standard ESP32 dev board does not experiences these issues when OTA updating using WLEDMM_0.14.0-b28.34_esp32_4MB_M.bin.
Code of Conduct
The text was updated successfully, but these errors were encountered: