View previous topic :: View next topic |
Author |
Message |
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
Address of EEPROM ? |
Posted: Sun Feb 07, 2010 4:48 pm |
|
|
I was trying to find the EEPROM address for the #ROM directive on the 12F683. I could not find this on the Microchip datasheet and had to browse forum postings for an example.
Does anyone know where I can find this information in the formal docs? Perhaps I've missed it somewhere but careful perusing of the EEPROM section (10.0) only says EEPROM address locations are numbered from 0x00 to 0xff. However for the #ROM directive the first address location is 0x2100., which was verified by actual test.
Thanks. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
EEPROM address information not found |
Posted: Sun Feb 07, 2010 9:57 pm |
|
|
Thanks for the quick reply. However, the document referenced in the post does not have a section 5.5 and references the memory locations EXCEPT EEPROM. The document has been updated since that post. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Feb 08, 2010 12:36 am |
|
|
Here's the latest Programming Specification for the 12F683.
http://ww1.microchip.com/downloads/en/DeviceDoc/41204H.pdf
It might not be the exact same section number in every Programming
Specification, but it will be somewhere near end of the document.
In the case of the 12F683, the section is:
Quote: | 5.3.2 Embedding Data Memory Contents in Hex File. |
Look at the bottom of page 34.
It does give the address of 0x2100. However, calling it "Data Memory"
instead of "Data EEprom" is confusing. |
|
|
jgschmidt
Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
|
|
Posted: Mon Feb 08, 2010 1:35 am |
|
|
Thanks! I appreciate you tracking that down. That was well hidden. At least I'll know what to look for when I work with other processors. |
|
|
|