xpg 127 Posted July 2, 2014 Author Share Posted July 2, 2014 I have the same problem, different naming of files in the ldscripts folder broke this. Also, I needed to add a link to a new gcc executable. I don't know how would the plugin find the new gcc otherwise. Could anyone help me understand how these gcc linkers work? How does gcc map mcu name (from -mmcu= parameter?) to an ldscript file and why are there multiple files with the same name but different extensions? Sorry, I know Java, but not C and especially not GCC internal workings. Here's how my ldscripts directory (from the new msp430 gcc) looks like: http://pastebin.com/TDxeFEha From what I understand, mcu names don't match 1 to 1 with ldscript files anymore. Any ideas about how this could be fixed? Basically, we just need a proper way to extract the possible -mmcu values. When I created the plugin I didn't find any way to do that, so I ended up extracting the information from the ldscripts, which happened to match the -mmcu values. But it was a hack. It is fairly easy to replace the current mechanism with something else, given that there is a good way to extract the support devices. Unfortunately, I don't have time to look into this myself at this point. However, if someone comes up with a way to get the mcu list from gcc I'll implement it :-) Quote Link to post Share on other sites
chindi 0 Posted October 28, 2014 Share Posted October 28, 2014 Hello all! I'm new to Linux Mint 17, Eclipse and to linking toolchains and libraries. Although I have been using CCS5 under Windows XP for a few years. I've -downloaded and unpacked the package msp430-toolchain-linux-i386-2.1.tar.bz2 -downloaded unpacked and run Eclipse Luna -Installed the http://eclipse.xpg.dk/ patch into Eclipse My platform is the MSP430G series Launchpad that I'm using in the SBW mode to work with a MSP430F5172 project of mine. My problem is that I'm unable to load the program into the F5172 board. I am able to load a program into a MSP430G2553 no problem and am able to load the F5172 program when using CCS5 under Windows XP (I have a Win VM in my Linux Mint machine). When I choose the "rf2500" platform, I get the following error: Args: [/opt/msp430-toolchain-linux-i386-2.1/bin/mspdebug-wrapper, rf2500, prog /home/jim/workspace/UCS_Test/Debug/UCS_Test.elf]Waiting for mspdebug to finishMSPDebug version 0.20 - debugging tool for MSP430 MCUsCopyright © 2009-2012 Daniel Beer <dlbeer@gmail.com>This is free software; see the source for copying conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.Trying to open interface 1 on 006Initializing FET...FET protocol version is 30066536Configured for Spy-Bi-WireSet Vcc: 3000 mVDevice ID: 0x3080msg28_data: [0x1a bytes] 30 80 30 10 08 0a b2 5b 94 46 19 00 04 00 f8 fe de ee 91 04 11 00 1a 00 04 05fet: unknown devicefet: identify failedTrying again...Initializing FET...FET protocol version is 30066536Configured for Spy-Bi-WireSending reset...Set Vcc: 3000 mVDevice ID: 0x3080msg28_data: [0x1a bytes] 30 80 30 10 08 0a b2 5b 94 46 19 00 04 00 f8 fe de ee 91 04 11 00 1a 00 04 05fet: unknown devicefet: identify failed So it's not recognizing the F5172 signature. If I select the "tilib" platform, I get an error window saying the file libmsp430.so file cannot be found. I have located a copy of this file but don't know which directory to put it in? ... and if this will work or not? I have read the post about the Olimex platform supporting the F5172 with a possible workaround but it involves recompiling a fet_core.c file after making changes to it but I don't know how to do that. Anyone know what I can do besides going back to CCS5 on Windows? Thanks Jim Quote Link to post Share on other sites
xpg 127 Posted November 2, 2014 Author Share Posted November 2, 2014 Hello all! I'm new to Linux Mint 17, Eclipse and to linking toolchains and libraries. Although I have been using CCS5 under Windows XP for a few years. I've -downloaded and unpacked the package msp430-toolchain-linux-i386-2.1.tar.bz2 -downloaded unpacked and run Eclipse Luna -Installed the http://eclipse.xpg.dk/ patch into Eclipse My platform is the MSP430G series Launchpad that I'm using in the SBW mode to work with a MSP430F5172 project of mine. My problem is that I'm unable to load the program into the F5172 board. I am able to load a program into a MSP430G2553 no problem and am able to load the F5172 program when using CCS5 under Windows XP (I have a Win VM in my Linux Mint machine). Anyone know what I can do besides going back to CCS5 on Windows? Thanks Jim Hi Jim, This is caused by an old version of mspdebug bundled with the msp430-toolchain. I will try to get some time to rebuild the pre-build toolchain to include a newer version of mspdebug. Cheers, Paul Quote Link to post Share on other sites
chindi 0 Posted November 4, 2014 Share Posted November 4, 2014 Hi Jim, This is caused by an old version of mspdebug bundled with the msp430-toolchain. I will try to get some time to rebuild the pre-build toolchain to include a newer version of mspdebug. Cheers, Paul Paul, Thanks! No real hurry now as I have worked around this issue... I acquired a MSP430FR5969 Launchpad with a newer FET emulator. I then installed CCS6 on my Linux Mint machine. Using this newer Launchpad as a SBW host to my F5172 board (same as I did with the value-line Launchpad), I am now able to run and debug my application on it via CCS6. Thanks again! Quote Link to post Share on other sites
chindi 0 Posted November 13, 2014 Share Posted November 13, 2014 Paul, Thanks! No real hurry now as I have worked around this issue... I acquired a MSP430FR5969 Launchpad with a newer FET emulator. I then installed CCS6 on my Linux Mint machine. Using this newer Launchpad as a SBW host to my F5172 board (same as I did with the value-line Launchpad), I am now able to run and debug my application on it via CCS6. Thanks again! This scheme has only been partly successful! The F5172 program compiles and loads into the device fine but the debugger does not work well. I've had to resort back to the CCS5.4 app under the VirtualBox VM on my Linux machine to have any success here. Quote Link to post Share on other sites
xpg 127 Posted November 14, 2014 Author Share Posted November 14, 2014 This scheme has only been partly successful! The F5172 program compiles and loads into the device fine but the debugger does not work well. I've had to resort back to the CCS5.4 app under the VirtualBox VM on my Linux machine to have any success here. Thanks for the updates. That sounds somewhat annoying. I'll try to allocate some time to rebuild the tools so that you can give Eclipse and the MSP430 plugin a try. (I'm just really busy these days, but I'll get around doing it :-)) Cheers, Paul Quote Link to post Share on other sites
Oppa 1 Posted January 18, 2015 Share Posted January 18, 2015 Hi, just some positive feedback. I've moved from Debian to Fedora 21. Using the Fedora toolchain installed via yum and Juno the plugin works fine. Indigo crashed during startup probably due to Java 8 being default for Fedora 21. Thanks, Stephan Quote Link to post Share on other sites
Robertj23 0 Posted October 9, 2015 Share Posted October 9, 2015 Hi I realize that this topic is a little old but I hope that someone will be able to help me. I installed toolchain and eclipse both on a mac and windows. Everything was going great until I come to a point where i have to activate msp 430 toolchain. I tried on both systems with 32bit and 64bit versions and different location of the toolchain folder. Whenever I create a new project and go to preferences I cannot display the list of MCUs. It's just empty. Is there any solution to the problem? Can anyone help? Best Regards Robert Quote Link to post Share on other sites
EdoNork 10 Posted March 11, 2016 Share Posted March 11, 2016 Hi, Does this plugin work with the TI version of the MSP430GCC compiler? Thanks in advance. Quote Link to post Share on other sites
xpg 127 Posted March 14, 2016 Author Share Posted March 14, 2016 Hi, Does this plugin work with the TI version of the MSP430GCC compiler? Thanks in advance. Hi, I'm not quite sure. It haven't used the plugin myself for a long time myself. It has generally been far too long since I've had time to do anything with an MSP430 chip (which is also why I haven't really been active in here). But if you try it out please let me know how it goes. bluehash 1 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.