I am getting out of ROM with the F819. When I look in the .lst file I see the compiler does not use all the ROM (and RAM):
ROM used: 1768 words (99%)
Largest free fragment is 24
RAM used: 138 (85%) at main() level
151 (93%) worst case
Stack: 4 worst case (3 in main + 1 for interrupts)
When I add the 24 to the 1768 it gives me 1792 what is exactly the amount of words of the F818, strange... When I put the line
#device *= 16 to my program and recompile the following happens:
ROM used: 1915 words (94%)
Largest free fragment is 133
RAM used: 139 (57%) at main() level
159 (65%) worst case
Stack: 4 worst case (3 in main + 1 for interrupts)
1915 plus 133 is 2048 what is exactly the amount of instructions of the F819 (that is what I want) but now my program is not working anymore.
Can anyone help me with this?
Remko
treitmey
Joined: 23 Jan 2004 Posts: 1094 Location: Appleton,WI USA
Posted: Tue Feb 21, 2006 9:13 am
I think for this purpose, 99% is all ROM used up. I would think that the
24 blocks left are not large enough for the next object the compiler is
trying to put in ROM
Remko
Joined: 24 Sep 2003 Posts: 14
Posted: Tue Feb 21, 2006 9:18 am
Thank you for your replay treitmey,
I just found the problem. I am debugging with ICD2. The ICD2 takes the space in ROM from 0x06FF till 0x07FF and uses some RAM.
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