> > Hi Guys, > > Can someone tell me where the EEPROM data Location is in the Memory Map = > of a 16f877 ? > > The data-sheet does'nt mention this nor does the Microchip ICSP guide. = > The only thing I could notice in the ICSP guide was that it says in a = > 16f84, the data eeprom is at the location 0x2100 . That's not how the data EEPROM works. It's described in chapter 4 of the data sheet. The data eeprom has an address and data registers along with control bits. Data EEPROM writes and reads are done be setting the address register, and then twiddling the appropriate control bits. When programming using a programmer there's a Program/Read data memory command. However I do admit that it's unclear as to how to advance the part to program or read subsequent addresses. My guess is that the Increment Address will increment the data memory address after a data memory load/read command. Can anyone comment on this? The 0x2100 is simply a mapping for the data of the data EEPROM in the hex object file so that assemblers can specify the EEPROM data to be loaded when the program is loaded. > > Is this location the same for 16f877 ? It's the same logical address for all PIC parts with EEPROM. BAJ -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads