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

Writing to EEPROM during compile/program?

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



Joined: 20 Aug 2006
Posts: 12

View user's profile Send private message

Writing to EEPROM during compile/program?
PostPosted: Mon Sep 04, 2006 3:44 pm     Reply with quote

I am programming several PICs, and would like to "pre-program" some data into the EEPROM during the PIC flashing. In PicBasic Pro, I would just use the "EEPROM" statement in my code, which defines the initial contents of on-chip EEPROM.

How do I define the initial contents of on-chip EEPROM in PICC?

Boyd
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Sep 04, 2006 3:54 pm     Reply with quote

http://www.ccsinfo.com/forum/viewtopic.php?t=19337&highlight=0x2100+0xf00000
http://www.ccsinfo.com/forum/viewtopic.php?t=22359&highlight=0x2100+0xf00000
BoydNielsen



Joined: 20 Aug 2006
Posts: 12

View user's profile Send private message

PostPosted: Mon Sep 04, 2006 4:00 pm     Reply with quote

Thanks for the quick reply. This is exactly what I was looking for. Now to play...

Boyd
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