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.

Launchpad communication with the computer

Other Parts Discussed in Thread: MSP430G2231

Hello, I recently got a MSP 430 Launchpad and am using Code Composer Studio to program it. The  programs (both my own and downloaded demo programs) are able to be loaded onto the device but the CCS software won't connect or target the Launchpad so active debugging with the chip is impossible. However if the power source is cut and then restarted, the program is able to run without computer activity. Hence my confusion. Is there some configuration error that is causing my software to not recognize the chip for active debugging/programming even though it will still load programs onto the G2231 chip for "passive" programs? Or rather how would you suggest I go about tackling this issue?

  • After further testing, it seems that even having downloaded and reinstalled CCS v4, a driver for the xds560 pci jtag emulator is not working properly and I have no way to fix this issue so that I can continue to program onto the launchpad. please help

  • Are you talking about the "!" at the bottom of the attached screen shot of WinXP Device Manager?

    If so, I don't think that is the issue.  My Launchpad works no problem and I even see the highlighted "COM31" over which I can see ASCII temp data using Hypertermina (2400, 8-N-1) with theMSP-EXP430G2-Launchpad project from http://www.ti.com/lit/zip/slac435 .

    Do you see a "COM31" equivalent in your  Device Manager?

    >>are able to be loaded onto the device but the CCS software won't connect or target the Launchpad so active debugging with the chip is impossible

    Can you explain this state in more detail?

    I don't understand how you are able to flash without connecting ot the target in CCSv4.

     

  • I am wondering why xds560 is involved this this.  Does the default USB emulator on the launchpad not work?  I have used the default emulator of MSP430G2231.ccxml (contents below) with no issues connecting and reconnecting to the launchpad.

     

     

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
        <configuration XML_version="1.2" id="configuration_0">
            <instance XML_version="1.2" desc="TI MSP430 USB1" href="connections\TIMSP430-USB.xml" id="TI MSP430 USB1" xml="TIMSP430-USB.xml" xmlpath="connections"/>
            <connection XML_version="1.2" id="TI MSP430 USB1">
                <instance XML_version="1.2" href="drivers\msp430_emu.xml" id="drivers" xml="msp430_emu.xml" xmlpath="drivers"/>
                <platform XML_version="1.2" id="platform_0">
                    <instance XML_version="1.2" desc="MSP430G2231" href="Devices\MSP430G2231.xml" id="MSP430G2231" xml="MSP430G2231.xml" xmlpath="Devices"/>
                </platform>
            </connection>
        </configuration>
    </configurations>

  • Hi,

    I'm having the same issue here. I followed the Student Guide and Lab Manual for MSP430. Everything went fine till page 2-11 when I'm supposed to click on the debug button. 

    CCS tells me it can't connect to the board. I unplugged it and recoonected to my computer with no success. Is there something I missed?

  • You can ignore the ! beside the XDS560 in device manager.  You get that when the driver for the PCI XDS560 has been installed but you don't have the PCI card in your PC.

    Regards,

    John

     

  • Hi Everybody,

    I meant CCS can't connect to the board at all. I even created a new target config file but nothing seems to work.

    I'm able to communicate with the board (via usb/uart) to read temperatures using Hyperterminal.

    I dont know if there is something wrong with my board as far as debugging is done with CCS

    EDIT:

    GOT IT !!!!! . The target configuration file referenced TI MSP430 USB1 as the target connection. As I randomly changed it to TI MSP430 USB2 and saved the config file, the debugger was able to connect to my LaunchPad. 

    Thanks for mentioning the Target Config File

**Attention** This is a public forum