piclist 2001\01\26\104750a >
Thread: reading/writing 16F87x program memory
www.piclist.com/techref/microchip/memory.htm?key=memory
flavicon
face BY : Mike Mansheim email (remove spam text)



When reading/writing the 16F87x program memory from itself, can the
configuration word be accessed?
I'm looking at this with a 16F876 (on an emulator so I can watch
registers), using the "flash program read" code from the data sheet
verbatim.  I can read locations 0-1FFFh ok, but when I try to read 2007h,
EEADRH gets changed from 20h to 0.  I don't see any obvious bit in
EECON1 that might have something to do with this.
In the intro discussion of this section, the datasheet says "These devices
can have up to 8K words of program EEPROM with an address range from 0h to
3FFFh", which is the same address range mapped out in the programming
spec for this part - leading me to believe I would be able to access the
configuration word.
Thanks for any help.

--
http://www.piclist.com hint: To leave the PICList
piclist-unsubscribe-requestRemoveMEspamSTOPspammitvma.mit.edu


<OFF44A2309.F0B90C7F-ON862569E0.0054FDDF@msp.graco.com>

See also: www.piclist.com/techref/microchip/memory.htm?key=memory
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) reading/writing 16F87x program memory

month overview.

new search...