I don't know if this is the right forum for posting an IAR C compiler question, but I cannot see any other forum for posting.
My problem is that I cannot place data in an EEPROM absolute segment. My code is:
/* Data placement in EEPROM */
#define EEPROM_FAULTS 0x00
__eeprom const UC noFault @ EEPROM_FAULTS = 0x00;
while I can place data in FLASH using:
/* Data placement in FLASH*/
#define FLASH_FAULTS 0x1FF
__flash const UC noFault @ FLASH_FAULTS = 0x00;
I have read the IAR C Compiler manual and I think that I am doing it well.
When I inport the debug file in AVRStudio in order to debug it I cannot see the data in EEPROM, while I can see it in FLASH.
Why this happened???