I know the Teensy 4.0/4.1 do not have reset pins or pads, but I would like to be able to reset/restart the program from a digital input (by pressing a button or an external signal). On the Teensy 4.1 page it states that a reset can be accomplished using watchdog timers or the SCB_AIRCR register. I cannot seem to find the documentation or examples of how to do this. As a side note, I would like to be able to retain the USB serial monitor connection through the reset if possible, so the serial debugging restarts after the reset. Can someone tell me how to do this?
https://www.pjrc.com/store/teensy41.html#programming
https://www.pjrc.com/store/teensy41.html#programming