The "ARM_APD_RESET" bit of the SYSRSTSTAT register is described as "ARM RESET Event Detected"- what causes an "ARM RESET Event", and this bit to be set when the chip comes out of reset?
Thanks!
That is correct!
From some quick testing, I am able to confirm:
- VDD_POR is set when the chip is powered up
- PAD_RESET is set when the reset pin is used to reset the chip
- ARM_APD_RESET is set when I use the debugger to reset the chip, or when NVIC_SystemReset() is triggered
Let me know if I got any wrong!
Thanks for the response @EdwinHz ! Will the bit be set from an NVIC SysReset, or only a reset from the debug port?
This bit indicates whether the ARM kernel has had a soft reset or not, as mentioned in the following blog post: https://www.cnblogs.com/henjay724/p/14027404.html.