Markers 3 Posted December 5, 2017 Share Posted December 5, 2017 Hi! I'm a newbie just starting out with a MSP-EXP430G2 LaunchPad running with an M430G2553 chip. I am trying to load Examples from the Energia IDE but each time I attempt to compile or upload the code I get an error: msp430-g++: error: <name>\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\4.6.5/include: No such file or directory exit status 1 Error compiling for board MSP-EXP430G2 w/ MSP430G2553. I am running a Win 10 64 laptop. I have selected the correct Board (MSP-EXP430G2 w/ M430G2553) from the Tools menu and updated the software. Can someone please tell me where I am going wrong. Many thanks in anticipation! Quote Link to post Share on other sites
Fmilburn 445 Posted December 5, 2017 Share Posted December 5, 2017 @Markers Make sure there are no spaces in the path. See for example this: when you get a problem like this, always try a search for the key words in the error message - eg no such file or directory energia 1 Quote Link to post Share on other sites
Markers 3 Posted December 5, 2017 Author Share Posted December 5, 2017 Many thanks Fmilburn! I think there is a space in my <name> - I will move everything to another directory and try again. Many thanks. Quote Link to post Share on other sites
Markers 3 Posted December 5, 2017 Author Share Posted December 5, 2017 Hi Fmilburn. The various Energia folders in <name>\AppData\Local\Energia15\packages\energia\tools\msp430-gcc\ .... were set up automatically when I installed Energia. How do I move all the files to another location? Thanks. Quote Link to post Share on other sites
NurseBob 111 Posted December 5, 2017 Share Posted December 5, 2017 Keep it simple - just edit the <name> folder if that's the one with a space in it. Over the years I've learned to keep names as close as possible to the old DOS naming standards, as many developer tools are not always forgiving of long names, or other naming issues most of us have forgotten ever existed... Fixing the folder name would be far, far less complex than moving all of the Energia files, which would likely introduce other errors. enl 1 Quote Link to post Share on other sites
enl 227 Posted December 7, 2017 Share Posted December 7, 2017 On 12/5/2017 at 4:51 PM, NurseBob said: Keep it simple - just edit the <name> folder if that's the one with a space in it. Over the years I've learned to keep names as close as possible to the old DOS naming standards, as many developer tools are not always forgiving of long names, or other naming issues most of us have forgotten ever existed... Fixing the folder name would be far, far less complex than moving all of the Energia files, which would likely introduce other errors. As a general rule, you should never use file or directory names with spaces in them. They tend not to work well with many tools, and tend not to work well across platforms, and do not work at all with some environments/platforms. We have all seen the abomination that occurs when a URL contains a space, and some of us have seen environments where some superstar realizes that, on windows, a filename or directory name can consist of nothing but spaces. Have fun with that. It does not help that Windows does not handle paths consistently across contexts, and, though better than in the days of Win95, still does not handle capitalization in file/directory names consistently across all contexts. NurseBob 1 Quote Link to post Share on other sites
Markers 3 Posted December 9, 2017 Author Share Posted December 9, 2017 Thank you all for the advice about the folder name. I have finally been able to fix that issue. However, now when I load the "Blink" example I get the following error: Energia: 1.6.10E18 (Windows 10), Board: "MSP-EXP430G2553LP" Sketch uses 760 bytes (4%) of program storage space. Maximum is 16,384 bytes. Global variables use 20 bytes (3%) of dynamic memory, leaving 492 bytes for local variables. Maximum is 512 bytes. MSPDebug version 0.22 - debugging tool for MSP430 MCUs Copyright (C) 2009-2013 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. usbutil: unable to find a device matching 0451:f432 An error occurred while uploading the sketch Any ideas, anyone? Many thanks, Mark Quote Link to post Share on other sites
nixnerd3 2 Posted January 5, 2018 Share Posted January 5, 2018 I'm having the same issue: usbutil: unable to find a device matching 0451:f432 Has anyone found a solution? Quote Link to post Share on other sites
NurseBob 111 Posted January 16, 2018 Share Posted January 16, 2018 > Has anyone found a solution? Maybe this will help??? https://github.com/energia/Energia/wiki/Common-error-messages Quote Link to post Share on other sites
edinjay 0 Posted January 18, 2018 Share Posted January 18, 2018 Hi, I'm getting the same issue when attempting to run the demo program Blink 'usbutil: unable to find a device matching 0451:f432 '. Looking at the 'Common error messages' no further forward. I am using following SW versions:- PC os - WinXP Energia 1.6.10E18 ES430-UART driver The board thats indicated on the ide is :MSP-EXP5430G2553lp' ? The board documentation only has - MSP-EXP5430G2553- so not sure what lp means on the Energia IDE. Port is :COM3 Quote Link to post Share on other sites
jazz 209 Posted January 22, 2018 Share Posted January 22, 2018 On 1/18/2018 at 5:39 PM, edinjay said: I'm getting the same issue when attempting to run the demo program Blink 'usbutil: unable to find a device matching 0451:f432 '. Maybe this f432 is somehow related to MSP432? Because I can find any VID / PID in Energia (boards.txt file) related to MSP-EXP430F5529LP, MSP-EXP430FR4133LP, MSP-EXP430FR5969LP, MSP-EXP430FR6989LP, MSP-EXP430G2553LP or MSP-EXP430FR5739LP and identical to this numbers (0451, f432). Edit: I was wrong, it is not related to MSP432. Solution is here... https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/539487 Quote Link to post Share on other sites
edinjay 0 Posted February 4, 2018 Share Posted February 4, 2018 Thanks jazz, The solution you pointed to at the 'e2e ' website fixed the issue so I can download demo programs to the board and run them So now I can move to the next stage of developing my applications. Cheers Quote Link to post Share on other sites
Markers 3 Posted March 5, 2018 Author Share Posted March 5, 2018 Hi Jazz, Thanks, I have finally been able to make contact with my Launchpad. I now have a new request for information please: I have developed an interactive game on an Arduino platform using an accelerometer chip that records certain movement made by players. My problem is that the periods between movements need to be timed, and the Arduino stops all timers in deep sleep mode. The result is excessive battery consumption. I want to now recreate the game on the MSP430 platform because of its extremely low power consumption, but only if there is a timer that runs during deep sleep. I need to use a small form factor chip that will wake up on an interrupt from the accelerometer while maintaining a timer from before going to sleep until after the interrupt. The calculations based on time differences are simple and only require a handful of lines of code before sending the chip back to sleep. Can anyone advise me the best model of the MSP430 chip family I should use please for this simple application. All advice will be greatly appreciated. Mark Quote Link to post Share on other sites
jazz 209 Posted March 5, 2018 Share Posted March 5, 2018 I guess that LPM3 with ACLK active should work fine in your case. It takes about 2uA. Quote Link to post Share on other sites
Markers 3 Posted March 5, 2018 Author Share Posted March 5, 2018 Hi Jazz, Thanks, I had thought that would be the case. However, I am overwhelmed by the choice of MSP430 chips. Any suggestions? Mark 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.