2026-01-27 7:19 PM
2026-01-27 8:23 PM - edited 2026-01-27 8:24 PM
My guess is your application writes to UART1 as well.
Nothing wrong that would explain this in the code you've shown.
2026-01-27 10:20 PM
FLASH APP? It's only in EXTI2_IRQHandler().
But I didn't trigger the interrupt.
2026-01-27 10:48 PM - edited 2026-01-27 10:50 PM
Disable the EXTI interrupt before the jump.
At least on a H7 a lot of de-inits and interrupt disabling is done before jumping.
Maybe before jumping you first de-init / change the GPIO config, and that triggers the EXTI interrupt.
So try to disable EXTI first, the de-init the GPIOs.
2026-01-27 10:57 PM
BTW, so many (and long) for-loops in an ISR are usually not considered good design, unless you have some very specific reason for that.
Why not just set a flag and then "print" in the main loop?