Open thecrow159 opened 9 months ago
Hi. After searching for the problem for a long time and rewriting the code for different SDKs, I finally found the problem.
During the interaction, something happens to the WiFi subsystem and an error is displayed in the UART, which spoils the entire operation of the MCU.
A issue to the SDK developers has been opened - https://github.com/espressif/ESP8266_RTOS_SDK/issues/1282 We'll be watching.
Hi apollo80, thank you for your great work.
I was able to flash your code but very often (10 minutes for example) during a print and even while not printing I get a "MCU shutdown. Timer too close" error. I can attach pictures of the error. My MKS WiFi is connected to my router in STA mode that I enabled in your Arduino code. My printer is a Flsun Q5, all parts are original. The mcu is a Mks Robin Nano v1.2.
Inside the file "wireless_klipper_sta.ino" I changed those lines for my wifi connection to happen:
Then I patched klipper source to enable wifi.
My host is a Raspberry Pi 2, I can attach system usages too.
Bye, Emiliano