Open wbeebe opened 1 month ago
Thanks. Is the failure also Internal watchdog timer expired.
on the Pico W?
The plain Pico doesn't have wifi, so how did you make this run on the Pico? Or is that a typo?
How long does it take for the safe mode failure to happen?
Are you using the latest versions of the needed libraries?
Thanks. Is the failure also
Internal watchdog timer expired.
on the Pico W?
Yes it is.
The plain Pico doesn't have wifi, so how did you make this run on the Pico? Or is that a typo?
It is a Pico/W only issue. I'm so used to including both versions of the Pico when I write about them. My apologies.
How long does it take for the safe mode failure to happen?
I can only say overnight. For example I went to bed around 11pm after checking it was still operational, then when I got up this morning a little after 6 am it was in safe mode.
Are you using the latest versions of the needed libraries?
Yes. Whenever I update I always pull the version of the libraries that match the CircuitPython version as well as the release date.
BTW, this is what the code looks like when it's running. A view of the web page on my iPhone. Nothing fancy at all because I stripped out a lot for this test code.
Could you post a redacted (hide password, SSID, etc.) version of your settings.toml
? I am interested in whether you have any CIRCUITPY_...
settings, or whether you only have the keys referenced above.
AP_SSID = "SSID"
AP_PASSWORD = "PASSWORD"
TZ_OFFSET = -4
DEBUG = "False"
Just the four shown above. STATIC_IP and GATEWAY aren't needed, and I need to adjust the comment block accordingly.
CircuitPython version
Code/REPL
Behavior
When left to run unattended the board will stop executing, and any attempt to perform ^D to restart returns the following message at the REPL:
Auto-reload is off. Running in safe mode! Not running saved code.
You are in safe mode because: Internal watchdog timer expired. Press reset to exit safe mode.
Press any key to enter the REPL. Use CTRL-D to reload.
Description
Not only does this occur with the Espressif ESP32-S3 board, but it also occurs with the Raspberry Pi Pico and Pico/W with the same version of CircuitPython. It will also occur with CircuitPython 9.0.5, again with the boards listed above.
Additional information
No response