Flash selected memory sections

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Flash selected memory sections

828 次查看
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.

标记 (1)
0 项奖励
回复
1 回复

798 次查看
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