Closed
Description
Running this:
import microcontroller
microcontroller.on_next_reset(microcontroller.RunMode.NORMAL)
microcontroller.reset()
causes the board to reset and go into safe mode instead of normal mode.
Similarly, setting up a watchdog with the following code.py:
from microcontroller import watchdog as w
from watchdog import WatchDogMode
w.timeout = 10.0
w.mode = WatchDogMode.RESET
w.feed()
while True:
pass
causes the microcontroller to reset after 10.0 seconds (as expected), but the microcontroller resets into safe mode instead of resetting and re-running code.py, which is the usual intent of watchdog usage.
Product: FeatherS2
CircuitPython version: adafruit-circuitpython-unexpectedmaker_feathers2-en_US-6.1.0-beta.3.uf2
Related but not same issue: #3884