After looking through it ive got my original code I posted to work, just had to add in 2 lines. I left my direct address bank changes as they are but had to add the "bcf status,irp" command before reading the EEPROM and just before writing it for some reason and that makes everything work! Thanks for your help. - Mike -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Jan-Erik Soderholm Sent: 11 February 2004 10:35 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: Internal EEPROM access on 16F877 problems! Michael Gois wrote : > ..all seems to work fine now - And what was the change that made it work ? Jan-Erik. -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads