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?
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