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.

CCS/MSP430G2553: Target must be connected before loading program

Part Number: MSP430G2553
Other Parts Discussed in Thread: MSP-EXP430G2ET, , MSP430WARE, MSP-FET

Tool/software: Code Composer Studio

I'm using a LaunchPad board, and all the jumpers are in place for the debugger.

When trying to program in debug mode, I get the message "TI MSP430 USB1/MSP430 : Target must be connected before loading program"

I'm using CCS Version 9.1.0.000110  

Hardware:   MSP-EXP430G2ET

Clicking identify in Properties>General, I get the following message:

Starting Debug Server ...
The target configuration C:/Users/creng/workspace_v9/.tempFiles/testIdentify.ccxml is not compatible with the current target configuration C:\Users\creng\workspace_v9\FLv52\targetConfigs\MSP430G2553.ccxml

Thanks in advance for your help.

  • Hello Stephen,

    Based on the 2nd error, it sounds like maybe there is an issue with your CCS project. Can you test with one of the examples built specifically for the MSP-EXP430G2ET?  To acces via CCS, go to view-Resource explorer.  Then navigate to MSP430ware -> Development Tools -> MSP-EXP430G2ET.

    There is also a direct link here: http://dev.ti.com/tirex/explore/node?node=AHtAZc-9AUOr1VFjkDPZ8g__IOGqZri__LATEST 

    Import one of these projects into CCS and try debugging it.  Report back here how it goes.

    Thanks,

    JD

  • TI Resource Explorer will not load, so that is not an option for me.

    Trying to use the link, it only gives me the option of loading the example to the cloud IDE.

  • In a pinch:

    1) Delete the .ccxml file

    2) Go to Build Settings->General and (re-)check the "Manage target configuration automatically" box

    and it should create a new one. (While you're there, make sure all the settings look about right.)

  • I've tried deleting the .ccxml file, but still having issues.

    Now, in the debug window, underneath my project name, it says:    TI MSP430 USB1/MSP430 (Disconnected: Unknown)

    I have an MSP-FET plugged in to the USB port, and our target board connected to the terminals.

  • Hey Stephen,

    Are you trying to program a launchpad or a target board?  If it's still the launch pad, unplug the MSP-FET and just connect the Launchpad to the PC to use the built on ezFET.  

    Also, you should be able to test with the cloud IDE to at least confirm that the hardware is working and able to be programmed.  If so, then we know for sure it's a CCS or project settings issue.  

    Thanks,

    JD

  • I'm trying every option, but none work:
    1. Program processor on LaunchPad.
    2. Disconnect header connections and try to program target using LaunchPad.
    3. Program target with MSP-FET.
    I have not used the cloud before, so don't really understand how it will program local hardware - maybe it won't.
  • Programming is working now. Here were the issues:

    1.  pin 1 (VCC on MSP-FET) was previously connected to the battery (unregulated) Connected it to the regulated 3V supply.

    2. Somehow the wrong ccxml file was active in the project. 

    Thanks for your help. Hope this is of assistance to others.

**Attention** This is a public forum