6
\$\begingroup\$

I'm hoping for an IDE of some kind, but I'll take any compiler or assembler! Can't seem to find anything by googling.

\$\endgroup\$
  • 5
    \$\begingroup\$ Yep. \$\endgroup\$ – tyblu Feb 23 '11 at 2:46
8
\$\begingroup\$

I use MSPgcc for msp430 series, IAR is another CSS The later have restrictions. What chip are you trying to program or code for?

Edit- Uniarch mspgcc has been released, It supports newer msp430 chips and is now the preferred compiler over mspgcc4 Build directions for uniarch mspgcc

\$\endgroup\$
  • \$\begingroup\$ Specifically, MSP430F2122. \$\endgroup\$ – I. J. Kennedy Feb 25 '11 at 22:05
8
\$\begingroup\$

Of course there is. I use emacs + mspgcc4 + make + mspdebug + gdb+ ddd.

There is an IAR compiler for download from TI. The free one is code-size-limited. It comes with some kind of IDE as well. But MSP programs are pretty small by definition, and a simple makefile is all you need to compile and program code.

\$\endgroup\$
3
\$\begingroup\$

at sourceforge you can find both mspgcc (mspgcc.sf.net) and mspgcc4 (mspgcc4.sf.net). I had trouble recently building mspgcc on a modern Linux (finally did succeed), but mspgcc4 builds just fine no problem.

If all you need is an assembler and linker for now, it is somewhat trivial to cross compile gnu binutils. ./configure --target=msp430 --prefix=/opt/msp430 or something like that.

Also, out of the box, llvm includes the various targets, unlike gcc you do not pick one target when compiling the compiler. The downside is that llvm's msp430 support is considered experimental (as in we probably wont bother with the bug reports). And you will still need binutils to assemble and/or link.

\$\endgroup\$
  • \$\begingroup\$ GCC 4 was released in 2005, and "default" msp430 port sticking to v3 is a disgrace. Then again, the mspgcc4 project doesn't seem to be providing a very complete kit by itself. :( \$\endgroup\$ – XTL Feb 28 '11 at 18:22
2
\$\begingroup\$

I use Rowley CrossWorks. It's very good, with excellent support.

\$\endgroup\$
1
\$\begingroup\$

just recently there was a new release of mspgcc, dubbed temporarily "uniarch", here are som installation instructions for ubuntu

https://github.com/sergiocampama/Launchpad/blob/master/README.md

i think that all the recent devices are supported in that version...

my setup is a vmware machine running ubuntu server 11.04, with netatalk and ssh... so with my mac, i connect with terminal over ssh, and mount the ubuntu drive over afp with netatalk... so I use xcode as the development ide, and run the commands on terminal.. it's SO comfortable...

i also have a rakefile that does all the handywork (which can be found in the above repo), and thus I only 'rake mcu=msp430g2211 build install' and it compiles, links and installs on the launchpad...

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.