Has anyone resolved this? I'm having exactly the same problem.
I have no idea if what Pyro said is true, if it was fixed in a new IDE version. In case it isn't though, here is the work around I used:
Code:
uint8_t eepromRead(int address)
{
return eeprom_read_byte((unsigned char *) address);
}
void eepromWrite(int address, uint8_t value)
{
eeprom_write_byte((unsigned char *) address, value);
}
{
return eeprom_read_byte((unsigned char *) address);
}
void eepromWrite(int address, uint8_t value)
{
eeprom_write_byte((unsigned char *) address, value);
}
You just use those functions to read/write to the EEPROM if it won't work right any other way.
Hope that helps!