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

write_eeprom();

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



Joined: 14 Jul 2007
Posts: 38

View user's profile Send private message

write_eeprom();
PostPosted: Mon May 19, 2008 10:59 am     Reply with quote

hi everyone,

ı think i get some information about eeprom and its functions in microcontroller.

i need to write datas to eeprom and then read it from where it was written.
my problem is i could not write and read the eeprom with the functions:


write_eeeprom(address,data);

read_eeprom(address);


please help me.
best wishes....
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon May 19, 2008 11:08 am     Reply with quote

You didn't post the PIC that you're using. Here's an example for 16F PICs:
http://www.ccsinfo.com/forum/viewtopic.php?t=32722
ferkar



Joined: 14 Jul 2007
Posts: 38

View user's profile Send private message

write_eeprom();
PostPosted: Tue May 20, 2008 6:48 am     Reply with quote

i am using 16f877 at 20mhz.

i tried again and again but i saw nothing in the eeprom address' contents.
any idea?
where should i observe the eeprom register?

(i use winpic3.55 programmer)
best wishes
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Tue May 20, 2008 11:52 am     Reply with quote

Quote:
but i saw nothing in the eeprom address' contents

Tell us how you know this. Post a small test program, similar to the
one shown in my link. Tell us exactly what you get as the result.

Are you doing this for real ? Or, are you using Proteus ?
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