Bootloader for  MPC5604BC

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bootloader for  MPC5604BC

992 Views
NewbieMCULover
Contributor II

Hi!

 

I am about to create a bootloader but I can't find any guides regarding the usage of the Codewarrior for bootloader development. And I have still many questions

1. what are the things needed to be modified on the linker file?

2. how can I put bootloader in a defined address?

3. how will I be able to jump to application code?

 

I will be using a UART and will be sending the application through RS232 from PC. The communications is already working and I will not be using interrupts to on the bootloader code to avoid some interrupt redirections. Can somebody point me to some documents, webpage, or any kind of information regarding bootloader development for MPC5604BC?

 

Thank you so much...

 

(I am currently using Codewarrior Development Studio for freescale mpc55xx  version 2.5, build 91008)

Labels (1)
0 Kudos
1 Reply

302 Views
NewbieMCULover
Contributor II

I managed to get the two working:

1. I know now what to modify in the linker file

2. the location of the bootloader can now be controlled

 

 

Only on problem is left to me right now,

How will I be able to jump to the application code?

 

I tried executing an inline assembly of:

asm(jmp 0x20000);

 

but I am getting an error of "Unknown Assembler Instruction Mnemonic" :smileysad:

0 Kudos