I have a S08 PT60 processor with codewarrior 10.6.4
I need to inizilize the eeprom value.
I have try to use a array definition :
// default eeprom value
const uint8_t EEdefault [16] @0x3100 = {0x00, 0x05, 0x05, 0x14, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
const uint8_t EEdefaultcpl [16] @0x3110 = {0xFF, 0xFA, 0xFA, 0xEB, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
const uint8_t EEdefault1 [16] @0x3120 = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
const uint8_t EEdefault1cpl [16] @0x3130 = {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF};
But don't work ! Why ?
I need to add a segment definition ?
Thanks
Stefano