Jumping from firmware to bootloader

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

Jumping from firmware to bootloader

614件の閲覧回数
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 返答(返信)

501件の閲覧回数
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 件の賞賛
返信

501件の閲覧回数
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 件の賞賛
返信