Quote:
|
Originally Posted by prograid
...the script is being run as a post-build command from within eclipse.
|
Sorry for the slow response, I've been offline last week.
I'm guessing that you are doing something clever with your linker script and that is confusing the codsize script. Are you even using the linker script? I can only imagine what hacks you have had to perpetrate to make mcc18 work under Eclipse. Anyway, from your mapfile:
Code:
Program Memory Usage
Start End
--------- ---------
0x000800 0x000814
0x000818 0x0063a0
0x300000 0x30000d
23468 out of 33816 program addresses used, program memory utilization is 69%
My codesize script is improperly concluding that your program ends at address 0x000814 rather than 0x0063a0. My unfounded guess is that you have an extra CODEPAGE entry in your .lkr file.
At any rate, the bug is indeed in my script. I'll think about this a bit more and post a fix in a day or two.