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
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:
jump_here label have address 0xF98A00
peter