Dear community,
is it possible to flash only selected memory sections of the S32K358?
Let's say we have two different projects that use one core each and we only want to update the code of core 2 (i.e. progam the .elf of project 2 but not delete the existing code/data of core 0).
I was unable to find any specific settings in the debug configurations.
Thank you.
It is possible. It is needed to have configuration with more ELF or S-record files (one for each core) and these files use only certain range of addresses.
Some debuggers program only these flash sectors which differ from MCU flash content (for instance TRACE32).
With S32DS and PeMicro debugger it is possible to preserve certain address ranges (it performs read-modify-write operation) as on the screenshot below: