MSP430 Eclipse is a plugin which adds support for MSP430 GCC and MSPDebug, in order to ease compilation, upload, and debugging for Texas Instrument's MSP430-series of MCUs.
- Change order of parameters for the linker (fixes an issue with linking against static libraries).
- Make it possible to identify USB devices.
- Added Windows support.
- Added dependency on "Target Management Terminal".
- Add .cpp as C++ extension.
- Support for FRAM board (by using a newer version of mspdebug).
- Fix a bug: mspdebug fails to startup successfully for debugging session.
- Group MCU List to make selection easier.
- Remove usage of stdbuf.
- Simplify tool selection by adding an "Activate"-button to the tool manager.
- Add support for static libraries (project type).
- Kill mspdebug when debugger is stopped.
- "tilib" to the mspdebug driver selection.
- gcc, gdb, and mspdebug are no longer distributed as an eclipse plugin, but as a separate download package. This allows the tools to be installed in a user select location, rather than trying to install into the eclipse directory.
- MSP430 C/C++ projects can now be created.
- The protocol (SBW, JTAG) used by MSPDebug can now be selected.
Features and Limitations
- Supports msp430-gcc macro and include directory discovery.
- Extracts list of supportet MCUs from msp430-gcc, and allows target MCU to be easily selected and changed.
- Use mspdebug to upload to target.
- Only Linux and Windows are supported at this point.
- Early debugging support is implemented.
Add http://eclipse.xpg.dk as a software source in Eclipse, and install the Msp430Eclipse plugin.
Currently, only Indigo is supported, but the plugin might work with Helios and Juno as well.
If your system does not have up-to-date version of msp430-gcc, msp430-gdb, and mspdebug, you can download one of the following tool-packages:
- Linux 64-bit: msp430-toolchain-linux-amd64-3.0.tar.bz2
- Linux 32-bit: msp430-toolchain-linux-i386-2.1.tar.bz2
- Windows 32-bit: msp430-toolchain-win-x86-3.0.zip
- Mac OS X 64-bit: msp430-toolchain-mac_os_x-x86_64-2.2.tar.bz2
(contributed by Joseph Landry)
Extract the package in an appropriate location ($HOME, for instance), and go to Eclipse (with the MSP430Eclipse plugin installed), and from the menu select MSP430->Tool Manager. Click the "Add..."-button, and browse to the tool-package directory. Select the tool-chain and press the "Activate"-button in order to tell Eclipse to use it.
You can verify that the right tool-package is used by going to the Eclipse preference and select "MSP430". Here you will be able to see and choose what tools are used from which package.
For windows, you will need to install USB-drivers as described in the MSPDebug FAQ.
In order to use the MSP430 features, you have to create a new C or C/C++ project and choose "Empty Project" from the "MSP430 Cross Target Application" group. It is possible to select the target MCU from the wizard, but this can be changed at a later point.
After having created the project, right click on it and select properties. In the "MSP430"-setting it is possible to select the target MCU and the MSPDebug settings to use. Remember to press "Apply" in order for the selection to take effect.
After having added some source files and compiled the project, you can upload it to the MSP430 by choosing the MSP430-menu, and selecting the "Upload to target action"
Using the Debugger
In order to debug your program, go to the "Debug Configuration"-dialog, and create a new configuration in the "MPS430 Debug"-group (by right-clicking it). Having that new configurations elected, simply click "Debug".
Modified: Tue 23-Apr-13 14:51:41 PDT