![]() |
![]() |
The MSP430 USB Firmware Updater is an example application that may be used as-is or as a starting point for building your own firmware updater. It is written in Python and consists of a graphical user interface and an existing command line interface called python-msp430-tools written by Chris Liechti. Care has been taken to keep python-msp430-tools and the GUI independent. As long as no drastic changes are made to the python-msp430-tools command line interface the GUI should work with updated python-msp430-tools. This Firmware updater should work with all 5xx/6xx devices with a USB connection.
Linux: Python (2.6+) with tkinter (most likely already installed)
Windows: Python (2.6+), pwinusb-0.3.1, Python distribute
This document is divided into the following sections:This is an update of the original MSP430 USB Firmware Upgrader and has the following additions:
The MSP430 USB Firmware Updater contains the following components.
python-msp430-tools | Command line MSP430 Tools |
License_Manifest | MSP430 USB Firmware Updater license and
manifest |
*.txt | HID Demo, Blink Demo, and CDC Demo titext files |
TargetGUI.py | GUI Version of MSP430 USB Firmware Updater |
Python_Firmware_UpgraderGUI.exe | GUI executable |
This is installed as part of the MSP430 USB stack installation. The Python Firware Upgrader tool can be run either by double clicking on the Python_Firmware_UpgraderGUI.exe file or from the command line. If running from the command line, additional software packages are required for Windows. See below
To run this from Linux, sudo or root is required as it needs to write to a raw HID device. Example invocations:
Windows (After
installing Python and pwinusb) |
|
|
|
GUI |
set
PYTHONPATH=.\python-msp430-tools& python
TargetGUI.py |
|
Command Line |
set PYTHONPATH=.\python-msp430-tools& python -m msp430.bsl5.hid -e -v -P ./5529_LED_Blink.txt |
Linux |
|
|
|
GUI |
sudo
PYTHONPATH=./python-msp430-tools python TargetGUI.py |
|
Command Line |
sudo
PYTHONPATH=./python-msp430-tools python -m msp430.bsl5.hid -e -v -P
./5529_LED_Blink.txt |
Initial version, no upgrade information but python-msp430-tools may be upgraded by unzipping the zip file while in the MSP430_USB_Firmware_Upgrader directory.
This release supports installation and development on Microsoft Windows XP Workstations and Ubuntu Linux 11.04+
All functionality for this release has been tested on Windows
XP 32 and Ubuntu 11.04 with a MSP430F5529 Experimenter's Board and a Target Board with a MSP430F6638.
This is build 2_10_01_00 of MSP430 Firmware Updater