MSP430 programming under Linux - mspdebug fails to connect to programmer

I am trying to program the MSP430 (on an MSP-EXP430F5438 evaluation board http://www.kynix.com/Parts/3596582/MSP-EXP430F5438.html) under Linux using gcc-msp430 (I eventually will do code larger than the 16k that the free version of the Code Composer allows).

As a debugger, it is recommended to use mspdebug, but when I try to use it, it doesn't connect to the FET430UIF.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
~$ sudo mspdebug uif
MSPDebug version 0.19 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2012 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

TI3410 device is in boot config, setting active
Initializing FET...
FET protocol version is 20408002
Configured for Spy-Bi-Wire
ti3410: usb_bulk_read: No error
warning: fet: set VCC failed
ti3410: can't send data: No such device
fet: command C_IDENT1 failed
fet: identify failed
Trying again...
Initializing FET...
ti3410: can't send data: No such device
fet: open failed
ti3410: warning: TI_CLOSE_PORT failed: No such device


The same device works correctly with Code Composer running on a Windows virtual machine or on a physical Windows system, so I know it is working.

I tried on Ubuntu 12.04 and on Arch Linux and got the same errors.

As recommended in an answer, I tried with -d and got further, but didn't work:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
~$ sudo mspdebug uif -d /dev/ttyUSB0
[sudo] password for renan: 
MSPDebug version 0.19 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2012 Daniel Beer <dlbeer@gmail.com>
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Trying to open UIF on /dev/ttyUSB0...
Initializing FET...
FET protocol version is 20408002
Configured for Spy-Bi-Wire
Set Vcc: 3000 mV
Device ID: 0x0580
Device: MSP430F5438A
Code memory starts at 0x5c00
Number of breakpoints: 8

uif: read error: Connection timed out
fet: warning: message C_IDENT3 failed
uif: read error: Connection timed out
fet: message C_IDENT2 failed
fet: identify failed
Trying again...
Initializing FET...
uif: read error: Connection timed out
fet: open failed


What is wrong?
I noticed that:

warning: fet: set VCC failed

This means that the FET power is not on. You should check the power source and its around circuit.
Topic archived. No new replies allowed.