Hi Neil, Also, for safety, I feel it would be best to explicitly clear STATUS, RP1 in your EEPROM WRITE routine. Your routine makes the assumption that the RP1 bit is already cleared. But we are not seeing the entire code so maybe this is one of your function preconditions? For now, you might just want to use BANKSEL even though it will be somewhat wasteful in terms of redundancy in certain cases. Best regards, Ken Pergola -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body