View previous topic :: View next topic |
Author |
Message |
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Fri Jan 14, 2011 7:59 pm |
|
|
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
|
|
Posted: Mon Jan 17, 2011 5:40 pm |
|
|
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
|
|
|
kdlee
Joined: 13 Jan 2011 Posts: 10
|
|
Posted: Mon Jan 17, 2011 6:10 pm |
|
|
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
|
|
Posted: Thu Jan 20, 2011 7:37 am |
|
|
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 ? |
|
|
|