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

question about internal eeprom

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







question about internal eeprom
PostPosted: Sat Jan 27, 2007 10:37 am     Reply with quote

I'm a young pic programmer so perhaps I ask a stupid thing.
I would like to program the PIC with my program code. Then (that is to say in an indipendent manner) I need to write to internal eeprom a table of data. I need to change data values with programmer but also pic code must be able to read/write that table of data.
It is possible or not?

Thank You
Guest








PostPosted: Sat Jan 27, 2007 1:06 pm     Reply with quote

Hi,

Yes, that is definitely possible!

Cheers,

Chad
rnielsen



Joined: 23 Sep 2003
Posts: 852
Location: Utah

View user's profile Send private message

PostPosted: Mon Jan 29, 2007 9:56 am     Reply with quote

It is possible to write data to the internal EEPROM while writing the program to the PIC. You could write the table to it when you program the PIC. That would save you a step and possibly some code space. Then, there are commands that allow you to read from and write to the EEPROM while the PIC is running. These will allow you to read the table and modify it as needed.

Ronald
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