i have done the interface between ds1307 and 89v51rd2.the output to uart after reading time and date from the rtc ic not correct i am getting like Time=36:32:0D,Date=1F/1C/3F.can any one help me.
The most important tool for debugging is the one between your ears - you need to learn to think about the problem that you are seeing, think about what could possibly cause those problems, think about what tests & observations to make to identify the problems, etc, etc,...
Again, here are some tips:
www.8052.com/.../120313
www.eetimes.com/.../Developing-a-good-bedside-manner
Debugging is an essential part of the development process.
Developing software is not just a matter of writing code - you need to be able to debug it.
Similarly for hardware development.