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.

MSP-EXP432P401R: XDS110 serial port not detected but showing as working properly in Device Manger

Part Number: MSP-EXP432P401R
Other Parts Discussed in Thread: ENERGIA

Howdy
I was recently coding on my MSP432P401R using Keil uVision5 as my IDE and Energia. Recently both my IDE's have been giving me error messages when uploading my codes both stating there is an error in my serial port. Could someone help me to make my IDEs detect XDS110 serial port?

For Energia, I am getting


"fatal: CS_DAP_0: Error connecting to the target: (Error -261 @ 0x0) Invalid response was received from the XDS110. (Emulation package 8.0.27.9)
Failed: Operation was aborted
the selected serial port Failed: Operation was aborted
does not exist or your board is not connected"


In Keil I am getting "XDS110 ERROR: NO DEBUG UNIT found".

To start fixing these errors I opened my device manager and looked at my PORTS (COM & LPT). I get two options when my MSP is connected "XDS110 Class Application/User UART (COM7)" and "XDS110 Class Auxiliary Data Port COM5)". When clicking on them and view their device status they read "The device is working properly."

To give some background on my setup for my IDEs for Energia under the Tools tab I have for Board I have "RED Launchpad w/ msp432p4014 EMT (48MHz)", Port: "COM7" since it shows on my device manager as working properly.

In Keil I am running an Asm assembly language code in the DEBUG tab I have the TI XDS Debugger selected.

  • Hallo Jesse,

    can you please try a factory reset according to the thread below.

    You should also your clock settings before you try to re-program the device.

    Let me know if that works.

    Regards

    Kostas

  • Hallo Jesse,

    did the above help to solve your issues?

    Regards

    Kostas

  • Hello Kostas Aslandis

    I tried to Factory Reset Without Password and was able to follow through up until the instruction asking me to "right-click on the DAP and select Connect Target.". The intended response should have connected the debugger to the DAP but I received an error message "

    Error connecting to the target:
    (Error -261 @ 0x0)
    Invalid response was received from the XDS110.
    (Emulation package 8.3.0.00003)

    I also tried the Factory Reset With Password method but because I cannot connect to the board I cannot run the GEL file to Factory Reset my MSP. 

  • Hallo Jesse,

    sorry for that.

    I will check with the team and let you know.

    Regards

    Kostas

  • Hi Jesse,

    I have got some new inputs from the experts.

    - can you please check if all Jumpers are in place?

    - one other option could be, that the FW of the XDS110 is not up to date.

    In the link below, a procedure is described on how to manually update the FW

    LINK

    (software-dl.ti.com/.../emu_xds110.html

    Please adjust the given paths to your structure.

    Hope that can solve your problem.

    Let me know.

    Best Regards

    Kostas

  • Hello Kostas

    I followed your link to the Manuel update, but unfortunately, I do not know how to follow these instructions. Step 1 I was able to follow and did find the mentioned utility, but in instruction 2 where I am asked to run the configuration, I do not know what the configuration. Could you please explain these instructions?

    Respectfully 

    Jose Noriega

    Manual update

    If manual updating or diagnostics is required, using a Windows host is highly recommended. Close any instances of CCS that are running in your system. Open a Windows Command Prompt and issue the following commands:

    1. Go to the directory where the utility is installed:

    C:\>cd C:\ti\ccsv8\ccs_base\common\uscif\xds110

    2. Run the configuration just to make sure a XDS110-class debugger is connected (or to list how many are connected) and what is the firmware revision installed on it:

    C:\ti\ccsv8\ccs_base\common\uscif\xds110>xdsdfu -e

    3. Put the XDS110 in DFU mode:

    C:\ti\ccsv8\ccs_base\common\uscif\xds110>xdsdfu -m

    4. Run the updater, passing the firmware file and resetting the debug probe afterwards:

    C:\ti\ccsv8\ccs_base\common\uscif\xds110>xdsdfu -f firmware.bin -r

  • Additionally, I have looked into two options for resetting the XDS110 

    Option 1) The XDS110 Reset Download found in the XDS Emulation Software (EMUPack) Download page of Texas Instruments. These are the instructions below. 

    "xds110reset Reset Utility

    The xds110reset console application allows you to reset the LaunchPad or target board using the nSRST pin of the JTAG connection. This is equivalent to pressing a reset button on the board, but done under the command of the XDS110 debug probe.

    To reset the board, run the xds110reset command. The XDS110 will pull the nSRST signal low momentarily triggering a board reset.

    xds110reset Options

    xds110reset accepts the following command line options:

    -a, --action <NAME> Choose a specific action to perform. NAME may be "assert", "deassert", or "toggle". If not specified, toggle will be executed by default.

    -d, --delay <VALUE> Set the on-time for the reset toggle in milliseconds. This has no effect if action is "assert" or "deassert". If not specified, the delay will be set to 50 ms.

    -s, --serial <TEXT> Select the XDS110 probe by serial number. TEXT is the serial number to use, up to eight characters. If not specified, the first XDS110 found will be used.

    -h, --help Display the help text.

    xds110reset Example

    The following example toggles the reset pin, asserting the pin for 100 ms, using XDS110 with serial number “01234567”:

    xds110reset -a toggle -d 100 -s 01234567 "

     

    Options 2) The XDS110reset application found in the xds110 folder form the Manuel Update directory given in the first step.

    But both of them require me to connect my board to the JTAG connection. I don't know how to do this but if you can clarify it for me I believe I will be able to reset my XDS110 as you first advised me to do. 

    Respectfully 

    Jose Noriega

  • Hi Jose,

    the xdsdfu utility must be executed from command line. In order to invoke the command prompt in Windows, you can press the Windows key + R, type "cmd" and enter. After that, you want to change directories ("cd" command) as highlighted above. The commands marked in bold letters is the text you need to type into the command prompt window. To execute a command, you must press enter after each line.

    Note that if you have installed your TI emulation pack for Keil in a different folder than the default one  (which is C:\ti\) you will need to adjust the path in step 1.

    Please let us know if that worked for you.

    Best regards,

    Bob

  • Hallo Jose,

    did the above help to solve your issues?

    Regards

    Kostas

**Attention** This is a public forum