Computer Solutions Ltd
Whats New | Advanced Search
Downloads | Exchange Rates

Celebrating 34 years
supplying all your Embedded Development Tool needs


CodeWarrior C & C++


The Freescale CodeWarrior IDE integrates compilers and debuggers for the Freescale ( was Motorola) range of CPU families. 

 

Freescale have drastically reduced the cost of their compilers and have re-packaged them so that now when you buy the CodeWarrior Suite you get not one compiler - but copies of ALL their compilers.  If you want a Floating Licence you can have it for the same cost as a Dongle locked licence.  You can even hire your Compiler by the year.

Select this link for more details of how you can benefit from these unusual Licensing conditions.

Compilers for :-

 

"CodeWarrior for Microcontrollers"    supports both the 68HC(S)08(R)  families and the ColdFire v1 core

  68HC(S)12(X) 68K,      CPU32 DragonBall
  ColdFire v2, v3 & v4 Power PC   (all variants)
  Freescale DSPs Linux Platform or Application versions for
ColdFire and PPC
 

CodeWarrior Features:

The CodeWarrior compilers runs under windows in their own common integrated development environment (IDE) that includes Project management, Make, Linkage  and control of debugging hardware. Integrating debugging into the same environment significantly speeds up the development process.

Flexible project support  -  It will create and manage anything from single file assembly projects to complex C projects with multiple files.
               Manages dependencies
               The same project can be used to create different versions such as debug and release.

Build system with optimizing C as well as C++/cC++/EC++ compilers *   ( cC++ is compact C++ )

Macro Assembler (absolute, relocatable, mixed and in-line)

Linker removes unused code

Graphical, source-level debugger

Flash programming support

* There is a full chip simulator for some chips (see individual CPU literature), an integrated data visualization tool, code coverage, profile analysis* and trace tools* which provide clear, meaningful insight into the program’s run-time behaviour.

UNIS Device Initialization tool to generate CPU and peripheral initialization code *

OSEC debugging interface to RTOS task information *

The compiler has more than 60 advanced optimization strategies specifically designed to boost performance and reduce code size.

PPC version also supports  - position independent code/data (PIC/PID) and Small Data Area (SDA) modes
                             hardware and memory diagnostic tests
                             Eventpoints that can perform a debug task when specific conditions are true or a line of code is executed

Many BDM/JTAG hardware interfaces can provide the link between the CodeWarrior debugging software and the target hardware in particular the Abatron and P&Es Cyclone Pro and Max units as well as P&E USB Multilink hardware interfaces

Support is provided for 12 months by Freescales email, web and phone support services.

 

   * Pro Version, only for some chips see individual CPU specific literature

  Code Simulation Debug Interfaces supported Basic
 Suite contains
Standard Suite contains Pro Suite contains
CodeWarrior for Microcontrollers
supports both
68HC(S)08(R)

& ColdFire v1

C, C++
EC++ cC++
Yes
(limited in Basic)
P&E Cyclone Pro,

P&E USB MON08 for 08,

P&E USB Multilink for S08

and MCF51QE128
HC08......
Assembler ......Unlimited

C........................... 64 KBytes
C++......................  1 KBytes

C - unlimited

C++ -1K limit
C, C++, EC++
 unlimited

 

OSEC
Profiler
Code coverage

ColdFire  v1......
Assembler ......Unlimited

C........................... 128 KBytes
C++......................  1 KBytes

CodeWarrior for
68HC(S)12(X)
C, C++
EC++, cC++
Yes P&E Cyclone Pro,

P&E USB Multilink,

Abatron BDI (CW Pro only)

Assembler ......Unlimited

C........................  64 KBytes

C++ ...................  1 K Bytes

 

XGATE C, C++......512 Bytes

 

IDE limited to 32 files

C - unlimited
C++ -1K Bytes limit

XGATE C &
C++ -512Bytes

C, C++, EC++ & XGATE  all unlimited


OSEC
Profiler
Code coverage

CodeWarrior for
68K, CPU32, CPU+,
DragonBall
C, C++
EC++
No P&E USB Multilink 16/32

Abatron BDI
N.A. N.A. C, C++,EC++ unlimited
OSEC
CodeWarrior for
ColdFire v2,3,4
C, C++
EC++
Yes

(not in Basic)

P&E Cyclone Max,

P&E USB Multilink CF
Assembler

C    no C++
Flash and Debug limited to 512 K Bytes

Assembler..... Unlimited
C ...................Unlimited

 

No  C++

C, C++,
EC++ unlimited
OSEC
CodeWarrior for
Power PC
7xx, 74xx, 8xx, 82xx, 83xx, 85xx, 8541
C, C++ No Abatron BDI N.A. N.A. C, C++ unlimited
Board bring up
CodeWarrior for
MPC5xx
C, C++ No P&E Cyclone Max,
P&E USB Multilink PPC
N.A. N.A. C, C++ unlimited
Board bring up
CodeWarrior for
MPC5xxx
C, C++ No   N.A. N.A. C, C++  unlimited
Cost for ALL the above compilers in a single package with no time limit
Either one seat with Dongle or a Floating Licence
< £850 <£ 2,000 <£ 4,000
 

 

In addition to the CPU families shown above, there is support available for:-

PowerPC and ColdFire used in creating Linux platforms and applications (Windows or Linux based).

Netcomm,StarCore DSP, 711xDSP, 56800/E, MobileGT,

As well as for upgrades from limited memory "Special" packages to unlimited, Standard or Pro.

 

 


C++ The Future?

C++'s proponents claim many advantages for this language and certainly, for some 16 and 32 bit applications, these make it attractive. However, even it's staunchest advocates admit to "features that may have undesirable side-effects when used in real-time embedded projects" like indeterminate garbage collection to name only one. A lot of work is going into embedded subsets of C++ that will reduce the code bloat and control execution time overheads without losing C++'s primary advantages.

 

The Freescale C++ compiler allows the user great control over the compiler. It can be set either for full ANSI C++ (excluding exception handling - the largest source of additional code) or to the emerging EC++ standard or for Compact C++ in which the individual features may be selectively enabled or disabled to control the subset in use. In typical applications code sizes have been measured as: Assembler (1), C (1.2), Compact C++ (1.5), EC++ (1.7) and Full C++ (6). To a first approximation execution speeds follow the same ratios.

 

Memory usage of C++ variants
 
Home Shop Products Supported Chips Information Zone Contact Site Map
 
Computer Solutions Ltd
1a New Haw Road, Addlestone, Surrey KT15 2BZ, England
 
Telephone: +44 (0) 1932 829460      Fax: +44 (0) 1932 840603
Email: sales@computer-solutions.co.uk      Web: www.computer-solutions.co.uk
 
Copyright © 2012 Computer Solutions Ltd