Skip to content

MSP430G2xx3 flashing tool supporting Linux, Windows, and Mac OS.

License

Notifications You must be signed in to change notification settings

deebot/msptool

 
 

Repository files navigation

Upside Down Labs msptool

MSP430 Bread Stick msptool version

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.

msptool usage:
[lorforlinux@dragon msptool]$ python msptool.py --help
usage: msptool.py [-h] -p PORT -f FIRMWARE

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
                        TI-TXT format firmware image from msp430-gcc/CCS

MSP430G2553 + FT232RL

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.

Command:

# 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!

Circuit:

MSP430G2553 & FT232RL connection for msptool

License

Hardware

CERN Open Hardware License Version 2 - Strongly Reciprocal (CERN-OHL-S-2.0).

Software

MIT open source license.

Documentation:

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.

About

MSP430G2xx3 flashing tool supporting Linux, Windows, and Mac OS.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%