On Fri, Feb 08, 2002 at 11:19:18AM +1300, Jinx wrote: > > > So is EEADR in bank 0 or 1? The data sheet itself, page > > 14 for example, show them all in bank 1, but you are saying > > that the 'data and address indices aren't in bank 1'??? > > No, I should repeat that - > > MY data and indices, not the PIC's. EEADR and EEDATA are > in bank1, the data I want to store and the info on where it should > go are in Bank0. Right. > > In Example 13-2 of the errata, the data is being got from a > Bank1 RAM address, without explanation that the data could > be got from any RAM in any bank if the bank select bits are set > appropriately. Then set the bank bits to access EEDATA and > EEADR Well not exactly. The example in the errata is static. Notice that the address and data are assigned with movlw, i.e. statically assigned. The issues you raise are correct, however not relavent to that particular example. BAJ -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics