Bootloader for MPC5748G

cancel
Showing results for 
Search instead for 
Did you mean: 

Bootloader for MPC5748G

1,546 Views
tiju
Contributor II

Hi,

I can see a 'BootLoader_MPC5748G' example in S32. It compiles successfully.

"BootLoader_MPC5748G.elf" and "BootLoader_MPC5748G.srec" is generated. Bit I do not see a binary.

How to flash the bootloader to devkit? And what is the expected output?

Also can you throw some light on what kind of bootloader it is?

Thanks and Regards,

Tiju
 

Labels (2)
0 Kudos
5 Replies

242 Views
uditsalunke
Contributor III

Tiju, 

There is txt document - description which explains this boot loader.  

You need have openSDA interface for your hardware to get this boot loader working. 

Udit

0 Kudos

242 Views
tiju
Contributor II

Hi Udit,

I am looking for a bootloader that can run directly on MPC5748G without using OpenSDA. Can you help me with that?

Thanks and Regards,

Tiju

0 Kudos

242 Views
uditsalunke
Contributor III

Tiju,

I see Stan has provideed all information to get boot loader in action.

Udit

0 Kudos

242 Views
stanish
NXP Employee
NXP Employee

Hello,

The bootloader example project "BootLoader_MPC5748G" is the template project that demonstrate how to use RAppID Bootloader with MPC5748G DevKit and S32DS.

For more details about the bootlader and it's features I'd recommend you to see the document below:

http://www.nxp.com/files-static/training_pdf/FTF/2014/americas/WBNR_FTF2014-AUT-F0014-B_PDF.pdf 

First you need to program /rbf file which is actually the bootloader binary. This could be done by OpenSDA (see the screenshot below) or any other Debug cable you have (PEmicro Multilink, Universal, FX..)

There is pre-configured debug configuration that loads the bootloader binary:

pastedImage_18.png

pastedImage_2.png

Then you can build the Application which basically blinks LEDs on the board. The generated project + its SREC is located here:

pastedImage_4.png

Now download install and run RAppID Bootlader utility:

(https://www.nxp.com/webapp/Download?colCode=RAPPID_BOOTLOADER_UTILITY&appType=license&Parent_nodeId=... )

pastedImage_19.png

you should be now able download the generated application project (s-record) via Virtual COM over USB cable (COM15 on my machine) into the board.

Hope it helps.

Stan

0 Kudos

242 Views
chengxueyuan021
Contributor II

pastedImage_1.png

correct trace as above show;

but I print trace cyclly report as fellow:

Tx: 01 00 00 00 00 AA AA AA AA

Rx: FE 00 00 FE 00 00 00 00 00  init 

no other Erasing APP....

0 Kudos