Where does the .map file say the constants are?
You might also post the constant declarations and the prm file so that we have a better idea of what you're trying to do.
in map file, i can see
EKI_1 C00 2 2 7 DATATOSAVE EKI_2 C02 2 2 4 DATATOSAVE EKI_3 C04 2 2 3 DATATOSAVE EKI_4 C06 2 2 1 DATATOSAVE EKI_5 C08 2 2 1 DATATOSAVE EKI_6 C0A 14 20 4 DATATOSAVE EKI_7 C1E 20 32 4 DATATOSAVE EKI_8 C3E 2 2 3 DATATOSAVE prm file
SEGMENTS /* here all RAM/ROM areas of the device are listed. Used in PLACEMENT below. All addresses are 'logical' *//* Register space *//* IO_SEG = PAGED 0x0000 TO 0x07FF; intentionally not defined *//* non-paged EEPROM */ EEPROM = READ_ONLY 0x0C00 TO 0x0FFB; ...ENDPLACEMENT /* here all predefined and user segments are placed into the SEGMENTS defined above. */... DATATOSAVE INTO EEPROM; ... END
The .map file should show you the memory addresses where DATATOSAVE is located. Are these addresses in EEPROM, or elsewhere? If elsewhere, where are they?
Retrieving data ...