Jump to content
Sign in to follow this  
teedeeus

package an IDE with the msp430 gcc tools incl. debugger?

Recommended Posts

How did you manage this ?

No repository found at http://opensource.zylin.com/embeddedcdt.html.
No repository found at http://www.eclipse.org/cdt/downloads.php.

That's what I'm getting. :? But I got the CLI tools working now.

Thanks for the link. I installed netbeans and the plugin, but couldn't find options to make netbeans use the msp430 toolchain.

Just tried that with the same outcome. There's only the default GNU C Compiler listed.

 

To install the msp430 stuff in Ubuntu 11.10, I just ran the following:

sudo apt-get install mspdebug msp430-libc gcc-msp430 msp430mcu eclipse-cdt

 

And then I created a file in /etc/udev/rules.d called 71-persistent-msp430.rules that contains the following:

ATTRS{idVendor}=="0451", ATTRS{idProduct}=="f432", MODE="0660", GROUP="plugdev"

 

That should install all of the command line stuff as well as eclipse. I haven't had to compile anything. Now I just need to get the debugger and the compiler working in an IDE - I don't really care if it is eclipse or not.

 

-teedeeus

Share this post


Link to post
Share on other sites

In my attempt to create a open source "code composer studio" based on msp430-gcc and mspdebug, I found something interesting. When using the terminal in ubuntu 11.10, I discovered the following command:

 

$ mspdebug rf2500 gdb

 

Which results in:

 

MSPDebug version 0.16 - debugging tool for MSP430 MCUs
Copyright (C) 2009-2011 Daniel Beer 
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 interface 1 on 008
rf2500: warning: can't detach kernel driver: No data available
Initializing FET...
FET protocol version is 30066536
Configured for Spy-Bi-Wire
Set Vcc: 3000 mV
fet: FET returned error code 4 (Could not find device (or device not supported))
fet: command C_IDENT1 failed
fet: identify failed
Trying again...
Initializing FET...
FET protocol version is 30066536
Configured for Spy-Bi-Wire
Sending reset...
Set Vcc: 3000 mV
Device ID: 0xf201
Device: MSP430G2231
Code memory starts at 0xf800
Number of breakpoints: 1
Bound to port 2000. Now waiting for connection...   <<<< this is the awesome part!

 

msp430-gdbproxy has been built into the latest version of mspdebug!!!

 

So, does anyone have a recommendation of a simple IDE that supports debugging over port 2000? I know eclipse does it, but I am confused by eclipse. For me, the simpler the better.

 

Thanks in advance,

 

-teedeeus

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...