On Tue, Mar 2, 2010 at 2:47 PM, William "Chops" Westfield wrote: > > On Mar 1, 2010, at 6:51 PM, Xiaofan Chen wrote: > >>> C compiler price? >> Zero if you use GCC. > > So which version of gcc supports M0? =A0Frankly, the compiler/tool > situation for ARM is bewildering. =A0It seems that each chip version > (and there are many) from each manufacturer (and there are many) needs > a different version of gcc, none of which are the standard sourceforge > distribution, Some vendors are just starting to support M0. http://ics.nxp.com/lpcxpresso/ http://www.code-red-tech.com/products.php#comparison BTW, GCC is not distributed from SourceForge. > few of which are available on multiple platforms, GCC works under different platforms. If you want a nice paid supported commercial IDE, here is one which works under Windows, Mac OS X and Linux. http://www.rowley.co.uk/arm/index.htm It actually supports M0. http://www.rowleydownload.co.uk/arm/packages/index.htm?http://www.rowleydow= nload.co.uk/arm/packages/LPC1000.htm > and some of which aren't available as source. =A0And then there are the > libraries, since few of the ARM chips are documented in enough detail > to actually write your own peripheral drivers. Crossworks has its own C library even though it is using GCC. For others, the vendor may have good support libraries which work well with GCC, for example, the library from Luminary works nicely with Code Soucery's GCC. > Grr. =A0It's enough to > make one question the goodness of Open Source, and look for a more > proprietary CPU architecture! > > >>> Low cost programmer? >> Very low cost programmer and debugger: use those JTAG debuggers >> based on parallel or USB. > Which may or may not be supported by the gcc toolset and whatnot you > have to use for the particular chip you're using... > > Grr. =A0Again. =A0I'll have my faith restored if anyone can tell me how to > develop code for my Luminary eval board on my Mac (other than "run a > windows or linux VM.") OpenOCD should work for Mac. I have no issues to use free CodeSourcery GCC for my TI/Luminary demo board ek-LM3S1968 under Linux. I use OpenOCD to flash the code with the on-board FTDI based JTAG debugger. Anyway, I wrote the config file for this board and it got committed last August. http://www.mail-archive.com/openocd-development@lists.berlios.de/msg07510.h= tml I have not spent too much time on it yet though so I have only tried Eclipse a bit. Others find it easy to setup. http://sites.google.com/a/stf12.net/developer-sw-fw/eclipse-demo http://developers.stf12.net/linux-demo http://www.pdp8.net/other/freertos_linux/install.shtml -- = Xiaofan http://mcuee.blogspot.com -- = http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist