Jump to content

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?

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-}/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


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


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

Link to post
Share on other sites

Yay, that did it! Changed tools.dslite.path version to 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 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

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.

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...