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/EVMK2G: Problem connecting using XDS200 port

Part Number: EVMK2G

Tool/software: Code Composer Studio

I have a K2G Evaluation Module and I would like to create and run a simple Hello World application using the XDS200 emulator port.  So I followed the steps in:

66AK2G02_GP_EVM_Hardware_Setup#Connecting_Emulator

and on that page:

For Debugging over emulator use "No Boot/Sleep" Setting as shown below:

and

On Board XDS200 emulator


(I also tried a few alternative boot switch setting in the the polarity was inverted based on the discussion about it on the page)

I am running CCS v7.3.0.00019 and I set up a target configuration for K2GEVM and then tried "Test Connection" whereupon I get the following error message:

[Start: Texas Instruments XDS2xx USB Onboard Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -S integrity

[Result]


-----[Print the board config pathname(s)]------------------------------------

C:\Users\wrdavis\AppData\Local\TEXASI~1\
CCS\ti7\0\0\BrdDat\testBoard.dat

-----[Print the reset-command software log-file]-----------------------------

This utility has selected a 560/2xx-class product.
This utility will load the program 'xds2xxu.out'.
E_RPCENV_IO_ERROR(-6) No connection: DTC_IO_Open::dtc_io
Failed to open i/o connection (xds2xxu:0)

An error occurred while soft opening the controller.

-----[An error has occurred and this utility has aborted]--------------------

This error is generated by TI's USCIF driver or utilities.

The value is '-250' (0xffffff06).
The title is 'SC_ERR_ECOM_EMUNAME'.

The explanation is:
An attempt to access the debug probe via USCIF ECOM has failed.

[End: Texas Instruments XDS2xx USB Onboard Debug Probe_0]

When I look at the Device Manager for my PC running Windows, I don't see any devices attached through a USB port.

What am I missing?

  • Hi,

    >> When I look at the Device Manager for my PC running Windows, I don't see any devices attached through a USB port.
    That is very revealing. It may indicate your XDS200 is faulty or you are connecting to the wrong USB port.

    Are you connecting to J1 (XDS_USB) or J23 (USB TO SOC UART0 @ BMC UART0)? You should be connecting to the former.

    Hope this helps,
    Rafael
  • Here is the connection to the board to the USB for emulation.  The next pic is the boot settings which I have tried every single setting just in case and none of them do anything except twice we were able to get an SD card to boot.  But it does nothing when we try setting the board for raw emulation such as described in

  • Hi,

    Thank you for sending the photograph; you are indeed connecting to the correct port.

    Given that no LEDs are lit (LD6, LD7 and LD8) I suspect the onboard XDS200, the USB connector or the USB cable are at fault.

    I would try to measure voltages around this area to identify potential problems. First check if you have 5V either at pin 1 of the USB connector or across R35 (a varistor in parallel with the 5V USB input). If negative, check the voltage across LD6, which is connected directly at the 3,3V output of U6 and powers the onboard XDS200.

    You can also check if there are any ground loops between the board and the host PC - depending on the voltage difference you may experience these power failures.

    Schematics are available at:
    www.ti.com/.../sprr302.pdf

    Hope this helps,
    Rafael
  • I am connecting to "XDS200 USB".
    I can test the connection via the "Test connection" button and it is successful.
    I built other applications such as the "minimal_K2GEVM_CortexA" example and downloaded and ran it and had the same result. It puts out all sorts of messages as if its loading and running but then it does not break at main() nor does it give me the ability to step. The only icon I can select is the red square to terminate the session. This is what appears in my console when I start:

    CortexA15: GEL Output: PLL has been configured (24.0 MHz * 100 / 1 / 4 = 600.0 MHz)
    CortexA15: GEL Output: ARM PLL has been configured with ref clock 24MHz, -sysclkp_period 41.6666 (24.0 MHz * 100 / 1 / 4 = 600.0 MHz)
    CortexA15: GEL Output: Power on all PSC modules and DSP domains...
    CortexA15: GEL Output: Power on PCIE PSC modules and DSP domains... Done.
    CortexA15: GEL Output: UART PLL has been configured (24.0 MHz * 128 / 1 / 8 = 384.0 MHz)
    CortexA15: GEL Output: NSS PLL has been configured (24.0 MHz * 250 / 3 / 2 = 1000.0 MHz)
    CortexA15: GEL Output: ICSS PLL has been configured (24.0 MHz * 250 / 3 / 10 = 200.0 MHz)
    CortexA15: GEL Output: DSS PLL has been configured (24.0 MHz * 198 / 12 / 16 = 24.75 MHz)
    CortexA15: GEL Output: DDR PLL has been configured (24.0 MHz * 250 / 3 / 10 = 200.0 MHz)
    CortexA15: GEL Output: XMC setup complete.
    CortexA15: GEL Output: DDR3 PLL Setup ...
    CortexA15: GEL Output: DDR3 PLL Setup complete, DDR3A clock now running at 400MHz.
    CortexA15: GEL Output: DDR3A initialization complete
    CortexA15: GEL Output: Entering A15 non secure mode ..
    CortexA15: GEL Output: Enabling non-secure access to cp10 and cp11
    CortexA15: GEL Output: Enabled non-secure access to cp10 and cp11
    CortexA15: GEL Output: Making all GIC interrupts Group1
    CortexA15: GEL Output: Changed interrupt group
    CortexA15: GEL Output: Set secure mode PMR to non-zero value
    CortexA15: GEL Output: Entering NonSecure Mode
    CortexA15: GEL Output: Entered NonSecure Mode
    CortexA15: GEL Output: A15 non secure mode entered

    Also in the debug window (which I can't easily cut and paste into here) it says:
    Texas Instruments XDS2xx USB Onboard Debug Probe/CortexA15 (Running)
    Texas Instruments XDS2xx USB Onboard Debug Probe/ICSS_0_PRU_0 (Disconnected:Unknown)
    Texas Instruments XDS2xx USB Onboard Debug Probe/ICSS_0_PRU_1 (Disconnected:Unknown)
    Texas Instruments XDS2xx USB Onboard Debug Probe/ICSS_1_PRU_0 (Disconnected:Unknown)
    Texas Instruments XDS2xx USB Onboard Debug Probe/ICSS_1_PRU_1 (Disconnected:Unknown)

    I have used CCS extensively for other platforms such as the Tiva series and it just works out of the box, so I'm at a loss how to get this debugger working on this platform.
  • I'm hoping that someone has a suggestion. This project is on hold until I can break on main() and step through code. Thanks