EEP_ADDRESS MUST be a byte... Something change in the ControlByte when you want to access the other EEPROM Page (Banks). Page 6 of the above data sheet
One more, you haven't disable AN<9:8> yet, and it's your I2C lines... check ANSELH settings.... probably THE MAIN reason why you always have 00 as results. If it was the WP pin of the EEPROM, you would probably have FF all the time. if the device is already blank.
Last edited by mister_e; - 23rd May 2008 at 00:22.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks