how to write datas into flash when programming

cancel
Showing results for 
Search instead for 
Did you mean: 

how to write datas into flash when programming

212 Views
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 Kudos
1 Reply

5 Views
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 Kudos