Bit 0 is RW bit, and PBP set it automatically.
Your device address is $A0 and $D0.
For RTC address variable MUST be byte, for your EEPROM address MUST be word. This is because PBP will send 8 or 16 address bits depending on what type variable is used, as far as I know. And RTC expect 8bit address, EEPROM 16bit.
64K eeprom is not 64KB it is 64Kbit, which is 8192 bytes.




Bookmarks