My desired behavior is that the CPU is reset should an ESM Group2 or Group3 event occur. In my current code, I have a simple while(1) in the ESMInterrupt handler, but the watchdog is not resetting the processor. I suspect that, because the ARM fundamentally only has 2 interrupts (IRQ and FIQ), that the watchdog cannot occur while in the ESM exception -- is that true?
Note my watchdog properly works outside the interrupt context.
I have 2 questions then:
1. Should the watchdog be capable of resetting the processor from any interrupt or exception context, and if so, is there a register configuration I misses to allow this?
2. If the watchdog is not an option, is there a way to reset the processor from this context? I tried the CPURSTCR register, but it did not work. Also in this register description, it states "Only the CPU is reset whenever this bit is toggled. There is no system reset", which suggests there is NO way to reset the processor via software.
Thanks,
Jim