Flash selected memory sections

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

Flash selected memory sections

845 Views
Iota
Contributor II

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.

Tags (1)
0 Kudos
Reply
1 Reply

815 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

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:

davidtosenovjan_0-1707328868694.png