-
Notifications
You must be signed in to change notification settings - Fork 131
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
13.1 DEV - corrupted FS, and problems to load presets #201
Comments
SR13.1 DEV binary is only here https://wled-install.github.io/ , is this web installer not supported ? |
not sure if this is related, but I observed that after upgrading to 13.1 my presets stopped working.
downgrading to 12.0 made presets work again. |
@btittelbach just compiled 13.1 from the Master branch myself and yes presets stopped working. Most of the time selecting a preset does not change the animation and sometimes the esp32 resets itself. |
What kind of micophone are you using? Analogue or digital? Which Pins? Because there could be a relation to how the I2S driver is collecting samples, like watchdog reset or "WiFi dies" effects... |
I am not sure if this is clear but we are testing multiple units and none of them are having any attached leds or microphone . |
Did you check serial output? In case you see some "guru meditation" or unexpected reset, that would be clearly a bug. |
I am not really sure if the first picture I added is what you meant by check serial output because that is the serial output errors but i am not sure if that is generic for all filesystem issues or it is pointing to something in the code in lfs.c . It would be very simple to close this if someone could mention that installing SR13.1 DEV from https://wled-install.github.io/ worked with no filesystem errors and give few details on their environment if esptool installed version even matters in such case . |
It seems that LittleFS has a known problem when used from multiple threads (missing semaphore). As consequence, you see bad blocks and temporary missing files. Maybe related ? issue lorol/LITTLEFS#44 |
... I have created a fork of lorol LittleFS, and merged the pending PR that should improve thread-safety. find this in [esp32] section:
and replace with
Please tell us if this helps. |
Thank you very much , Would it be possible to replace the bad 13,1 Dev bin at https://wled-install.github.io/ |
I've just committed the necessary changes for platformio.ini into Now we need someone who knows how to upload binaries to wled-install.... |
we just tested https://github.com/wled-install/wled-install.github.io/blob/main/fw/SR_ESP32_4MB_13.1_DEV.bin [07d7dec] All our tests indicated the presets issues are not resolved . Flashing the bin per the wiki using esptool ,OTA or from web installer resulted in the same issues with presets . |
Same here. With SR 13 b6 everything works fine. After Upgrade to 13.1 presets are broken. No matter if installed ota or flash via esptool( inc erase ). |
Some known problems in WLED that could be related to the presets problem:
The first problem affects the B6 prerelease, and could lead to corrupted json files that cannot be loaded in a newer version of WLED. The second one affects WLED 13.1 only, and could lead to presets not being loaded/saved. Could you please post your your [WLED-IP]/presets.json files, before and after updating WLED? It might help us poor free-time devs to better understand what happens on the devices. |
Good News, Members of the SR dev team are able to reproduce the presets issues with 13.1 Dev. |
Softhack solved the preset issue. Can you confirm it is working for you? |
We could only spare two units at the moment with 16x32 and 16x16 . We did not face any corrupted FS when interacting with presets . Aside from few minor unrelated observations it seems the installation issue reported earlier for 13.1 is solved . Excellent work . I can close this if someone else confirms or at your discretion . |
I can also confirm its working for my setup. All 8 controller are now working with 13.1. All proplems with the presets are gone. Excellent work and a big thank you. |
What happened?
Using https://wled-install.github.io/ to install [SR13.1 DEV] results in corrupted FS . Using the same installer with normal wled is working fine . The same was tested on multiple esp32 versions .When saving presets serial monitor shows errors with LittleFS
To Reproduce Bug
Use https://wled-install.github.io/ to install 13.1 DEV . Then create presets and reboot the esp, look at the serial monitor in ardunio IDE , you should see an error related to LittleFS
Expected Behavior
As we are using the same installation method we expect srwled fs to be fixed
Install Method
Binary from WLED.me
What version of WLED?
13.1 DEV
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: