How to write data in flash at the time of build time only/

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

How to write data in flash at the time of build time only/

366 Views
prasad1
Contributor I

I am using codewarrior 10.7. I want to write data array in application code memory region at the time of build time only. But it is not a constant data.How to do that?

0 Kudos
1 Reply

293 Views
BlackNight
NXP Employee
NXP Employee

If the data is constant, it ends up in FLASH. If the data is not constant, it ends up in RAM. If you want to change the FLASH, you have to program the FLASH, e.g. see Configuration Data: Using the Internal FLASH instead of an external EEPROM | MCU on Eclipse 

I hope this helps,

Erich

0 Kudos