jumping to bootloader or application from bootmanager for MPC5748 Power architecture

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

jumping to bootloader or application from bootmanager for MPC5748 Power architecture

451件の閲覧回数
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 返信

432件の閲覧回数
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 件の賞賛
返信