Associate II
March 1, 2026
Solved
Flashing by UART in STM32F411RE
- March 1, 2026
- 1 reply
- 241 views
After more debugging, the jump function works correctly (PC reaches 0x080208xx, SP and RST are valid), but the app never sends any UART message after jump — even with SystemClock_Config() completely commented out and only HAL_Init() + MX_UART_Init() remaining. The bootloader resets the clock to HSI before jumping. SCB->VTOR is set in SystemInit(). Linker is at 0x08020000. The app works perfectly when flashed directly at 0x08000000 via ST-Link. Something is killing the app immediately after the bootloader jumps but we can't figure out what — any ideas?
this is the project :
https://github.com/said-sketch/Flashing-by-UART---STM32-Bootloader/tree/main
