Byron A Jeff wrote: > > > > > Byron A Jeff wrote: > > > > > > > > > > > Hi Guys, > > > > > > > > Can someone tell me where the EEPROM data Location is in the Memory Map = > > > > of a 16f877 ? > > > > > > > > To program the data EEPROM, the EEPROM data address defaults to 00h on > > chip reset as well as the ROM address. > > > > There is no need to set any address unles you want to move to a > > different one by using the increment address command. > > This is the confusion I want to clear up. I'm presuming that there are two > different counters for the program and data memories. However there's only > one increment command. > > So I'm presuming that the Increment Address will increment whatever counter > was applied during the last read/load/program command right? I honestly have no idea, but I imagine the PC is used for both. You would get a wrap around if the data EEPROM memory limits are exceeded, the same for ROM. Only when you jump to the config words will things change. I only program/read ROM or EEPROM, not swap randomly between them, although if you knew the data in each menory block at a given address, just do a read ROM and a read EEPROM and verify the data. Inc the address, do another read ROM and EEPROM and see if the data matches again for both. I imagine they would. -- Best regards Tony mICro's http://www.picnpoke.com mailto:sales@picnpoke.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads