MSP430 Notes

Page Contents

References

  1. Introduction To Getting Starting With MSP430, Argenox.
  2. Online MSP430 Emulator.
  3. MSP430 Emulator Source (GitHub).
  4. GCC Compiler for MSP430.
  5. MSP430 GCC Toolchain User Guide.
  6. TI Code Composer Studio(TM).
  7. MSP430 Variant Finder.
  8. MSP430x1xx Family User's Guide

Many Variants

Screenshot taken from TI Website: Variants screen shot

Install GCC Toolchain Ubuntu

Can be installed via apt.

sudo apt-get update -y
sudo apt-get install -y gcc-msp430
# Installs compiler to /usr/bin/msp430-*
#          libs     to /usr/lib/gcc/msp430/
#          scripts  to /usr/msp430

Can also be downloaded from TI Website. This is probably the better option because you will get the most up-to-date version of the compiler: On Ubuntu 18 apt installed v4.6.3, but the download, at the time of writing was v9.3.1!

To install the bz2 archive:

 sudo mkdir /opt/msp430
 sudo cp ~/Downloads/msp430-gcc-9.3.1.11_linux64.tar.bz2 /opt/msp430/
 cd /opt/msp430/
 sudo tar vxf msp430-gcc-9.3.1.11_linux64.tar.bz2 
 sudo rm msp430-gcc-9.3.1.11_linux64.tar.bz2

Then you may want to put the binaries, found under /opt/msp430/msp430-gcc-9.3.1.11_linux64/bin into your PATH.

Misc Notes

Old chip - M430G2452 * 8K flash * 256B RAM * Only Enhanced Emulation Module (EEM) New chip - M430G2553 * 16K flash * 512B RAM * Enhanced Emulation Module (EEM) and BootStrap Loader (BSL)