MPC5746

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

MPC5746

3,409 次查看
514114882
Contributor II

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

0 项奖励
回复
3 回复数

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

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