EmbeddedRelated.com
Forums
The 2024 Embedded Online Conference

Code Composer Essentials

Started by Robert February 8, 2005
Hi All, 

I currently use the IAR compiler but wanted to check out Code 
Composer Essentials.  I took a small test application (~7k code with 
IAR) and compiled it using TI's CCE compiler.  After changing some 
code to make it compatible with the TI compiler I had success.  What 
I'd like to do is compare code size between the IAR compiler and 
TI's compiler.  Has anyone seen an option in the compiler or linker 
that would cause the final code size to be printed in a file?  I 
can't seem to find it.

Thanks!

Robert




Beginning Microcontrollers with the MSP430

I just look through the *.lst file. Agricultural, but that's me;
simple 
and basic.

Al

Robert wrote:

>Hi All, 
>
>I currently use the IAR compiler but wanted to check out Code 
>Composer Essentials.  I took a small test application (~7k code with 
>IAR) and compiled it using TI's CCE compiler.  After changing some 
>code to make it compatible with the TI compiler I had success.  What 
>I'd like to do is compare code size between the IAR compiler and 
>TI's compiler.  Has anyone seen an option in the compiler or linker 
>that would cause the final code size to be printed in a file?  I 
>can't seem to find it.
>
>Thanks!
>
>Robert
>
>
>
>
>
>.
>
> 
>Yahoo! Groups Links
>
>
>
> 
>
>
>
>
>
>  
>


Robert,

Best you can do is generate a map file or listing.

You can use, for instance:

cl430 -ss -Iinclude foo.c -z lib\rts430.lib -o=foo.out -m=foo.map -abs

This generates a foo.map that sort of shows you what you need; usually
there's a program called "size" (I would expect size430.exe to be
present but isn't) that shows section sizes.  You can also use nm430 on
the .out file.

My current benchmark is a Reed Solomon error corrector.  Optimizing for
code size I get:

                  Code Size 
IAR v3.21A          6,035
CrossWorks 1.3      6,327
CCE v1.0.0B1       10,880  using -O3 -mn

Make your own mind up.  Benchmark available on the RAL site soon.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and (soon) MAXQ processors

> -----Original Message-----
> From: Robert [mailto:c0029131@c002...] 
> Sent: 09 February 2005 02:41
> To: msp430@msp4...
> Subject: [msp430] Code Composer Essentials
> 
> 
> 
> Hi All, 
> 
> I currently use the IAR compiler but wanted to check out Code 
> Composer Essentials.  I took a small test application (~7k code with
> IAR) and compiled it using TI's CCE compiler.  After changing 
> some code to make it compatible with the TI compiler I had 
> success.  What I'd like to do is compare code size between 
> the IAR compiler and TI's compiler.  Has anyone seen an 
> option in the compiler or linker that would cause the final 
> code size to be printed in a file?  I can't seem to find it.
> 
> Thanks!
> 
> Robert
> 
> 
> 
> 
> 
> .
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 


The 2024 Embedded Online Conference