Jump to content
43oh

Problems with Energia on MSP430 LaunchPad


Recommended Posts

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!

Link to post
Share on other sites

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.

Link to post
Share on other sites
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.

Link to post
Share on other sites

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

Link to post
Share on other sites
  • 4 weeks later...
  • 2 weeks later...

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

Link to post
Share on other sites
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

Link to post
Share on other sites
  • 2 weeks later...
  • 1 month later...

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

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.

×
×
  • Create New...