AnsweredAssumed Answered

How to definition of a var in EEPROM?

Question asked by xiao li on Mar 8, 2016
Latest reply on Mar 9, 2016 by xiao li

In the PRM file, EEPROM_DATA is placed at address 0x800.

EEPROM = READY_ONLY 0x800 To ...

PLACEMENT

...

EEPROM_DATA INTO EEPROM

 

In th asm file,

EEPROM_DATA :SECTION

byte_800: DS $7A0

                 DS $5E               ; Here if DS $4E is ok

WORD_FFE: DS 2

 

In the map file,

if Change DS $5E to $4E, can see byte_800 is @addr 0x800, and WORD_FFE is @other address.

but if DS $5E, There is an error,  A1102. How can i definition of a var in EE byte_800 at addr 0x800, and WORD_FFE at addr 0xFFE?

 

Anyone help? Thank you very much.

Outcomes