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

External eeprom connect with 16f72

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



Joined: 08 Sep 2011
Posts: 202

View user's profile Send private message

External eeprom connect with 16f72
PostPosted: Wed Feb 01, 2012 10:28 am     Reply with quote

I want External eeprom connect with 16f72. My main purpose was solve with only 16f72, like mcu function etc, lcd, display, ADC, relay drive.
ok
But when I use long string, 16f72 is Out of ROM, means my code want above 2k ROM \ RAM.
But I can't change 16f72 with other pic mcu which have above 2k ROM \ RAM.
So I found idea i can use External eeprom ( 2464 etc ) which suitable long String (message).
So Search on CCS Forum. But not found my answer.
Hope all member understand what I want to say to all.
_________________
sahu
ezflyr



Joined: 25 Oct 2010
Posts: 1019
Location: Tewksbury, MA

View user's profile Send private message

PostPosted: Thu Feb 02, 2012 8:10 am     Reply with quote

Hi sahu77,

I suspect that have not received an answer because forum members are getting weary of your questions about things that you should be able to readily answer yourself....... I spent about two minutes and found a number of threads related to the use of external EEPROMS. Here is one example: http://www.ccsinfo.com/forum/viewtopic.php?t=35685

I also checked in the 'Examples' directory, and found at least one example program that deals with external EEPROM. Here it is: EX_EXTEE.C

If you keep asking the forum to read the CCS manual for you, search the forum for you, and check the 'Examples' directory for you, then you will (further) alienate the members of the forum, and they will start to ignore you no matter what question you ask.

John
sahu77



Joined: 08 Sep 2011
Posts: 202

View user's profile Send private message

PostPosted: Thu Feb 02, 2012 10:29 am     Reply with quote

My main problem is my 16f72 have not enough RAM for all variables. So I dissed for all string long\Small. I use External eeprom (2464 etc).
Now my confusion is here. How can I program all string in External eeprom after program External eeprom as all string ? Then I will read it by mcu 16f72.
Hope understand my problem.


Sorry for my bad English.
_________________
sahu
rikotech8



Joined: 10 Dec 2011
Posts: 376
Location: Sofiq,Bulgariq

View user's profile Send private message

PostPosted: Fri Feb 03, 2012 2:04 pm     Reply with quote

Man just look at the topic that the "ezflyr" was pointed to you. I had the same purpose and I recommend you to read this topic. There is a simple way to execute stream and save it to EEPROM. View that and then ask again.
sahu77



Joined: 08 Sep 2011
Posts: 202

View user's profile Send private message

PostPosted: Sun Feb 05, 2012 9:17 am     Reply with quote

My problem is
Code:

char message_1[47] = "Delay Mode On.If Want Instant On Please Push Reset switch ";
char message_2[35] = "stabilizer over load sense . So Please Reduce Load";
char message_3[68] = "stabilizer over load 150 % sense . So Please Immediate Reduce Load Up To  50 % ";

when i use as
Code:

// Write "char messages" to external eeprom chip.
 for(i = 0; i < sizeof(message_1); i++)
     write_ext_eeprom(i, message_1[i]);

It also take RAM \ ROM which i have not. I want use only read program with mcu.
&
All string Write separately.
_________________
sahu
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