eeprom segment

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

eeprom segment

730件の閲覧回数
IlConte
Contributor IV

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

0 件の賞賛
返信
0 返答(返信)