On Wed, 22 Dec 2010 22:20:47 -0500, "Thomas E Hunt" said: > Thanks for taking the time to read! This is my first post to the > list. I am a Java developer who has been playing with Pic microchips > for about a year as a hobby. I pulled code from AN976 to get a pic > 16f876a working with a 24LC256 eeprom. The code works fine on the > breadboard. In gpsim, I time out on Ack polling. For gpsim, I set SDA > and SCL to pullup resistors. A0, A1, A2, and WP all to pulldown > resistors. The code falls into a timeout on acknowledgement polling. Hi Tom, There are a few people who use gpsim on the list, alas I am not one of them. I know there are always errata regarding problems in the silicon, but for the 16F876A I think the silicon is pretty good for I2C master. And of course Microchip's sample code is a "usual suspect". But my gut tells me the simulator is what's at fault in this case. Hopefully someone with gpsim experience will chime in. Welcome to the Piclist! Friendly regards, Bob --=20 http://www.fastmail.fm - The way an email service should be --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .