2025-02-04 07:14 AM
I am trying to use the built-in bootloader to flash a new firmware onto my MCU (STM32H723). Unfortunately, I cannot get any reaction from the MCU when trying to connect to it, and I am struggling to diagnose which step is going wrong.
Short version of my steps:
Port configuration: parity = even, baudrate = 9600, data-bit = 8, stop-bit = 1.0, flow-control = off
Timeout error occured while waiting for acknowledgement.
Error: Activating device: KO. Please, verify the boot mode configuration and check the serial port configuration. Reset your device then try again...
I am struggling to figure out what's going wrong: Reading the bootloader documentation (AN2606), I get the impression that all the peripherals should by default be disabled, and only once it detects the "activation sequence" on one of them will that one be enabled. So I tried to check with the debugger to see which peripherals are enabled (to maybe figure out which other peripheral is erroneously selected instead of UART): For some reason, most of the relevant peripherals (UART1,2,3 I2C1,2,3, etc) are all simultaneously enabled.
What could I be doing wrong? How can I diagnose this?
More details: