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.

LP-MSPM0G3507: Flash without Debug - Code Composer Studio Theia

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: MSPM0G3507

Tool/software:

Hello,

I' using Code Composer Studio Theia (Version: 1.4.1.1 - Default VS Code API: 1.85.1) with a LP-MSPM0G3507.

I didn't find any button or possibility to simply flash my software to the MSPM0G3507 on the LaunchPad.

I only see the build-options:

and the debug-buttons:

How can I flash my sourcecode to the MSPM0G3507 ?

I suggest the "load"-menu might be what I want to do. But all buttons are greyed out.

Thanks in advance!

Matze

  • Hi Matze

    You can load the program after you connect to the device. The last response in this thread has some information but I'll detail the steps also.

    1. In the workspace open the targetConfigs folder and right click the .ccxml

    2. Select Project-less Debug
    3. In the new menu that opens up, right click on the Texas Instruments XDS110 USB Debug Probe
    4. Select connect target
    5. This will connect you to the DAP (debug accessible port) Core
    6. Under the Run tab, select load program
    7. Click browse then navigate to your .out file
      1. Normally this is located in the debug folder of your project
    8. Click open, then Ok. And the program will load onto the device.
    9. You can now press the blue play button, or in the run menu select free run.

    Regards,
    Luke

  • Really?

    Isn't this totally impractical in the daily use of the program?!

    Why is there no load/flash/program button like in microchips MPLABX?

  • Debug Project will flash the device and run the code. I typically debug during my code development as it will flash the program and load the symbols so I can check registers, set breakpoints during run time, check variables etc. The hotkey is F5.

    You can also load a program separately with the steps I provided above, this is beneficial if you're already connected to the system and don't want to close the debug session.

    There is also UNIFLASH which is a separate program made for only flashing the device (helpful on assembly lines or if using a separate developer tool and/or compiler)

    Regards,
    Luke

  • I find it works fine.

    Alternately, just use the debug functionality and as soon as it gets to the main() breakpoint hit the red square.

  • I didn't find any button or possibility to simply flash my software to the MSPM0G3507 on the LaunchPad.

    We had a "Flash" button in CCS Eclipse for this functionality. This feature does not exist in CCS Theia.

    I filed an enhancement request to bring this to CCS Eclipse. Tracking link: https://sir.ext.ti.com/jira/browse/EXT_EP-11925

    Note the behavior of this is basically automating the steps Luke already mention under the hood for ease of use.

    Thanks

    ki

  • Thanks a lot! That's what I was hoping for Slight smile

  • So all in all...

    What are the major advantages of CCS Theia compared to CCS?

    Why should I use Theia? And why not step back to CCS?