how to write datas into flash when programming

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

how to write datas into flash when programming

1,067 次查看
zhujiuzhujiu
Contributor I

Hi,

I want write the configuration datas into flash when download the *.srec file。

e.g.  

   I want write data 0x12 into adress 0x70000;

   S12 series MCU can use  @0x70000 = 0x12 ;

But S32K144,I don't know how to operation。

Thanks, BR!

0 项奖励
回复
1 回复

860 次查看
jiri_kral
NXP Employee
NXP Employee

Hi, 

the only option is create custom section in linker file and put your constants in that section. For inspiration you can look at this example: https://community.nxp.com/docs/DOC-335619 

Jiri

0 项奖励
回复