On Tuesday 24 February 2004 12:40 am, Ken Pergola scribbled: > Hi Neil, > > Also, for safety, I feel it would be best to explicitly clear STATUS, R= P1 > 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 func= tion > preconditions? I'm sure that RP1 does not change, but I added explicit code to do this i= n the=20 write routine just now, and no change to the problem still. > > For now, you might just want to use BANKSEL even though it will be some= what > wasteful in terms of redundancy in certain cases. I still prefer explicit instructions to set/clear the appropriate bits, s= ince=20 I feel it's a bit more readable/familiar to me. > > Best regards, > > Ken Pergola Cheers, -Neil. -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu