2025-12-23 12:49 PM
I need to use embedded STM32H573 bootloader to update customer application using UART1 or uart3.
I try to use AN2606, but no success. May you provide correct code to jump from application to the embedded bootloader for specific processor model: STM32H573, please?
2025-12-23 12:56 PM - edited 2025-12-23 12:58 PM
#include "stm32h5xx.h"
#define BOOT_ADDR 0x0BF97000
#include "cm_boot.h" // https://github.com/gbm-ii/STM32_Inc/blob/main/cm_boot.h
int main(void)
{
app_start(BOOT_ADDR); // start ST built-in bootloader
}The code must be compiled with -O1 or above - see the comments in cm_boot.h