jumping to bootloader or application from bootmanager for MPC5748 Power architecture

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

jumping to bootloader or application from bootmanager for MPC5748 Power architecture

638 次查看
Tarek72
Contributor I

i have to jump from the bootmanager to either the bootloader or the application , so my way is to change the stack pointer and go to the reset handler of the destination , so how can i pass the stackpointer and resethandler of application or bootloader to the bootmanager to use them to jump
#MPC5748G

0 项奖励
回复
1 回复

619 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

Not sure what has stack pointer to do with instruction execution, but:

you will simply perform branch from your bootmanager to the memory location where your app or bootloader is:

label:

asm("e_b label");

Simplest possible way.

best regards,

Peter

 

0 项奖励
回复