STM32H573 – Detecting whether the device is running in the ST System Bootloader
Hi,
I am working with an STM32H573 and would like to reliably detect when the device is running in the built-in ST System Bootloader.
Is there any supported mechanism to determine that the MCU has entered the System Bootloader?
For example, is there any status information, register, persistent flag, GPIO behavior, or other mechanism that can be used to distinguish the System Bootloader from the normal user application?
The goal is to provide an external indication when the device is in this state. A status LED would be one possible example, but I am mainly interested in whether there is a general and reliable way to detect the System Bootloader state.
In our setup, Secure Manager is enabled, so entering the System Bootloader may also happen as part of the secure boot / recovery flow.
Is there any recommended approach for this on STM32H573 devices?
Thanks!
