problem jumping from bootloader to application

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

problem jumping from bootloader to application

1,263 次查看
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.

标签 (1)
0 项奖励
回复
1 回复

1,140 次查看
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 项奖励
回复