jumping to bootloader or application from bootmanager for MPC5748 Power architecture

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

jumping to bootloader or application from bootmanager for MPC5748 Power architecture

458 Views
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 Kudos
Reply
1 Reply

439 Views
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 Kudos
Reply