The /boot/config.txt contains the following entries related to I2C -
dtparam=i2c1=on
dtparam=i2c_arm=on
dtoverlay=i2c-rtc,ds1307
When i run the i2cdetect -y 1 command, I am able to see the memory location 68. But it is not turning to UU after running the echo command.