AnsweredAssumed Answered

Variable at Absolute Address & NO:INIT

Question asked by sebasira on Mar 25, 2013
Latest reply on Mar 28, 2013 by sebasira

Hi to all of you!


I'm working with CW4.6 and HCS12. I decide to place some EEPROM variables at absoulte addresses using @. Before that they were at a segment with NO_INIT.


Now, even if I have the variable within this segment (with pragma) it is initialized with 0x00 and I want it to be 0xFF. Is there anyway I can do that?


If possisble I don't what to do this:


const dword EEPROM_VAR @0x2000 = 0xFFFFFFFF