The msptool is MSP430G2xx3 flashing tool supporting Linux & Windows, it uses mspdebug in the background to provide a very simple interface to flash the MSP430G2xx3 using any generic USB-UART bridge. It should work with any MSP430G2xx3 series MCU with BSL support, USB-UART bridge can be something like CP2102/4, CH340, PL2303, and FT232R/B.
[lorforlinux@dragon msptool]$ python msptool.py --help
usage: msptool.py [-h] -p PORT -f FIRMWARE [-d DIRECTORY]
optional arguments:
-h, --help show this help message and exit
-p PORT, --port PORT USB-UART bridge port, Windows: COM#, Linux: /dev/tty#
-f FIRMWARE, --firmware FIRMWARE
.txt(TI-TXT)/.elf/.hex/.bin format firmware image from
msp430-gcc/CCS/Energia
-d DIRECTORY, --directory DIRECTORY
relative msptool directory (if required!)
This repository contains a sample TI-TXT format firmware image for MSP430G2553 target acquired using CCS. Use the following command and hardware connection to blink the LED connected to P1.0 (Pin2) of the MSP430G2553.
# Linux
python msptool.py -p /dev/ttyUSB0 -f blinky.txt
# Windows
python msptool.py -p COM3 -f blinky.txt
Note: Make sure the port is correct before executing the command!
CERN Open Hardware License Version 2 - Strongly Reciprocal (CERN-OHL-S-2.0).
MIT open source license.
This work is licensed under a Creative Commons Attribution 4.0 International License.