-
Notifications
You must be signed in to change notification settings - Fork 12
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
Browser Page Load Interrupts Print #2
Comments
Would removing this fix it? Line 68 in 41a4a1e
|
has this been addressed? I'm considering buying one of the FYSETC Wifi SD Cards but not if this is stil an issue. @IBNobody does your proposed fix work? |
I was never able to build it since the build instructions are nonexistent. |
It builds fine with esp32 v2.0.17 however on serial console I can see that the card reboots sporadically when browser opens index.htm. The situation significantly improves (but not completely) when updateList() is commented out in index.htm as suggested by @IBNobody. I am not sure about the root cause of these watchdog events and I cannot check if they can be reproduced with the original firmware as it does not fit to my 8G card that somehow has only 4M of internal flash and is based on esp32-pico d4 not on v3-02 -- perhaps FYSETC has changed the components recently (?) but I can only guess. My build with esp32 v3.0.2 works much better, watchdog is now happy however the messages in the log still indicate that something is wrong with the code logic and perhaps suggest the root cause for the watchdog events:
Update: the server is still triggering watchdog event even with the latest libraries:
The only workaround I have found is to reduce the number of parallel http requests by merging all CSS files into a single main.css and by commenting out updateList() in index.htm file. This makes the original firmware more stable. The root cause of the bug is not clear though -- it perhaps sits somewhere deep within AsyncTCP/ESPAsyncWebSrever logic. As my card is not usable without the firmware I have crafted a quick http cli (not web) sdwifi app based on a very simple WebServer sketch. It can process only one http request at a time but more is not needed in my use scenario. I use curl as a frontend :) but it should be easy to add a basic web form to the app if one is needed. |
I am running the SD-WIFI-PRO on a Prusa MK3S+. My SD-WIFI-PRO is in AP mode and is connected to my home wifi.
I found that reloading the SD-WIFI-PRO's internal webpage would interrupt my print. (Furthermore, if I had the internal webpage opened, and i restart my browser, the browser reload would interrupt my print.)
This is being caused by the SD-WIFI-PRO not respecting the lock / usage state of the SDCard. The webpage takes precedence over any other SDCard activity and does not release the SDCard back to the printer.
This can be solved in two ways:
The text was updated successfully, but these errors were encountered: