Re: Codewarrior vs. Cosmic C for Freescale 9S08

I have the fun (?) task of picking a compiler/debugger to use for the
Freescale MC9S08 family of microcontrollers. I have narrowed it down
to two: Codewarrior from Metrowerks (a Freescale company), and Cosmic
C. I have used Cosmic C before in a command line mode, but did not
have the debugger and so did not use it. Another peer has used
Codewarrior and generally liked it. I have CW installed and am
starting to play with it and it seems a little weird, but I am still
trying to get used to it.

I am wondering if there is an advantage to using either one. Cosmic C
is about three times the cost of CW, but I am wondering if it might be
worth the extra cost. For me personally, I do not use the IDE to
write code; I use CodeWright for that. So, I am not real concerned at
how well either one is at code entry. Others on my team might want a
good IDE however.

Has anyone out there used both of these products and can give me any
recommendations on one over the other? Thanks.


I've used Cosmic C compiler for compiling programs on the MC9S08AW60 (
HCS08 family ) and codewarrior C++ too. Codewarrior C++ gives you full
graphical IDE with features to port code onto your S08 MCU but with Cosmic
you need to find another software to download code or flash it. You might
try WinIdea to debug the code .It depends on your requirements. If you are
not fond of graphical IDEs which do the job for you, you might try Cosmic C
otherwise, you might try metrowerks. You might want to refer which compiler
is efficient with respect to your requirement . Do you need source level
optimizations? You can check with the vendors to know more about their
features or read their Compiler / linker manuals .With Cosmic C you have
to compile your code , the old fashioned way. Compiler , link and use make
files . Then find your Elf or IEEE-695 binary image for final download onto
your MCU. Codewarrior does all these for you in an IDE but it costs a lot.
Cosmic C compiler is almost the standard in automotive software
development for Automotive ECU's .It has strong support for Freescale
Microcontrollers. Many of them use the Freescale's S08 and S12X family of

Hope this helps,
Amit Malyala


Relevant Pages

  • Re: CW X 10.1++ ... lets start a pool
    ... >>>CodeWarrior IDE without the plugins is just another IDE there are ... >>>technology, debugger technology and linker technology and ... I agree that the compiler technologies were great, but frankly, ... > if forced I'd rather have the CodeWarrior IDE containing the Xcode ...
  • Re: REALbasic 2006 Release 3: Universal Binaries?
    ... Although this is true with the IDE, ... that it is true of the RB compiler itself. ... at that point we'll have to use Xcode, or at least gcc, to build the ... RB to build itself suffers from the same limitations as CodeWarrior: ...
  • Re: IDEs that support ADA
    ... but the IDE project view wouldn't make you navigate all levels of the package hierarchy and just display the package "edu.vtc.myproject" as an individual node. ... The Scala compiler has a special interface designed to assist IDEs. ... I believe the Emacs extension ENSIME also uses the presentation compiler to do what it does. ...
  • Re: Looking for a free basic compiler for DOS
    ... BC for 7.1 had a lot of compiler switchable options, ... NEVER compile from the ide. ... One trivial example: I have a routine declared as: ... were no manuals, just a readme file. ...
  • Re: HPGCC Questions ladies and gentlemen!!!
    ... free compiler to learn C today I would choose MS Visual C++ Express ... ANSI C has been deprecated but it's still there and the IDE ... Create the program with your favourite text editor, call it, say, hello.c ... Project management is nothing exclusive to IDE's -- there are many ...