??? 01/09/09 10:14 Read: times |
#161379 - Know your code? Responding to: ???'s previous message |
Did you write all your own code for this device or did you leverage code from App notes and/or code libraries?
I ask this because maybe if you used other code you may not be fully familiar with how it works. Have you looked closely to see if somehow the code you have is masking the register address in the low level access routine. Since the RTC registers are all in the 0-7 range it could be that code is ANDing the entry address to the routine with 0x7 to trim it to three bits only. That could play havoc with attempts to access the NVRAM portion in addresses 8-63. Michael Karas |
Topic | Author | Date |
DS1307 Memory Read and Write | 01/01/70 00:00 | |
Know your code? | 01/01/70 00:00 | |
Another thing to consider... | 01/01/70 00:00 | |
Pinnacle 52 | 01/01/70 00:00 | |
The RAM is same as ordinary registers. | 01/01/70 00:00 | |
Debugging Strategy | 01/01/70 00:00 | |
Debugging Strategy for DS1307 memory Reading | 01/01/70 00:00 | |
next step | 01/01/70 00:00 | |
Be more specific. | 01/01/70 00:00 | |
a minor correction | 01/01/70 00:00 | |
Which i2c device? | 01/01/70 00:00 | |
another small correction | 01/01/70 00:00 | |
SMBus | 01/01/70 00:00 | |
Which REAL i2c device | 01/01/70 00:00 | |
apples and oranges | 01/01/70 00:00 | |
Sorry Erik | 01/01/70 00:00 | |
as I recall | 01/01/70 00:00 | |
its working![]() | 01/01/70 00:00 |