This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi all,
I'm trying to start using again my old MSP430G2 launchpad (it's been years since the last time) but this time using Linux, my current setup is:
Distro: Linux Mint 19.1 Tessa 64-bit
Kernel:Linux 4.15.0-96-generic x86_64
Compiler: msp430-elf-gcc (Mitto Systems Limited - msp430-gcc 8.3.1.25) 8.3.1
My laptop only has USB 3.0 ports but I'm using a USB 2.0 cable, I don't know if that forces the port to use such protocol.
If I run the lsusb command I get the next output:
As you can see my system is seeing the board.
Now when I try to run the classic blink example to get started I see the next error when using the debug option for the makefile provided in the msp430-gcc directory
Also as you can see I'm running it with sudo to provide it with root privileges.
Quick question here, do I have to run the command above in one terminal and the the "make debug" in another terminal right?
I've trying to look for similar errors in the forum but I can't find an answer for my particular problem.
Does anyone knows something I might be missing here or what could be the problem or any ideas or where can I search for an answer?
Thank you very much in advance.
Regards, Enrique
I don't know what the problem is with gdb_agent_console but I can't get it to work either. But mspdebug has no trouble.
You can use mspdebug as a gdb server as well. Then run gdb and connect.
CCS has never supported the eZ430 based MSP-EXP430G2 under Linux (or OS X).
If the gdb_agent_console uses the same Debug Server / libmsp430.so as CCS, that that would explain why the gdb_agent_console doesn't support a MSP-EXP430G2 under Linux.
Hi David,
When I was starting to figure out how to set-up the tools I need I came up with the confusion of what it was the difference between MSPGCC and MSP430 GCC,
Is MSP430 GCC the continuation of MSPGCC project under another company responsibility?
Is the same aplicable for mspdebug and gdb_agent_console?
I don't know if you or someone else could help to solve this questions, also I wonder which tool combination should I use? For what I can tell you're using MSP430 GCC + mspdebug, right?
Regards, Enrique.
Hi Chester,
Thank you for the clarification, do you know which tools should I use in my case?
I see there are some tools that are not mentioned by TI documentation like mspdebug and mspgcc (which I'm not sure if it's the parental project of MSP430 GCC or whetever is called)
Regards, Enrique.
Before TI took over, the MSP430 GCC compiler was a project of the hobby community and was known as mspgcc. I started using it then.
mspdebug is also a user developed and maintained program. With a web site:
There hasn't been a recent release but the git repository shows activity.
You can use mspdebug with almost anything. So long as it produces a binary file it understands. You can even use it standalone without gdb.
Thank you very much David, I think this will work for me, I just have to read how to use it instead of gdb_agent_console :)
**Attention** This is a public forum