Michael Gois wrote : > 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"... I must be missing something here, but I don't remember seeing the INDF register beeing used in your original code !? Or does the IRP bit have any other function I've missed ? Or maybe you ment one of the RP1/RP0 bits ? > ... command before reading the > EEPROM and just before writing it for some reason and that makes > everything work! And knowing what "some reason" actualy is, is maybe the most important part here ! > Thanks for your help. My pleasure ! 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