upsidedownlabs / msptool

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 [-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!)

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.

License:Other


Languages

Language:Python 100.0%