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/

980件の閲覧回数
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 返信

907件の閲覧回数
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 件の賞賛
返信