MPC5746

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

MPC5746

1,796 Views
514114882
Contributor II

how to write the code about jumping from bootloader to user app

0 Kudos
3 Replies

789 Views
514114882
Contributor II

I try to write code like this to go to app , but some errors occured

__asm("e_lis r12,0x00F9");
__asm("e_or2i r12,0x4010");
__asm("e_lwz r0,0(r12)");
__asm("mtlr r0");
__asm("se_blrl");

0 Kudos

789 Views
514114882
Contributor II

thank you my friend,can change this code to C language?because i want to use Uart command to control the device go to app,for example , if mpc5746 received the command 0x01,mpc5746c will go to app

0 Kudos