SparkFun Forums 

Where electronics enthusiasts find answers.

Discussions on how to get your MSP JTAG programmer up and running.
By chrisp
#52759
I recently purchased a MSP430-JTAG-ISO programmer from SparkFun and had problems with getting it to work with the msp430-gdbproxy application. After some troubleshooting I found that it worked fine with the 1.021 version of the Olimex drivers but not with 1.022 version. Below is the output of the two different versions. I am not sure what the problem is but my processor is supported with version 1.021 so I will just use that. I just wanted to pass along the information for anyone that runs into the same problem.
Code: Select all
C:\Temp\Proxy1021>msp430-gdbproxy.exe --debug msp430 TIUSB

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: msp430_open()
debug: MSP430_Initialize()
debug: MSP430_Configure()
debug: MSP430_VCC(3000)
error:     msp430: External power detected (38)
debug: MSP430_Identify()
info:      msp430: Target device is a 'MSP430F1611' (type 42)
debug: MSP430_Configure()
notice:    msp430-gdbproxy.exe: waiting on TCP port 2000
^C
C:\Temp\Proxy1021>cd ..

C:\Temp>cd Proxy1022

C:\Temp\Proxy1022>msp430-gdbproxy.exe --debug msp430 TIUSB

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: msp430_open()
debug: MSP430_Initialize()
error:     msp430: The FET tool version does not match this program. Update requ
ired.
^C
C:\Temp\Proxy1022>msp430-gdbproxy.exe --debug msp430 --update-usb-fet

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: msp430_open()
notice:    msp430: TI USB FET update requested
notice:    msp430: Initializing bootloader...
error:     msp430: No error (0)
error:     msp430: Could not initialize device interface (1)
^C
C:\Temp\Proxy1022>
By mgruber
#56671
Download the latest version of the driver at www.olimex.com (1.032) and also the OLIMEX MSP430-Programmer.
Install the programmer. Then copy the updated MSP430 DLL library stuff (FTD2XX.dll, HIL.dll, MSP430.dll and SiUSBXp.dll) into the installation directory of the programmer (C:\Olimex\MSP430 Programmer) and also to your msp430-gdbproxy tool folder.
Open the programmer application and select the USB port and correct chip model. Then perform a simple read operation. It will upgrade the firmware during this first access.
Now msp430-gdbproxy should work normally.

Note: Actually the msp430-gdbproxy has the --update-usb-fet switch that should make the firmware update for you, but it seems to be broken.
Always keep all your MSP development tools with the same MSP430.DLL stuff versions, to avoid USB-FET firmware up or downgrades.