Can't locate EEPROM?
Byron A Jeff email (remove spam text)
On Wed, Mar 06, 2002 at 04:11:34PM -0000, Kevin Blain wrote:
> Generally speaking however, the hex file produced by mplab for example
> located the EEPROM data at org 0x2100, for programming purposes. This
> won't appear in the program memory window, but it will be in the hex
> file. The PIC when in programming mode knows this is actually for the
> EEPROM bit.
Not exactly. The PIC programmer knows that it belongs the the data EEPROM
and will send 'program data EEPROM' instructions instead of 'program program
Flash' instructions. The PIC itself will not respond to an address of 0x2100
in programming mode under any circumstances.
> Because of the obfuscated method which the hex file is stored, this will
> appear at 4200 (2100 x 2) in the hex file, with every other byte being
> EEPROM data.
Not obfuscated. The hex file stores byte addresses. PIC instructions take 2
bytes. Therefore the addresses in the hex file must be double the addresses
in the PIC assembly listing.
http://www.piclist.com#nomail Going offline? Don't AutoReply us!
email mitvma.mit.edu with SET PICList DIGEST in the body listserv
In reply to: <email@example.com>; from kevinb@WOODANDDOUGLAS.CO.UK on Wed, Mar 06, 2002 at 04:11:34PM -0000
See also: www.piclist.com/techref/microchip/memory.htm?key=eeprom
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the