I am just starting to look around at available C compilers for the Freescale line of 9S08 micros, specifically I have my eye on the MC9S08AW part. Does anyone have any definite recommendations on good C compilers for those parts? Any compiler you would recommend staying away from? Thanks.
We've used the Cosmic development tools for the CPU08. There have been one or two instances where I've looked at the assembly-language generated by the compiler and observed it could be optimized slightly (but who can't say that about any microcontroller compiler?) ... but one thing I have to say about Cosmic is that we have encountered no bugs. The compiler and other development tools have always been logically correct.
I give Cosmic a solid B+ for compiler optimization and a solid A of A+ for correctness of the compiler.
--
David T. Ashley (dta@e3ft.com)
http://www.e3ft.com (Consulting Home Page)
Cosmic does have bugs, although not too many. I have burned a couple of times. Once it was with the float point library, the other was with the C syntax mistake that was unnoticed by compiler.
I used to use the Whitesmiths/Cosmic C compiler many years ago for HC11 development and I generally liked it.
No problem for me. To their credit, the compiler also runs in a command line mode which is likely they way I will use it from my editor. I usually HATE IDE's and really, really like my editor.
I wonder how responsive they are to fixing bugs. I know the Rowley Comipler I use for the MSP430 has nice free customer support that is usually fast and accurate. The only weird thing I saw with the older Cosmic Compiler is that it would crash on compilation and if I simply added a few spaces in the source code, it would not crash. It was really a strange problem since sometimes I needed to delete spaces.
No problem, I generally do not write code that will cause that to happen (single thread, no library functions used in ISRs, etc.)
Thanks for all your input. I did go to their web site and the only thing I thought was weird was they did not seem to mention how much their stuff costs.
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here.
All logos and trade names are the property of their respective owners.