cancel
Showing results for 
Search instead for 
Did you mean: 

ST7FLITE2 Cosmic C @eeprom doesn't work..help

derek1
Associate II
Posted on January 06, 2004 at 12:45

ST7FLITE2 Cosmic C @eeprom doesn't work..help

2 REPLIES 2
derek1
Associate II
Posted on January 06, 2004 at 12:12

I've checked previous messages and am using the suggested

@near @eeprom char time;

I get message

#error clnk FLite2.lkf:1 no default placement for segment .eeprom

I thought it was all predefined for the architecture of the chip???

I'm using the evaluation version of cosmic at present as it's a small application and I'm just trying it out.

Any help gratefully recieved.

Delthecat (the grumpy old man really)
sjo
Associate II
Posted on January 06, 2004 at 12:45

Have you declared the eeprom segment.

You need the following in the linker command file.

+seg .eeprom -b 0x1000 -m256 # eeprom area

Regards

sjo