bootloader jump to App

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

bootloader jump to App

ソリューションへジャンプ
1,515件の閲覧回数
pyi285
Contributor II

Is there a way to go from the bootloader to the application? I posted it the other day, but I couldn't solve it properly, so is there someone who can explain the detailed code or how to do it? Is there anyone who can explain in detail because I didn't understand the datasheet related to the bootloader (MPC5674M chip) last time?

 

PS : 

__asm__("e_lis %r12,0x000100");
__asm__("e_or2i %r12,0x000100 "); //JUMP_ADDRESS
__asm__("mtlr r0");
__asm__("se_blrl"); 
can i do it with the code above
The internal flash address that stores the current APP starts at 0x00010000 and ends at 0x00013100.

#MPC5674F #Jump # Application #Bootloader

0 件の賞賛
返信
1 解決策
1,495件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, what you show cannot work because you are loading address to register r12, but to link register you are loading content of r0.

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,496件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, what you show cannot work because you are loading address to register r12, but to link register you are loading content of r0.

0 件の賞賛
返信