CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Address of EEPROM ?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jgschmidt



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

Address of EEPROM ?
PostPosted: Sun Feb 07, 2010 4:48 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Sun Feb 07, 2010 5:00 pm     Reply with quote

This post tells how to find the eeprom address on the Microchip website:
http://www.ccsinfo.com/forum/viewtopic.php?t=35539&start=3
jgschmidt



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

EEPROM address information not found
PostPosted: Sun Feb 07, 2010 9:57 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Mon Feb 08, 2010 12:36 am     Reply with quote

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

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Mon Feb 08, 2010 1:35 am     Reply with quote

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group