Jump to content
Sign in to follow this  
RandyStockberger

MSPDebug can't connect to MSP-EXP430G2 under Linux

Recommended Posts

I'm trying to bring up a CLI/Makefile based toolset under Ubuntu.

Ubuntu version 17.04

MSPDebug version 0.24

My two Launchpads are both MSP-EXP430G2, Rev1.5, and are about three years old. One has a 2553 chip and the other is a 2452.

Result of 'mspdebug --usb-list' includes:

Devices on bus 001:
    001:010 0451:f432 eZ430-RF2500 [serial: FEFF467AF9CB2548]
 

Running mspdebug gives:

randy@corvette: mspdebug/0.24$ ./mspdebug -U '001:010' rf2500
MSPDebug version 0.24 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2016 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.
Chip info database from MSP430.dll v3.3.1.4 Copyright (C) 2013 TI, Inc.

Trying to open interface 1 on 010
rf2500: warning: can't detach kernel driver: No data available
Initializing FET...
rf2500: can't send data: Resource temporarily unavailable
fet: open failed
Trying again...
Initializing FET...
rf2500: can't send data: Resource temporarily unavailable
fet: open failed

After I plug the Launchpad into USB, dmesg shows:

[80373.763698] usb 1-9.3: USB disconnect, device number 10
[80387.054044] usb 1-9.3: new full-speed USB device number 11 using xhci_hcd
[80387.363746] usb 1-9.3: New USB device found, idVendor=0451, idProduct=f432
[80387.363749] usb 1-9.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[80387.363751] usb 1-9.3: Product: Texas Instruments MSP-FET430UIF
[80387.363752] usb 1-9.3: Manufacturer: Texas Instruments
[80387.363753] usb 1-9.3: SerialNumber: FEFF467AF9CB2548
[80387.389816] cdc_acm 1-9.3:1.0: No union descriptor, testing for castrated device
[80387.389829] cdc_acm 1-9.3:1.0: ttyACM0: USB ACM device
[80397.690445] hid-generic 0003:0451:F432.000A: usb_submit_urb(ctrl) failed: -1
[80397.690462] hid-generic 0003:0451:F432.000A: timeout initializing reports
[80397.696344] hid-generic 0003:0451:F432.000A: hiddev0,hidraw4: USB HID v1.01 Device [Texas Instruments Texas Instruments MSP-FET430UIF] on usb-0000:03:00.0-9.3/input1

I've installed and activated the udev rules in /etc/udev/rules.d/71-ti-permissions.rules

This feels like a driver problem to me. I haven't been able to find any information on what drivers are used, just vague and unhelpful statements like 'if you are running a current version of Linux it probably has the correct drivers already installed.'

I've tried running as root to bypass any permissions issues with no change in results. I've installed energia, it uses mspdebug for it's connection so it gives the same result.

I've run out of things to try. The MSP430 is a nice processor to work with but if I can't get the tools to work I'll have to pick a different MCU.

 

Thanks All

Randy

Share this post


Link to post
Share on other sites

The G2553 is a current product and you should be able to work with it under CCS or Energia. It does look like a driver issue to me as well. However, I'm not a Linux expert so you may want to wait for someone here more versed in Linux to chime in.  You may also want to post your question on the TI E2E forum.

Share this post


Link to post
Share on other sites

I'm connected to a USB2.0 port on a modern machine with a mix of 2.0 and 3.x ports/hubs.

I've ordered a pair of MSP-EXP430FR2433 launchpads with the hope that they are supported by Linux CLI tools. I can't find anything official about what will work and what won't. I've been told that the MSP-EXP430G2 isn't supported under Linux but the Linux version of Energia has the G2553 listed as a supported chip. Most confusing for a newbie.

Thanks All

Randy

Share this post


Link to post
Share on other sites
23 hours ago, dubnet said:

The G2553 is a current product and you should be able to work with it under CCS or Energia. It does look like a driver issue to me as well. However, I'm not a Linux expert so you may want to wait for someone here more versed in Linux to chime in.  You may also want to post your question on the TI E2E forum.

OP is using the G2 Launchpad. It is not supported under Linux.

Share this post


Link to post
Share on other sites

Just burned the Blink example in my MSP430G2231LP Launchpad using Energia 1.6.10E18 under openSuse Leap 42.1

Trying to open interface 1 on 022
Initializing FET...
FET protocol version is 30066536
Set Vcc: 3000 mV
Configured for Spy-Bi-Wire
Sending reset...
Device ID: 0xf201
  Code start address: 0xf800
  Code size         : 2048 byte = 2 kb
  RAM  start address: 0x200
  RAM  end   address: 0x27f
  RAM  size         : 128 byte = 0 kb
Device: MSP430F2012/G2231
Number of breakpoints: 2
fet: FET returned NAK
warning: device does not support power profiling
Chip ID data: f2 01 02
Erasing...
Programming...
Writing  810 bytes at f800...
Writing   32 bytes at ffe0...
Done, 842 bytes total

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...