debbugging solar step 1 : added safe guard to ensure proper erase using i2c_eeprom_erase