I am trying to determine the "reset reason" of RP2350 via register interrogation or some SDK function. I can detect a watchdog reset easily enough via watchdog_caused_reboot(); and for RP2040 I could also determine if it was POR, Reset (RUN pin) toggle, or debugger reset by interrogating the VREG_AND_CHIP_RESET register set that is defined in the RP2040-specific 'hardware_regs' directory. I cannot find an equivalent register definition with those reset bits for RP2350. Is anyone aware of such a register or function that can provide this information on RP2350?
Statistics: Posted by mcknly — Tue Jan 14, 2025 8:01 pm