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

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

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

1,314 次查看
prasad1
Contributor II

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 项奖励
回复
1 回复

1,241 次查看
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 项奖励
回复