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???
OpenSDA dot support programming without erase.
There could be way in using a S32DS Debug Configurations and Advanced Options:
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....