mspgcc: A port of the GNU tools to the Texas Instruments MSP430 microcontrollers | ||
---|---|---|
<<< Previous | Programming and debugging MSP430s | Next >>> |
There are some additional tools available for mspgcc.
Software for the bootstrap loader. Works with Flash devices (MSP430F1xx and F4xx): erase and download new software or upload RAM or Flash data from the device back to the PC.
Features:
Load TI-Text, Intel-hex and ELF files into a device.
Download and verify to Flash and RAM.
Erase Flash.
Reset and wait for keypress (to run a device directly from the port power).
Load an addres into R0/PC and run.
Password file can be any datafile, e.g. the one used to program the device in an earlier session.
Upload a memory block MSP->PC (output as binary data or hex dump).
Download a program, execute it, resynchronize and uplaod results. (for testing and calibration).
Written in Python, runs on Win32, BSD, Linux (and other POSIX compatible systems) (and Jython).
Use per command line, or in a Python script.
Downloadable replacement MSP430-BSLs, which also allows higher baudrates.
An MSP430 simulator, written in Python is under development. Although a simulator is built into msp430-gdb, it fulfills a somewhat different requirement. The simulator is under development. Currently it allows single stepping through programs, butno active peripherals are yet supported (values can be written at any address, but reading has the same effect as reading from RAM).
It has a simple GUI with memory and disassembler views, logging output, as well as a file open dialog to select intel hex files. Or it can be embedded in Python scripts e.g. for automatic testing, etc.
Requirements:
Python 2.1 or newer.
wxPython for the GUI only.
pyjtag is a program to use the MSP430 parallel JTAG adapters as simple programming tools. Just like msp430-gdbproxy, it works with the devices from TI, Olimex, Softbaugh, and others. It works with Flash devices (MSP430F1xx and F4xx), and can erase Flash and download or upload both RAM and Flash data in an attached device.
Features:
loads TI-Text, Intel-hex and ELF files.
download to Flash and/or RAM, erase, verify.
reset and wait for keypress.
upload a memory block MSP->PC (output as binary data or hex dump).
download a program, execute it. (limited/funclets)
written in Python, runs on Win32, Linux, BSD (other platforms possible if parallel port module is ported)
use per command line, or in a Python script.
Requirements:
MSP430 JTAG library, MSP430mspgcc.dll/so,. See "jtag/msp430" in the CVS.
hardware interface library, HIL.dll/so,. See "jtag/hardware_access" in the CVS.
Python extension. See "jtag/python" in the CVS.
Python 2.2
pySerJTAG is the PC side software for the Serial-JTAG adapter. The PC software is open and written in Python. It should run on the same platforms as pyBSL (Win32, Linux, BSD and more POSIX compatible systems). The command line options are compatible with pyBSL and pyJTAG.
The hardware design is open. The schematics can be found in the CVS module "hardware/serialJTAG" (here's a PDF 62kB). A binary of the firmware for this design is here serjtag.zip (<10k, beta).
Why would you want this? The parallel port has some drawbacks such as missing OS support for bit banging. We cannot access every platform that mspgcc users use. Therefore it's impossible to distribute binaries for all. The Serial-JTAG adapter moves the proprietary code out to that box and the user software on the PC can be open source. It will allow us to provide debug features in the near future.
<<< Previous | Home | Next >>> |
Running code | Up | Building mspgcc from source code |