Programming of MPS430 for Ubuntu (Linux Mint)

You don’t do these steps. The repositories for Linux Mint and Ubuntu contains all packages. You have to install only gcc-msp430 (compilator), msp430-libc (other libraries – legacymsp430.h) and mspdebug (for debugging).

sudo apt-get install gcc-msp430 msp430-libc mspdebug

MSP430 can program for Linux/Ubuntu (Linux Mint)

Installing libraries:

Installing compiler:

Download package mspdebug: mspdebug

We will open package, compile and install :

We will need makefile a and some program for beginners.

We have compiled program and we created files now *.o and *.elf which we need for debug.

We are programming microcontroller:

mspdebug

And we run debug now:

mspdebug

We will stop Ctrl + C and we will stop program Ctrl + D.

List supported microcontrollers:

CC430F5133 MSP430F2252 MSP430F5342

CC430F5137 MSP430F2272 MSP430F5418

CC430F6137 MSP430F2274 MSP430F5437

MSP430AFE253 MSP430F235 MSP430F5437A

MSP430F1121 MSP430F2370 MSP430F5438

MSP430F1232 MSP430F2418 MSP430F5438A

MSP430F147 MSP430F247 MSP430F5510

MSP430F148 MSP430F249 MSP430F5525

MSP430F149 MSP430F2616 MSP430F5526

MSP430F1611 MSP430F2617 MSP430F5527

MSP430F1612 MSP430F2618 MSP430F5528

MSP430F169 MSP430F413 MSP430F5529

MSP430F2012/G2231 MSP430F427 MSP430F6435

MSP430F2013 MSP430F4270 MSP430F6736

MSP430F2121 MSP430F449 MSP430FG4618

MSP430F2122 MSP430F47173 MSP430FR5739

MSP430F2131 MSP430F47197 MSP430G2252

MSP430F2132 MSP430F4784 MSP430G2452

MSP430F2234 MSP430F5329 MSP430G2553/G2403

This is complete manual for msdebug.

Tutorial was created from websites:

http://www.sakoman.com/OMAP/how-to-develop-msp430-launchpad-code-on-linux.html,

http://hackaday.com/2010/08/11/how-to-launchpad-programming-with-linux/ a http://mspdebug.sourceforge.net/download.html

Share the article:
Show your
Maker soul!
Buy a T-Shirt
Coffee for Chiptron
Give a boost to the next article

Related Articles

I would like to tell you that I’m not prefessional in security, but i would like to show you article about basic security of linux server. Sources for this article is my own experinces and literature search. With distribution of…

Welcome to a new tutorial about BigClown platform. The series of articles should be describe the work with the boards and modules of BigClown platform. I want to start slowly, at first I describe a few interesting modules and than…

Maybe you read about a new board by STMicroelectronics and Arduino.org – Arduino STAR OTTO Arduino compatible board with STM32F469 microcontroller. In this article I describe you how to set your laptop, arduino IDE and how to upload your code…

HARDWARIO, the company which is developing IoT platform called BigClown released a new software called Playground. BigClown recently released a new modules GPS and Infra Grid. Now, the BigClown team released Playground, the software which includes everything what you need…

We wrote a news about STM32F746 discovery and IDE by openstm32.org on the google+. https://time4ee.com/ got development board STM32F7 discovery by ST. We want to show MULTIPLATFORM (Linux – Ubuntu, Windows) development tools by http://openstm32.org Other tutorials with STM32F7: Tutorial:…