You could set up a hard fault handler. See crash.h and crash.c for a (somewhat messy) Pico example....
This leaves the question how to catch CPU exceptions etc, and force a reboot into that mode from code.
Statistics: Posted by carlk3 — Fri Jul 26, 2024 4:20 pm