IWDG Takes Approximately 2 Minutes to Reset with Two-Stage Secure Boot on STM32H7S78-DK
Board: STM32H7S78-DK
MCU: STM32H7RSxx
Issue Description
I am implementing the Independent Watchdog (IWDG) in an STM32H7S78-DK project with Two-Stage Secure Boot.
I observed the following behaviour:
-
Without Secure Boot: IWDG works correctly and resets the MCU within the expected timeout.
-
With Two-Stage Secure Boot: IWDG takes approximately 2 minutes to reset the MCU, even though the configured watchdog timeout is much shorter.
Investigation
-
Verified IWDG prescaler and reload register values.
-
Checked IWDG initialization.
-
Used a GPIO pin and logic analyzer to measure the initialization timing.
-
Compared IWDG behaviour with and without Secure Boot.
Questions
-
Why does IWDG take approximately 2 minutes to reset the MCU when Two-Stage Secure Boot is enabled?
-
Does STiRoT or OEMuRoT perform any IWDG initialization or refresh operation during the boot process?
-
Are there any specific configurations required for IWDG when using Two-Stage Secure Boot on STM32H7RS?
Any suggestions or guidance from ST experts would be appreciated.
Thank you.
