Jump to content
DaveSD

MSP430FR2476 - Failed to match a default include file

Recommended Posts

Hi there!

I have a TI LaunchPad LP-MSP430FR2476 and have Energia 1.8.11E23 on Windows. Just trying to get a simple blink sketch to compile and run, but get the error in msp430h:1793: "Failed to match a default include file" when just compiling.

I have the MSP-EXP430FR2476LP Board selected. Selecting other boards lets me compile OK, so I suspect it's an issue with the board definition somehow.

Any ideas?

Share this post


Link to post
Share on other sites

Hi,

it looks like that during the packaging of the last release a few files got missing.

If you open the Board manager and switch the version for the MSP430 back to 1.0.6 it should work again.

Share this post


Link to post
Share on other sites

Thanks - that lets me verify/compile, but when trying to upload, I get this error (tested on both Windows 10 and Ubuntu 20.04):

 

java.io.IOException: Cannot run program "{runtime.tools.dslite-9.2.0.1793-e1.path}/DebugServer/bin/DSLite": error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at java.lang.Runtime.exec(Runtime.java:620)
    at java.lang.Runtime.exec(Runtime.java:485)
    at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:11)
    at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
    at cc.arduino.packages.uploaders.SerialUploader.runCommand(SerialUploader.java:383)
    at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:197)
    at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
    at processing.app.SketchController.upload(SketchController.java:732)
    at processing.app.SketchController.exportApplet(SketchController.java:703)
    at processing.app.Editor$UploadHandler.run(Editor.java:2075)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
    ... 11 more
An error occurred while uploading the sketch

 

Share this post


Link to post
Share on other sites

see the same now - i do not know why the downgrade did not properly set the path for the downloader

Just can suggest a direct hack now:

Got to your Energia install folder and edit

 .... \hardware\energia\msp430\platform.txt

replace:
tools.dslite.path={runtime.tools.dslite-9.2.0.1793-e1.path}
with:
tools.dslite.path={runtime.tools.dslite-9.3.0.1863.path}

If it can not find the dslilte again then also install the TIVAC package from the board manager - that is also using this dslite version

Share this post


Link to post
Share on other sites

Yay, that did it! Changed tools.dslite.path version to 9.3.0.1863 in platform.txt in $HOME/.energia15/packages/energia/hardware/msp430/1.0.6/platform.txt and then also installed the TIVAC package which installed the 9.3.0.1863 version of DSLite.

At first I tried pulling the "-e1" off the config value for the 9.2.0 version, which got it to find DSLite, but then ran into another issue where it wasn't finding MSP-EXP430FR2476LP.ccxml

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.


×
×
  • Create New...