Bubele 2 Posted September 5, 2016 Share Posted September 5, 2016 Hello, i installed Energia 16.10E18 on two different Ubuntu 16.04 machines, on both i get the same error message then trying to "flash" the EXP430FR6989LP Board. Sketch uses 3,148 bytes (2%) of program storage space. Maximum is 130,048 bytes.Global variables use 28 bytes (1%) of dynamic memory, leaving 2,020 bytes for local variables. Maximum is 2,048 bytes.DSLite version 6.2.1.1624Failed: Cannot read System Setup data from XML file /home/MYUSERID/.energia15/packages/energia/tools/dslite/6.2.1.1624/MSP-EXP430FR6989LP.ccxmlConfiguring Debugger (may take a few minutes on first launch)...Error parsing file:Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/home/MYUSERID/.energia15/packages/energia/tools/dslite/6.2.1.1624/MSP-EXP430FR6989LP.ccxmlFatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/MYUSERID/.energia15/packages/energia/tools/dslite/6.2.1.1624/MSP-EXP430FR6989LP.ccxmlpwd/home/MYUSERID/.energia15/packages/energia/tools/dslite/6.2.1.1624MYUSERID@c-20po:~/.energia15/packages/energia/tools/dslite/6.2.1.1624$ lltotal 84drwxrwxr-x 7 MYUSERID MYUSERID 4096 Sep 5 14:45 ./drwxrwxr-x 3 MYUSERID MYUSERID 4096 Aug 20 17:08 ../drwxrwxr-x 4 MYUSERID MYUSERID 4096 Jun 2 21:20 c2000/-rw-r--r-- 1 MYUSERID MYUSERID 1939 Jun 2 21:28 CC2650F128_TIXDS100v3_Dot7_Connection.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 1231 Jun 2 21:28 CC2650F128_TIXDS110_Connection.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 1215 Jun 2 21:28 cc3200.ccxmldrwxrwxr-x 5 MYUSERID MYUSERID 4096 Jun 2 21:17 common/drwxrwxr-x 8 MYUSERID MYUSERID 4096 Jun 2 21:18 DebugServer/-rw-r--r-- 1 MYUSERID MYUSERID 1112 Jun 2 21:28 EK-TM4C123GXL.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 1116 Jun 2 21:28 EK-TM4C1294XL.ccxmldrwxrwxr-x 6 MYUSERID MYUSERID 4096 Jun 2 21:17 emulation/drwxrwxr-x 3 MYUSERID MYUSERID 4096 Jun 29 00:24 hercules/-rw-rw-r-- 1 MYUSERID MYUSERID 1466 Jun 29 00:22 LAUNCHXL_CC1310.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 959 Jun 2 21:28 LAUNCHXL-F28027.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 1094 Jun 2 21:28 LAUNCHXL-F28069M.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 1396 Jun 2 21:28 LAUNCHXL-F28377S.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 829 Jun 2 21:28 MSP-EXP430F5529LP.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 837 Jun 2 21:28 MSP-EXP430FR4133.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 833 Jun 2 21:28 MSP-EXP430FR5969.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 837 Jun 2 21 21:28 MSP-EXP430FR6989.ccxml-rw-r--r-- 1 MYUSERID MYUSERID 1094 Jun 2 21:28 MSP_EXP432P401R.ccxmlMYUSERID@c-20po:~/.energia15/packages/energia/tools/dslite/6.2.1.1624$$ cat MSP-EXP430FR6989.ccxml<?xml version="1.0" encoding="UTF-8" standalone="no"?><configurations XML_version="1.2" id="configurations_0"> <configuration XML_version="1.2" id="TI MSP430 USB1_0"> <instance XML_version="1.2" desc="TI MSP430 USB1_0" href="connections/TIMSP430-USB.xml" id="TI MSP430 USB1_0" xml="TIMSP430-USB.xml" xmlpath="connections"/> <connection XML_version="1.2" id="TI MSP430 USB1_0"> <instance XML_version="1.2" href="drivers/msp430_emu.xml" id="drivers" xml="msp430_emu.xml" xmlpath="drivers"/> <platform XML_version="1.2" id="platform_0"> <instance XML_version="1.2" desc="MSP430FR6989_0" href="devices/MSP430FR6989.xml" id="MSP430FR6989_0" xml="MSP430FR6989.xml" xmlpath="devices"/> </platform> </connection> </configuration></configurations> while hunting for the problem i found 2 dslite entries in the tools->Programmer menu, selecting the 2nd does not help, just the path of the suspect ccxml file changed to /opt/energia-1.6.10E18/hardware/tools/DSLite/MSP-EXP430FR6989LP.ccxml Energia: 1.6.10E18 (Linux), Board: "MSP-EXP430FR6989LP" <command-line>:0:12: warning: missing whitespace after the macro name [enabled by default] Sketch uses 3,148 bytes (2%) of program storage space. Maximum is 130,048 bytes. Global variables use 28 bytes (1%) of dynamic memory, leaving 2,020 bytes for local variables. Maximum is 2,048 bytes. DSLite version 6.2.1.1595 Failed: Cannot read System Setup data from XML file /opt/energia-1.6.10E18/hardware/tools/DSLite/MSP-EXP430FR6989LP.ccxml Configuring Debugger (may take a few minutes on first launch)... Error parsing file: Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/opt/energia-1.6.10E18/hardware/tools/DSLite/MSP-EXP430FR6989LP.ccxml Fatal Error at (0, 0): An exception occurred! Type:RuntimeException, Message:The primary document entity could not be opened. Id=/opt/energia-1.6.10E18/hardware/tools/DSLite/MSP-EXP430FR6989LP.ccxml This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences. OS: Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64) any idea? thanks best regards Peter Quote Link to post Share on other sites
Rickta59 589 Posted September 5, 2016 Share Posted September 5, 2016 I would just do this: $ cd /opt/energia-1.6.10E18/hardware/tools/DSLite $ cp MSP-EXP430FR6989.ccxml MSP-EXP430FR6989LP.ccxml energia and Bubele 2 Quote Link to post Share on other sites
Bubele 2 Posted September 5, 2016 Author Share Posted September 5, 2016 Hello Rick, pah, that was to easy ;-) I missed the little difference, i mean the missing "LP". Perfect, that worked. for others, i had to link it on both pathes, it first is jelling about the 1st path, on second try, it seems using the other path. c-20po:/opt/energia-1.6.10E18/hardware/tools/DSLite$ ln -s MSP-EXP430FR6989.ccxml MSP-EXP430FR6989LP.ccxml c-20po:~/.energia15/packages/energia/tools/dslite/6.2.1.1624$ ln -s MSP-EXP430FR6989.ccxml MSP-EXP430FR6989LP.ccxml thanks best regards Peter ;-) Quote Link to post Share on other sites
energia 485 Posted September 6, 2016 Share Posted September 6, 2016 Thanks @@Bubele for the report and thanks @@Rickta59 for the work-around. I have files a bug for this here: https://github.com/energia/msp430-lg-core/issues/23 Will be fixed in the next MSP430 core release sometime this week. Robert 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.