2020-09-04 10:16 AM
After causing a watchdog reset RCC->RSR is showing as 0. I didn't think that was a valid value unless a jump was performed. I check RSR first thing so nothing should be clearing the bits by setting RMVF bit. Other types of reset seem to work. I haven't tried the IWDG yet.
int main(void)
{
u32 RSR = RCC->RSR;
2020-09-09 06:29 AM
In my JumptToApplication() fn, I had a call to HAL_RCC_DeInit() which clears the RSR at the very end.
Oops.
Strange thing is that a software reset would show up as non-zero which was throwing me off,