EEPROM state memory