Point me to the right direction please

Oops! My bad I tought it was 255 bytes intead of 512 byte in the EEPROM
thanks for the explanation tho. cheers!