i was trying to read and write data bytes to EEPROM CAT24C05. It is not working.I could open the i2c interface with slave address 52 .After that writing address byte is not happening.
The source code is attached .I could open the eeprom i2c interface.But after that fail to write i2c address errror is coming. Kindly help. Also i would like to know which address locations MAC address and other important data is stored.