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

Please help! Out of Rom,A segment or the program is too larg

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
sorasit46



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

Please help! Out of Rom,A segment or the program is too larg
PostPosted: Sun Mar 02, 2008 7:47 am     Reply with quote

Use 16F876A.
Before out of rom,I just compile success at Rom 41%,Ram 21%.But when type Void xxx(); only 1 command for jump to old void in Main program. Compile result is " Out of Rom,A segment or the program is too large ".
Why out of Rom.....?
Thanks
wait hope!


Last edited by sorasit46 on Sun Mar 02, 2008 10:35 am; edited 1 time in total
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Sun Mar 02, 2008 7:58 am     Reply with quote

1)-Did you read the Manual?
2)-Did you see the FAQ?
3)-How about searching the forum, before asking?
4)-This is not the compiler support site.


Humberto
Ken Johnson



Joined: 23 Mar 2006
Posts: 197
Location: Lewisburg, WV

View user's profile Send private message

PostPosted: Sun Mar 02, 2008 8:41 am     Reply with quote

Humberto's # 3 is the way to go, but he (she?) could have been more tactful - must have had a bad Saturday night, eh?

Try a search Smile

Ken
Franck26



Joined: 29 Dec 2007
Posts: 122
Location: Ireland

View user's profile Send private message

PostPosted: Sun Mar 02, 2008 10:57 am     Reply with quote

Hi sorasit46,
I was looking for that too...

https://www.ccsinfo.com/faq.php?page=out_of_rom

Good luck,
Franck.
Andreas



Joined: 25 Oct 2004
Posts: 136

View user's profile Send private message

PostPosted: Sun Mar 02, 2008 12:44 pm     Reply with quote

Hi Franck26

Can You tell me the difference between the first and the second listing ????

I cant see it

best regards
Andreas
Franck26



Joined: 29 Dec 2007
Posts: 122
Location: Ireland

View user's profile Send private message

PostPosted: Sun Mar 02, 2008 1:24 pm     Reply with quote

Hi Andreas,
Yes, it's quite funny: 2 times the same code....

So the solution is in this sentence:
"The solution in this example will be to put a #SEPARATE before the declaration for PROCESS_DATA or maybe one of the other big functions called by MAIN()."

Regards,
Franck.
sorasit46



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 3:02 am     Reply with quote

Franck26 wrote:
Hi sorasit46,
I was looking for that too...

https://www.ccsinfo.com/faq.php?page=out_of_rom

Good luck,
Franck.


Oh! Thank you very much;From your advice.Now I can solve my problem.
In the world have many kind of human.
I am so glad to meet you.Because you are kindness human.
Regard
sorasit46



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 3:09 am     Reply with quote

Humberto wrote:
1)-Did you read the Manual?
2)-Did you see the FAQ?
3)-How about searching the forum, before asking?
4)-This is not the compiler support site.


Humberto


I'm sorry is my question disturb you.
In the world have many kind of human.
I have bad luck to meet you, like you to read my question.
In future if you see my post with name " Sorasit46 " .Beg you do not see my post. I will thank you alot.
Bye you forever
sorasit46



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 3:12 am     Reply with quote

Franck26 wrote:
Hi Andreas,
Yes, it's quite funny: 2 times the same code....

So the solution is in this sentence:
"The solution in this example will be to put a #SEPARATE before the declaration for PROCESS_DATA or maybe one of the other big functions called by MAIN()."

Regards,
Franck.


Last edited by sorasit46 on Mon Mar 03, 2008 3:20 am; edited 1 time in total
sorasit46



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 3:14 am     Reply with quote

Ken Johnson wrote:
Humberto's # 3 is the way to go, but he (she?) could have been more tactful - must have had a bad Saturday night, eh?

Try a search Smile

Ken


You are same kind of human like Humberto.
If you know mean of tactful . Please action by yourself too.

Bye
sorasit46



Joined: 07 May 2007
Posts: 69

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 3:21 am     Reply with quote

Andreas wrote:
Hi Franck26

Can You tell me the difference between the first and the second listing ????

I cant see it

best regards
Andreas


If your original is
void xxx();

when you can not compile. (Out of rom)
you must type

#separate
void xxx();

Good luck
Humberto



Joined: 08 Sep 2003
Posts: 1215
Location: Buenos Aires, La Reina del Plata

View user's profile Send private message

PostPosted: Mon Mar 03, 2008 8:28 am     Reply with quote

I never thought that the following would be offensive:

1)-Did you read the Manual?
2)-Did you see the FAQ?
3)-How about searching the forum, before asking?
4)-This is not the compiler support site.


Humberto

Sorasit46 wrote:
Quote:

I'm sorry is my question disturb you.
In the world have many kind of human.
I have bad luck to meet you, like you to read my question.
In future if you see my post with name " Sorasit46 " .Beg you do not see my post. I will thank you alot.
Bye you forever


I'm sorry is my answer disturb you.
In the world have many kind of human.
I have bad luck to meet you, like you to read my answer.
In future if you see my post with name " Humberto " .Beg you do not see my post. I will thank you alot.

Bye you forever !!!

Humberto
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    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