This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/MSP430F5529: Upload not work the majority time

Part Number: MSP430F5529
Other Parts Discussed in Thread: ENERGIA, CC3100,

Tool/software: TI C/C++ Compiler

Good Afternoon, I am using the launchpad MSP430F5529 + Boosterpack CC3100 and the software Energia version 1.6.10E18 with the OS - Windows 10. I am having problem with the update. I must update multiple time for work my serial print. I would like to know the reason for the problem. I am using in a code a lot complex but when I use in a code more simple like a "Blink" I have the same problem. I already look the "device manager" of my PC like the figure that I attachment("COM12")  and already try used both selection of debugger (dslite - or mspdebug) and the problem keeps. I am use this simple blick bellow for test and I have the same problem. I would like a answer please.archive.zip

/*
Blink
The basic Energia example.
Turns on an LED on for one second, then off for one second, repeatedly.
Change the LED define to blink other LEDs.

Hardware Required:
* LaunchPad with an LED

This example code is in the public domain.
*/

// most launchpads have a red LED
#define LED RED_LED

//see pins_energia.h for more LED definitions
//#define LED GREEN_LED

// the setup routine runs once when you press reset:
void setup() {
// initialize the digital pin as an output.
Serial.begin(115200);
Serial.println("Starting Program");
pinMode(LED, OUTPUT);
}

// the loop routine runs over and over again forever:
void loop() {
digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
Serial.println("Turn On");
digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
Serial.println("Turn Off");
}

  • Hi Murilo,
    Whar is the problem you are seeing? It is not clear to me.
  • I attached a simple code like example. I am with problem in the upload. The Energia Software working with upload normal. But like the example I have same functions for publish in the serial print for verification if the program is running. When I open the serial print nothing happen, and for to work my commands in the serial print I must to do multiple upload until work the code. This blink is a simple example that I have a same problem, but in fact I am using a publish in the MQTT and I put in the code commands for publish in the serial also for I look if the program is running. When I do t first upload nothing happen in my MQTT and in my Serialprint also, and with this I must make new uploads and go looking at the serial, until one hour it works. Every time I have to do several uploads to run, this is not good and it is stressful.
  • Let me start over with this question please!

    ------Hardware-----------
    MSP430F5529 Launchpad
    CC3100 Boosterpack
    Windows 10 PC
    USB Cable

    ------Software----------------
    Energia Version 1.6.10E18
    "Blink" program directly from examples, with some serial.print

    Problem:
    When I click upload, my program does not begin running on my launchpad. After multiple uploads (sometimes 2, sometimes more than 5 attempts) then the code begins to run.

    Troubleshooting I have already done:
    Power down the launchpad by disconnecting the USB cable and reconnecting before uploading.
    Select a new COM port on Energia before uploading. I have cycled through all 3 available.
    Select either programmer "dslite" or "mspdebug" before uploading.
    Disconnect power and reconnect after seeing the "done uploading" message on Energia.

    My PC Device Manager Lists:
    Communications Port (COM1)
    MSP Application UART1 (COM13)
    MSP Debug Interface (COM14)

    My questions:
    1) Why does Energia sometimes say "uploading to i/o board" and sometimes say "uploading..."
    2) Why does the upload ALWAYS result in non-running program when energia says "uploading to i/o board?"
    3) What is the difference between programmers: "dslite" and "mspdebug"?
    4) When Energia says "done uploading," why is my program not running?
  • Hi,

    Can you please check a previous version of Energia? Maybe also a different launchpad? One problem could be USB3. So if you have the board connected to USB3 port please try USB2.
    If you only have USB3 ports try to switch USB3 to USB2 in BIOS.

    Please note that Energia is not officially supported by this forum. We can only give a general guidance. Please also check their official forum: forum.43oh.com/.../

    Best regards,
    Andre
  • Hi,

    do you have further questions? If not, please select "Resolved" for the post that solved your issue so this thread can be closed out.
    Thanks a lot!

    Best regards,
    Andre

**Attention** This is a public forum