I have the chip's SDA and SCL lines connected to my 16F877A pins, A0-2
and WP are grounded, and I have the pull-ups in place. When I use
hardware mode, my entire program fails to run, and when I use the software
mode it runs, it fails to write (or fails to read) the data back from the
eeprom (just returning all bytes as 0xFF). I am using a hardware code of
1010b as defined in the eeprom's notes. Do I need to configure the PortC
ports myself, or is it just suffiicient to call i2c_init.