Electrical – IAP bootloader not jumping to the application address


I am working on IAP in STM32F4. I received .bin file using uart and flash it in 0x08004000 address successfully and disable irq , set msp , set vector, deinit hal , reset the systick registers but the jump is not working, It just freezes there. Can anyone help me with this?

define APP_ADDRESS 0x08004000

snip of jump code

Best Answer

It is far not enough. You need to disable all interrupts in the NVIC.