Skip to content

Watchdog timer on ESP32-S2 Feather #5890

@billr12

Description

@billr12

CircuitPython version

CircuitPython 7.1.1

Code/REPL

https://forums.adafruit.com/viewtopic.php?f=60&t=187420#p907592

Behavior

If the code is run as shown, everything runs as expected - the program runs continually and the LED flashes indefinitely.
If the time.sleep(15) line is uncommented, the program runs for 16 seconds then the board is reset and the program re-starts.
Again, this is as expected.
However, if the print(b) line is uncommented instead, the program terminates at the print(b) line with the error message
NameError: name 'b' is not defined. The board then displays the >>> prompt in the repl and is never reset.

Description

No response

Additional information

Testing with the print line uncommented on a Feather M4 Express, the board displays the same error message and prompt, but at the 16 second mark, the
board is reset and the program is again executed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugespressifapplies to multiple Espressif chips

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions