platformio / platform-timsp430

TI MSP430: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/timsp430
Apache License 2.0
18 stars 16 forks source link

Cannot read System Setup data from XML file #14

Open sapolio opened 4 years ago

sapolio commented 4 years ago

Need help!

My setup is:

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:

Incapamentum commented 4 years ago

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 commented 4 years ago

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:

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.