flashing the DEVKIT-MPC5748G

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

flashing the DEVKIT-MPC5748G

331 Views
rami_rosenbaum
Contributor II

Hi,

I'm working on the DEVKIT-MPC5748G.

I need to flash multiple binaries (ELF/iHEX/SREC) without erasing the whole flash.

I'm using the OpenSDA USB interface and the pegdbserver_power_console.exe + powerpc-eabivle-gdb.exe GDB client-server for flashing.
To flash a.elf, b.elf and c.elf, because the GDB-server erases the whole flash on each load operation, I'm currently running:

 

 

monitor startmultiload
load ./a.elf
load ./b.elf
load ./c.elf
monitor endmultiload

 

 

What I want is to flash a.elf, reset the board and later flash b.elf, etc.
I would like the option to erase the flash sectors used by each ELF or not erase at all - standard options in modern flashing tools.

Is this possible with these GDB tools?
If not - what cheap and simple option do I have for the DEVKIT, hopefully "out of the box"?
Will this option give debugging capabilities???

Thanks!

0 Kudos
1 Reply

301 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

OpenSDA dot support programming without erase.

There could be way in using a S32DS Debug Configurations and Advanced Options:

petervlna_0-1685693621902.png

Where you will download the code first and then erase. After it you will program the device with original code and new one at once.

Best way is to use debugger which supports such capability like iSystem, Lauterbach, PLS, etc....

Best regards,

Peter

0 Kudos