-
Notifications
You must be signed in to change notification settings - Fork 7.6k
LittleFS.format(): task_wdt: delete_entry(233): task not found #9912
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
Comments
You probably need to put a delay in loop() or else delete it with |
Adding arduino-esp32/libraries/LittleFS/src/LittleFS.cpp Lines 106 to 109 in 0ef2986
|
Beside the fact the function call
|
I'm aware of This was working fine with FFat but I'm trying to move to LittleFS. |
@yoursunny LittleFS is the smallest of your migration challenges. NimBLE Arduino will not work for the new MCUs (C6 H2). See #9836 |
NimBLE is unrelated to this. |
Any update on this? Running into the exact same issue. I want to be able to remove all local stored files for a factory reset, though failing on ESP32 now... |
Hello, Due to the overwhelming volume of issues currently being addressed, we have decided to close the previously received tickets. If you still require assistance or if the issue persists, please don't hesitate to reopen the ticket. Thanks. |
@Parsaabasi The issue is still persistent for me, I'm on latest 3.1.1 ESP32 Board version on an ESP32-C6. Whenever I do a format But what happens is that the format (or begin) seem to have worked, although couple of seconds later I run into the below exception. I've created a simple test sketch to reproduce it:
And the output from that test (incl. crash):
|
Any idea when this can be looked into? Pretty crucial failure in there for a long time... |
It seems dead library. To respond for a year... |
I have the same issue on ESP32-C6 on boards 3.1.1. Current implementation of format() is following:
Calling disableCore0WDT() is generating this error log:
Then enableCore0WDT() is called in format(). I guess that this WDT is not enabled/used on C6 board at all and enabling it is causing unexpected behavior which ends up in reset. Simple commenting out those two lines solves the issue on C6. However I guess they were add for a reason and some condition or board specific implementation should be added. |
I have the same issue on ESP32-C6 on boards 3.1.1. |
I am experiencing the same issue described here. |
Great, I see there is progress in fixing this... @lbernstone @me-no-dev by when can we expect this to be merged and have an update available? |
Fixes get merged in the next release. The code is there if you need it now. Remarking out the enable in LittleFS.cpp is really all you need for a quick fix. |
Applied the change on my local copy and it seems to do the job perfectly! Any idea when a next version will be released / shipped? |
Board
ESP-C3-32S-Kit
Device Description
Datasheet: https://docs.ai-thinker.com/_media/esp32/docs/esp-c3-32s-kit-v1.0_specification.pdf
In Arduino IDE, I have selected "LOLIN C3 Pico" with "USB CDC On Boot: Disabled".
This board works correctly in other examples under these settings.
Hardware Configuration
plain module on breadboard, nothing attached
Version
latest master (checkout manually)
revision 0ef2986
IDE Name
Arduino IDE 2.3.2
Operating System
Windows 10
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
When
LittleFS.format()
is invoked, the console logs the following error:Several seconds later, the board resets due to task watchdog.
Sketch
Debug Message
Other Steps to Reproduce
I also tried on an ESP32 chip (FQBN
espressif:esp32:heltec_wifi_kit_32:UploadSpeed=921600,CPUFreq=240,PartitionScheme=default,DebugLevel=debug,EraseFlash=none
).It also emits a similar error (many times), but does not cause watchdog reset later:
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: