dlbeer / mspdebug

Debugging tool for MSP430 MCUs
GNU General Public License v2.0
190 stars 80 forks source link

MSP-EXP430F5438 Firmware download failed #42

Open kapardine opened 7 years ago

kapardine commented 7 years ago

I am trying to run RIOT-OS on MSP430 and am using mspdebug to program on Ubuntu 16.04 . It doesn't recognise the device connected and throws invalid errors. Result of the command 'mspdebug --usb-list' is: 002:009 2047:0010 FET430UIF (V3 firmware) I guess it is v2 firmware as the interface being created is /dev/ttyACM0 ( when checked through dmesg). Also no firmware is detected when done this 'mspdebug -U 002:009 uif'

image

dlbeer commented 7 years ago

On Fri, Oct 20, 2017 at 03:17:22PM +0000, chaisme wrote:

I am trying to run RIOT-OS on MSP430 and am using mspdebug to program on Ubuntu 16.04 . It doesn't recognise the device connected and throws invalid errors. Result of the command 'mspdebug --usb-list' is: 002:009 2047:0010 FET430UIF (V3 firmware) There is neither /dev/ttyUSB0 nor /dev/ttyACM0 interface created. Also no firmware is detected when done this 'mspdebug -U 002:009 uif'

image

The "uif" driver is for V2 firmware only. You need to use the "tilib" driver from a later version of mspdebug (0.25), with a recent version of libmsp430.so from Texas Instruments. This is the slac460.zip package. slac460l.zip is a known-working version of this.

Cheers, Daniel

-- Daniel Beer dlbeer@gmail.com http://dlbeer.co.nz/ PGP: BA6E 0B26 1F89 246C E3F3 C910 1E58 C43A 160A 553B