View previous topic :: View next topic |
Author |
Message |
sahu77
Joined: 08 Sep 2011 Posts: 202
|
External eeprom connect with 16f72 |
Posted: Wed Feb 01, 2012 10:28 am |
|
|
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
|
|
Posted: Thu Feb 02, 2012 8:10 am |
|
|
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
|
|
Posted: Thu Feb 02, 2012 10:29 am |
|
|
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
|
|
Posted: Fri Feb 03, 2012 2:04 pm |
|
|
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
|
|
Posted: Sun Feb 05, 2012 9:17 am |
|
|
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 |
|
|
|