2004-08-02 09:02 PM
Reading/ Writing to the EEPROM problem
2004-08-02 05:32 AM
I'm trying to read and write to the EEPROM with no sucess. This is my code
unsigned char *EEPROM = (unsigned char *) 0x1002; //Write EECSR = 0x02; //EEPROM write mode * EEPROM = 0x20; EECSR = 0x03; //Start Programming cycle while (EECSR & 0x01); //Read EECSR = 0x00; //EEPROM read mode cIDischarge = *EEPROM; Is there anything I need to add to the linker file to include to EEPROM memory? TIA2004-08-02 09:02 PM