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/MSP-EXP432P401R: MSP-EXP432P401R

Part Number: MSP-EXP432P401R

Tool/software: TI C/C++ Compiler


I tried troubleshooting software/ hardware issues and realized that it could be something wrong with my com ports. I purchased an HP laptop thinking I needed Windows and spent all day today downloading and reinstalling everything. I am still getting the same error. 

I have installed all tools and downloaded the MSP432P4 drivers. Still did not help. This is for a class. I am running behind. I'd appreciate resolving this issue asap. 

Thank you

This is the error I am receiving:

Energia: 1.8.11E23 (Mac OS X), Board: "RED LaunchPad w/ msp432p401r EMT (48MHz)"

Sketch uses 35024 bytes (13%) of program storage space. Maximum is 262144 bytes.
Global variables use 6500 bytes (9%) of dynamic memory, leaving 59036 bytes for local variables. Maximum is 65536 bytes.
DSLite version 9.2.0.1793
Configuring Debugger (may take a few minutes on first launch)...
Initializing Register Database...
Initializing: CS_DAP_0
Executing Startup Scripts: CS_DAP_0
Initializing: CORTEX_M4_0
Executing Startup Scripts: CORTEX_M4_0
Connecting...
fatal: CS_DAP_0: Error connecting to the target: (Error -260 @ 0x0) An attempt to connect to the XDS110 failed. The cause may be one or more of: no XDS110 is connected, invalid firmware update, invalid XDS110 serial number, or faulty USB cable. The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 8.3.0.00003)
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
does not exist or your board is not connected

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

  • Did you try a new USB cable?

    Do you have another launchpad to try?

    Did you try the XDSDFU utility?

  • I tried three or four different USB cables. They all did not work. I do not have another launchpad to try. What us the XDSDFU utility and how to I do it?

  • Hi Anna,

    The error saying cannot connect to target, is indicating your PC can't see the LaunchPad. This most likely is related to a driver issue, but could also be that the physical connection is not happening (unplugged, LaunchPad unresponsive, etc). Since you are using Energia, it's possible you did not install the drivers needed to see the MSP432 LaunchPad if you are running on windows. If you are running on Mac OS, then drivers are not required. On Windows please install the LaunchPad drivers from this link: s3.amazonaws.com/.../energia_drivers.zip

    Unzip the file and run the exe inside.

    It is described in the installation instructions on the Energia Website: https://energia.nu/guide/install/windows/

    In Code Composer Studio, these drivers are installed as part of the software installation, but with Energia by itself on your machine it needs to be done separately. 

    Give that a try and see if you can connect successfully.

  • Your output says Mac, so if you are on Mac, make sure you select the right COM port, which should be the port ending in ...001 option.

    If you are having trouble with Mac, which OS version do you have?

  • When you plug in the LaunchPad do you have a green power LED that comes on? If not, then that's trouble. If so, then likely the hardware is operating correctly and probably driver related. 

  • This is the OS version I have.

  • Yes, I do have a green button when I plug it in. This is what it looks like when powered on. I have also switched USB ports. 

  • Hi Anna,

    I see that you are working the TI-RSLK kit. I have two suggestions, One is you should remove the jumper that is the 5V on the jumper block, Second you should fix the jumper on the TDO. Let me know if that fixes it. 

  • From the error message:

    "The firmware and serial number may be updated using the xdsdfu utility found in the .../ccs_base/common/uscif/xds110 directory of your installation. View the ReadMe.txt file there for instructions. (Emulation package 8.3.0.00003)"

    Note that the mac can be flakey with older launchpads, so run the utility from the PC.

  • Hi,

    This resolved my issue.

    Thank you for all the help!

    Anna Nguru

  • Thanks for letting us know Anna. Yes make sure to remove that 5V jumper before attaching to the TI-RSLK to avoid any issues with damaging board components. This is indicated in the assembly guide for the robot. Good luck with your studies!

    www.ti.com/.../SEKP164

**Attention** This is a public forum