problem jumping from bootloader to application

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

problem jumping from bootloader to application

739 Views
frank747
Contributor II

Hello, S32 team.
I had problems jumping from bootloader to application. My application will go into defaultISR.
I confirm that interrupts have been disabled before jumping to the application. I connected to the running MCU and found that sometimes I could execute in the application for a period of time, sometimes I couldn't. Jumping to defaultISR may occur in startup_xx.s or in main. Before entering defaultISR, I can debug the program step by step.
What may be the cause of this problem? My application works well without bootloader.

Labels (1)
0 Kudos
1 Reply

616 Views
dianabatrlova
NXP TechSupport
NXP TechSupport

Hello,

Do you use interrupts in the Application? If yes, did you relocate the vector table before the jump into the application by

S32_SCB->VTOR = (uint32_t)APP_START_ADDRESS; ?

I hope it helps.

Best Regards,

Diana

0 Kudos