That is not how eeprom works. Changing 1 to 2 or back will make it work, except if there is no communication using I2C. Here are the settings used for ruramps
#define TWI_CLOCK_FREQ 400000
// see eeprom device data sheet for the following values these are for 24xx256
#define EEPROM_SERIAL_ADDR 0x50 // 7 bit i2c address (without R/W bit)
#define EEPROM_PAGE_SIZE 64 // page write buffer size
#define EEPROM_PAGE_WRITE_TIME 7 // page write time in milliseconds (docs say 5ms but that is too short)
// specify size of eeprom address register
// TWI_MMR_IADRSZ_1_BYTE for 1 byte, or TWI_MMR_IADRSZ_2_BYTE for 2 byte
#define EEPROM_ADDRSZ_BYTES TWI_MMR_IADRSZ_2_BYTE
#define EEPROM_AVAILABLE 1
Tried to find the board in mk4due but could not find it by the name. What board id is used there and which timing settings do they use?
You could try TWI_CLOCK_FREQ 100000 instead. Maybe that will work. Unfortunately I have no ruramps board so I can not test which setting will work. Here I need your help to find what that problem is. It is quite clear that I2C never succeeds reading which is when it gets no answer from the device. Posiible reasons are wrong serial addr or wrong speed. Don't think it is the page size/write time.