No, in the example, the data is coming from literals. > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@mitvma.mit.edu] On Behalf Of Jinx > Sent: 07 February 2002 22:19 > To: PICLIST@mitvma.mit.edu > Subject: Re: [PIC]: 16F628 EEPROM write routine > > > > > 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. > > 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 > > -- > 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 ***************************************************************** This email has been checked by the altohiway e-Sweeper Service ***************************************************************** -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads