This thread discussed about how to change the speed of the I2C bus so as to access the eeprom. Perhaps you may take reference and see whether the issue still exist....
No, not working.
I create a mi.cgs file with the content
ENTRY "I2C Speed"
"Speed" = "100 KHz"
in the application folder and add
CGS_LIST += $(DIR)/mi.cgs
in the makefile.mk
Still the same.
btw, what is the brand and part number of your eeprom?
at24c512 -> eeprom part number.
And, the clock issue is not yet solve. Still wrong.
Please refer to my PM to you.