This is an old revision of the document!


MSP430 Flasher

The only way to fetch the source for this tool is to install a binary blob for AMD64.

Fetch

wget "https://dr-download.ti.com/software-development/software-programming-tool/MD-szn5bCveqt/1.03.20.00/MSPFlasher-1_03_20_00-linux-x64-installer.zip"
unzip MSPFlasher-1_03_20_00-linux-x64-installer.zip
chmod +x ./MSPFlasher-1.3.20-linux-x64-installer.run
./MSPFlasher-1.3.20-linux-x64-installer.run
cd "$HOME/ti/MSPFlasher_1.3.20/"
tar -zcvf mspflasher.tgz Source/

Dependencies

First install libmsp430.so.

Build

Extract files and apply makefile fix.

sudo -s
mkdir -p /opt/src/MSPFlasher
cd /opt/src/MSPFlasher
tar zxvf ~/mspflasher.tgz
cd Source

Patch

sed -i 's/char  cOpt;/int cOpt;/' Support.cpp
sed -i 's/-lmsp430/-lmsp430 -lpthread/' Makefile

Install

Make the binary and install it.

make
cp ../MSP430Flasher /usr/local/bin/

Usage

When you run this app unpatched with args it will enter an infinite loop, hence it's useless without the fixes found on the TI forum.

Whether the target works or not in Linux is also dependant upon the firmware version in the target which can be upgraded via libmsp430.so using mspdebug.

Resources

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies