I've read and re-read the help output, but I can't figure out
how to get msp430-jtag to work with the ez430 USB/spy-bi-wire
interface. Here's the command I'm using:
$ ./msp430-jtag.py -D -D -l /dev/ttyUSB0 -u 0 -s 0x10
MSP430 JTAG programmer Version: 2.3
Use -h for help
Debug is level set to 2
Python version: 2.4.4 (#1, Sep 24 2007, 10:02:32)
[GCC 4.1.2 (Gentoo 4.1.2)]
MSP430_*Register not found in library. Not supported.
MSP430_Funclet and isHalted not found in library. Not supported.
JTAG backend: ctypes/TI or 3rd party (/usr/local/bin/libMSP430.so)
backend library version: 20107000
Traceback (most recent call last):
File "./msp430-jtag.py", line 608, in ?
main()
File "./msp430-jtag.py", line 531, in main
jtagobj.open(lpt) #try to open port
File "/usr/lib/python2.4/site-packages/mspgcc/jtag.py", line 501, in open
_parjtag.open(lpt)
File "/usr/lib/python2.4/site-packages/mspgcc/jtag.py", line 305, in open
raise IOError("Could not configure the library: %s" %
MSP430_Error_String(MSP430_Error_Number()))
IOError: Could not configure the library: Not supported by selected
Interface or Interface is not initialized
The backend library it's using is one I downloaded last week
from http://www.soft-switch.org/downloads/mspgcc/libMSP430.so
$ ls -l /usr/local/bin/libMSP430.so
-rw-r--r-- 1 root root 452181 2007-10-02 11:34 /usr/local/bin/libMSP430.so
$ md5sum /usr/local/bin/libMSP430.so
dfe82e562764b4a6b033cd6f87936d0b /usr/local/bin/libMSP430.so
msp430-gdbproxy seems to work fine using the same library:
$ msp430-gdbproxy msp430 --spy-bi-wire /dev/ttyUSB0
Remote proxy for GDB, v0.7.1, Copyright (C) 1999 Quality Quorum
Inc.
MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve
Underwood
GDBproxy comes with ABSOLUTELY NO WARRANTY; for details
use --warranty' option. This is Open Source software. You are
welcome to redistribute it under certain conditions. Use the
'--copying' option for details.
debug: MSP430_Initialize()
debug: MSP430_Configure()
debug: MSP430_VCC(3000)
debug: MSP430_Identify()
info: msp430: Target device is a 'MSP430F20x3' (type 52)
debug: MSP430_Configure()
notice: msp430-gdbproxy: waiting on TCP port 2000
--
Grant Edwards grante Yow! One FISHWICH coming
at up!!
visi.com