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 CCS Technical Support

18F4620 and EEPROM

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



Joined: 10 Feb 2004
Posts: 205

View user's profile Send private message

18F4620 and EEPROM
PostPosted: Thu Jun 09, 2005 3:35 pm     Reply with quote

Code:
#ROM int 0xF00000 = {
20,//vol
1,//curfil
0,//seqstart
0,//psound
}


The code above works to put values into eeprom of a 18F452. Now I want to use 18F4620. The code above gives me verify errors so obviously the eeprom data needs to go elsewhere. Where do you guys look to find the eeprom location for a specific chip? I have looked at the data book and I don't see where they print this information.

Thanks.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Jun 09, 2005 3:51 pm     Reply with quote

Go to the programming specifications page on the Microchip website.
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1407
Download the spec for your PIC:
Programming for PIC18FXX20 Flash MCUs

Look near the end of the document, for this section:
5.6 Embedding Data EEPROM
Information In the HEX File

That's where Microchip gives the address.
It's listed as F00000h.

Make sure that your programming software has the data eeprom
enabled for programming.
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