cancel
Showing results for 
Search instead for 
Did you mean: 

The reset source identification register (RCC->RSR) of the STM32H7 is zero after a watchdog reset.

rammit
Senior

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;

1 REPLY 1
rammit
Senior

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,