Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read System Setup data from XML file #14

Open
sapolio opened this issue Nov 17, 2019 · 2 comments
Open

Cannot read System Setup data from XML file #14

sapolio opened this issue Nov 17, 2019 · 2 comments

Comments

@sapolio
Copy link

sapolio commented Nov 17, 2019

Need help!

My setup is:

  • msp-exp430g2 rev.1.5
  • m430g2553
  • vscode (v1.40.1)
  • pio ide for vscode (v1.9.3)
  • Win 10

lpmsp430g2553 was the only choice when creating the project for that chip. There's no "LP" in the names of my devices, but what was I supposed to do?..

Firmware uploading fails:

Failed: Cannot read System Setup data from XML file C:\Users\user.platformio\packages\tool-dslite\MSP-EXP430G2553LP.ccxml

I'm a starter so I don't even nearly figure out the meaning of It. But It seems to be a file missed or misnamed. The most similar name in this directory is MSP-EXP430G2ET2553LP.ccxml
There is no " ET " on my hardware either...

Somebody please explain:

  • Is It the proper file?
  • What is It used for?
  • Should I barbarically rename it to enjoy? (In fact I've already done it successfully)
  • What should I have read before the start to avoid asking such questions?
@ivankravets ivankravets transferred this issue from platformio/platformio-vscode-ide Nov 20, 2019
@Incapamentum
Copy link

Hi,

Was dealing with this issue today, but after about two hours of working on it I think I found a fix to it.

To begin answering your questions:

Is it the proper file?

It is not the proper file. The MSP-EXP430G2ET2553LP.ccxml corresponds to the MSP430G2ET2553 chip, which I believe to be a successor to the MSP430G2553 chip. Based on what I've gathered, seems that TI no longer manufactures or supports the latter.

What is it used for?

A .ccxml file seems to be a target configuration file. The best I can figure it out from is that it's pretty much used to configure important things for debugging and uploading code to the chip in questions.

Should I barbarically rename it to enjoy?

I wouldn't entirely suggest it, although it seems that renaming the file did end up fixing your issue. You may have to keep that in mind if you were to end up working with the MSP430G2ET2553 chip. I did end up finding the contents of the .ccxml file for the MSP430G2553 here. It ended up fixing the issue without having to rename any file.

What should I have read before the start to avoid asking such questions?

No clue. I personally feel it's situational based on your background and experience. Two hours of work put into fixing this issue made me learn a lot, as outlined above. My background is that I'm a recent computer engineering graduate :)

@geperezg
Copy link

geperezg commented Jun 9, 2020

Hello,

I have a similar issue, though I can't seem to make it work...could this be related to the "ET" name on my board?

msp-exp430g2ET (can't tell my revision)
m430g2553
vscode (v1.45.1)
pio ide for vscode (v1.10)
Win 10

There's no "LP" in the names of my devices, yet my default .ini file is as follows:

[env:lpmsp430g2553]
platform = timsp430
board = lpmsp430g2553
framework = arduino

My error is the following:

Failed: Cannot read System Setup data from XML file C:\Users.platformio\packages\tool-dslite\MSP-EXP430G2553LP.ccxml

Current version of DSLite:

  • tool-dslite 1.80200.1400 (8.2.0)

I am inclined to believe that maybe seeking a higher version of DSlite could make a difference. When I try uploading something with Energia, version 9.3 works fine

DSLite version 9.3.0.1863
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: MSP430
Executing Startup Scripts: MSP430
Connecting...
Loading Program: C:\Users\gaperez\AppData\Local\Temp\arduino_build_548469/energia_practice.ino.elf
Preparing ...
.text: 0 of 784 at 0xc000
.text: 0 of 32 at 0xffe0: 93%
Finished: 93%
Setting PC to entry point.: 93%
info: MSP430: Flash/FRAM usage is 836 bytes. RAM usage is 0 bytes.
Running...
Success

I tried using the suggested file, but it didn't make a difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants