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

Still out of ROM after changing to larger PIC
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
gpsmikey



Joined: 16 Nov 2010
Posts: 588
Location: Kirkland, WA

View user's profile Send private message

PostPosted: Fri Jan 14, 2011 7:59 pm     Reply with quote

One thing to try - re-download the compiler etc and do a clean install, not just from the copy you have on your machine. I would expect it to check for corruption on install, but one never knows.

mikey
_________________
mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3
kdlee



Joined: 13 Jan 2011
Posts: 10

View user's profile Send private message

PostPosted: Mon Jan 17, 2011 5:40 pm     Reply with quote

I've done a clean install from newly downloaded installer files and I still get the same result.

One interesting data point. I ran the compiler in the CCS IDE and I got the correct % ROM used (2%). But when I run the compiler inside of MPLAB, I get the wrong amount of ROM used (5%).

340/16384 = 2%
340/7360 = 5%

I'm not sure how MPLAB could be confusing the compiler. I'm going to try upgrading MPLAB to the latest version.
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Mon Jan 17, 2011 5:43 pm     Reply with quote

Quote:
I'm going to try upgrading MPLAB to the latest version.

Carefully check the MPLAB IDE forum on the Microchip website.
They don't like MPLAB vs. 8.63 (or vs. 8.60).
http://www.microchip.com/forums/m547437.aspx
http://www.microchip.com/forums/m545789.aspx
http://www.microchip.com/forums/m546000.aspx
kdlee



Joined: 13 Jan 2011
Posts: 10

View user's profile Send private message

PostPosted: Mon Jan 17, 2011 6:10 pm     Reply with quote

Upgrading MPLAB seems to have fixed my problem. I have no clue why/how the IDE could affect the compiler. I'll keep any eye out for any IDE wierdness from now on.

Thanks for all the help.
dmmano



Joined: 23 Sep 2010
Posts: 4
Location: Bangalore,India

View user's profile Send private message Send e-mail

PostPosted: Thu Jan 20, 2011 7:37 am     Reply with quote

Hi,
Since I am facing out of rom segment is too large problem, I need to use #inline, #separate.

How to use #inline and #separate ?
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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