Jumping from firmware to bootloader

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

Jumping from firmware to bootloader

589 次查看
josejavierbarri
Contributor I

Hi guys,

         I am working on a bootloader/firmware swapping algorithm.  I want to jump from firmware to bootloader and viceversa. I have thought to do it with an address jumping in assembler but I do not know the assembler instrucctions, in C is a little complex for me. I am using a MPC5645s microcontroller. 

Could anybody gives me an idea how to do it?

Thank you very much in advance,

Javier

0 项奖励
回复
2 回复数

476 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hi,

e200z4 instructions you can find in core reference manual:

https://www.nxp.com/docs/en/reference-manual/e200z4RM.pdf 

and VLE manual:

https://www.nxp.com/docs/en/reference-manual/VLEPEM.pdf 

Here is an example of simple jump:

jump_here:

e_bl jump_here

and in debugger:

pastedImage_3.png

jump_here label have address 0xF98A00

peter

0 项奖励
回复

476 次查看
miduo
NXP Employee
NXP Employee

Hello,

It seems that you had put this question in wrong community. Please try to move it to MPC5xxx.Thanks.

0 项奖励
回复