i cannot read or write on the internal eeprom

is there a need of interrupt disable to access the eeprom?