Skip to main content
Visitor II
January 6, 2004
Question

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

  • January 6, 2004
  • 2 replies
  • 648 views
Posted on January 06, 2004 at 12:45

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

    This topic has been closed for replies.

    2 replies

    derek1Author
    Visitor II
    January 6, 2004
    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)
    Visitor II
    January 6, 2004
    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