Searching \ for 'CCS Output Determination...' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=output
Search entire site for: 'CCS Output Determination...'.

Truncated match.
PICList Thread
'CCS Output Determination...'
2000\04\18@174625 by Sam WILLIAMS

flavicon
face
I have been playing around with the CCS compiler recently and I was wondering exactly how you determine  the ram size needed for the resulting hex file? I have looked in the .lst file and don't feel comfortable with the information I found in their. Any hints and suggestions would be extremely helpful.

Thanks in advance

--- sam williams



**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.


**********************************************************************

2000\04\18@182905 by briang

flavicon
face
In-Reply-To: <spam_OUTs8fc9007.073TakeThisOuTspamgwia.rkd.snds.com>

Sam WILLIAMS <.....sam.williamsKILLspamspam@spam@HS.UTC.COM> wrote:
> I have been playing around with the CCS compiler recently and I was wonderi
> ng exactly how you determine  the ram size needed for the resulting hex fil
> e? I have looked in the .lst file and don't feel comfortable with the infor
> mation I found in their. Any hints and suggestions would be extremely helpf
> ul.

I'm not sure I understand the question.
The HEX file goes in ROM on the chip.

At the top of the LST file you get info like this:

{Quote hidden}

That's always been sufficient for me.

Brian Gregory.
briangspamKILLspamcix.co.uk

2000\04\19@094950 by M. Adam Davis

flavicon
face
The compiler I use (cc5x) and mplab both provide RAM usage in a text-graph
output.

Say your target has 4 banks of 16 bytes, the first 8 are dedicated to processor
functions (output, tris, pclath, etc)

I doubt I have the symbols right, but you ought to read the manual to find the
symbols anyway:

--------******..        <-- 8 reserved, 6 used by your program, 2 free (bank 1)
--------********        <-- 8 reserved, 8 used by your program, 0 free (bank 2)
--------**3.....        <-- " ", 2 used as bytes, three bits are stored in
                           another byte, 5 free (bank 3)
--------........        <-- 8 reserved, 8 free (bank 4)

You'll need to look at the manual for CCS to find out what characters they use
to display RAM usage.

If, however, you are talking about ROM usage (program space needed) then that is
usually listed at or near the end (472 instructions, 1.4% optimization, etc)

-Adam

Sam WILLIAMS wrote:
{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 2000 , 2001 only
- Today
- New search...