cancel
Showing results for 
Search instead for 
Did you mean: 

IAP project ,fail to jump to application

slu.7
Associate II

the atteched file mbxfirmware_ebike is our solution code . we have three projects .and I am doing the bootloader testing .

the mbxEbike is my application project ,and I set

#define VECT_TAB_OFFSET 0x8000 /*!< Vector Table base offset field.

in this application project

and I debug this project in STM32cubeIDE, It works well.

the mbxEbike_bootloader is my loader project .

first I write the application bin file to 0x08008000 by ST-LINK Utility and then I debug the loader project in STM32cubeIDE, the loader project starts up OK ,but the function

iap_load_app(FLASH_APP_START_ADDR);

fail to jump to application code

I can not find out why fail to jupm to application code .

please help me to look into the code

0693W000006F79EQAS.png

1 REPLY 1
slu.7
Associate II

already fix this issue . I use systick as timebase in bootloader ,but in my application what I use as a timebase is timer1 so before I jump to application I need to disable systick,

If NOT , after jumping to application , system will go to hardfault​