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/TMDSCNCD28388D: Unable to connect to target - help with initial configuration

Part Number: TMDSCNCD28388D
Other Parts Discussed in Thread: TMDSHSECDOCK, , C2000WARE

Tool/software: Code Composer Studio

CONFIGURATION

CCS v9.2.0

XDS100v2 debugger (verified working with CCS 9.2.0 on another piece of hardware F28335)

TMDSCNCD28388D controlCARD with TMDSHSECDOCK 180 pin docking station

USB plugged into J1:A on the control card, SW1:A (1 - ON / 2 - ON) SW2 (1 - OFF / 2 - ON)

Jumpers included with control card not installed (not sure if need to be?)

I have two of the same boards that are exhibiting the same behavior leading me to believe its something with my setup.

---------------

PROBLEM
---------------

Unable to flash example project 'led_ex1_blinky'.

Error thrown by CCS -

IcePick_C_0: Error connecting to the target: (Error -2131 @ 0x0) Unable to access device register. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 8.3.0.00003)

I have went and tried to create a new target configuration, using XDS100v2 debugger. When testing connection, the following output is given, showing error in JTAG communication.

*********

[Start: Texas Instruments XDS100v2 USB Debug Probe_0]

Execute the command:

%ccs_base%/common/uscif/dbgjtag -f %boarddatafile% -rv -o -F inform,logfile=yes -S pathlength -S integrity

[Result]


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

C:\Users\1148122\AppData\Local\TEXASI~1\
    CCS\ccs920\0\0\BrdDat\testBoard.dat

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

This utility has selected a 100- or 510-class product.
This utility will load the adapter 'jioserdesusb.dll'.
The library build date was 'Aug 26 2019'.
The library build time was '13:34:49'.
The library package version is '8.3.0.00003'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.
The controller has a version number of '4' (0x00000004).
The controller has an insertion length of '0' (0x00000000).
This utility will attempt to reset the controller.
This utility has successfully reset the controller.

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

The scan-path will be reset by toggling the JTAG TRST signal.
The controller is the FTDI FT2232 with USB interface.
The link from controller to target is direct (without cable).
The software is configured for FTDI FT2232 features.
The controller cannot monitor the value on the EMU[0] pin.
The controller cannot monitor the value on the EMU[1] pin.
The controller cannot control the timing on output pins.
The controller cannot control the timing on input pins.
The scan-path link-delay has been set to exactly '0' (0x0000).

-----[The log-file for the JTAG TCLK output generated from the PLL]----------

There is no hardware for programming the JTAG TCLK frequency.

-----[Measure the source and frequency of the final JTAG TCLKR input]--------

There is no hardware for measuring the JTAG TCLK frequency.

-----[Perform the standard path-length test on the JTAG IR and DR]-----------

This path-length test uses blocks of 64 32-bit words.

The test for the JTAG IR instruction path-length failed.
The JTAG IR instruction scan-path is stuck-at-ones.

The test for the JTAG DR bypass path-length failed.
The JTAG DR bypass scan-path is stuck-at-ones.

-----[Perform the Integrity scan-test on the JTAG IR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Test 2 Word 0: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 1: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 2: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 3: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 4: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 5: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 6: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 7: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
The details of the first 8 errors have been provided.
The utility will now report only the count of failed tests.
Scan tests: 2, skipped: 0, failed: 1
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 2
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 3
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 4
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 5
Some of the values were corrupted - 83.3 percent.

The JTAG IR Integrity scan-test has failed.

-----[Perform the Integrity scan-test on the JTAG DR]------------------------

This test will use blocks of 64 32-bit words.
This test will be applied just once.

Do a test using 0xFFFFFFFF.
Scan tests: 1, skipped: 0, failed: 0
Do a test using 0x00000000.
Test 2 Word 0: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 1: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 2: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 3: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 4: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 5: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 6: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
Test 2 Word 7: scanned out 0x00000000 and scanned in 0xFFFFFFFF.
The details of the first 8 errors have been provided.
The utility will now report only the count of failed tests.
Scan tests: 2, skipped: 0, failed: 1
Do a test using 0xFE03E0E2.
Scan tests: 3, skipped: 0, failed: 2
Do a test using 0x01FC1F1D.
Scan tests: 4, skipped: 0, failed: 3
Do a test using 0x5533CCAA.
Scan tests: 5, skipped: 0, failed: 4
Do a test using 0xAACC3355.
Scan tests: 6, skipped: 0, failed: 5
Some of the values were corrupted - 83.3 percent.

The JTAG DR Integrity scan-test has failed.

[End: Texas Instruments XDS100v2 USB Debug Probe_0]

  • Hi Mark,

    Some quick things you can check:

    - Is D2 on? This indicates the emulator is receiving power. Follow up: Can you verify there is 3.3V on TP2?

    - Do you see the emulator show up in Windows device manager.

    - Is D5 on? This indicates the DSP-side of the controlCARD has 3.3V. You can also measure TP8 (3.3.V), TP7 (5.0V), and TP9 (1.2) to verify the DSP has power.

    - See if TP2 has 3.3V (this indicates the DSP is out of reset).

    Mark Keranen1 said:
    USB plugged into J1:A on the control card, SW1:A (1 - ON / 2 - ON) SW2 (1 - OFF / 2 - ON)

    These look ok. I assume you meant S1:A & S2. 

    Mark Keranen1 said:
    TMDSCNCD28388D controlCARD with TMDSHSECDOCK 180 pin docking station

    Which revision of the controlCARD do you have?

    Additional resources:

    Schematics & User Guide: If you have C2000Ware installed, these are in the folder <install location>\boards\controlCARDs\TMDSCNCD28388D

    C2000 JTAG Connectivity Debug: https://www.ti.com/lit/an/spracf0/spracf0.pdf

  • - D2 is on, will verify voltages this afternoon

    - I do see the emulator show up in device manager

    - D5 is NOT on when USB is plugged into J1:A, but it turns on when the USB is plugged in to J17 on the docking station (in this case D2 is not on)

    - Revision is MCU063B

    I will verify the voltages this afternoon when I have access to a DMM.

  • Mark Keranen1 said:
    - D5 is NOT on when USB is plugged into J1:A, but it turns on when the USB is plugged in to J17 on the docking station (in this case D2 is not on)

    My apologies, I meant D2:A & TP2:A.

    >> Is D2:A on? This indicates the emulator is receiving power. Follow up: Can you verify there is 3.3V on TP2:A?

  • - D2:A is on when usb is plugged into J1:A, will verify voltages in a bit.

    - D5 is not on though, is this a problem? It only turns on when USB is plugged into J17 on the docking station

  • - Is D2:A on? This indicates the emulator is receiving power. Follow up: Can you verify there is 3.3V on TP2:A?

    > D2:A is on; TP2:A = 3.29V

    - Do you see the emulator show up in Windows device manager.

    > Yes

    - Is D5 on? This indicates the DSP-side of the controlCARD has 3.3V. You can also measure TP8 (3.3.V), TP7 (5.0V), and TP9 (1.2) to verify the DSP has power.

    > No, D5 is not on

    > TP8 = 0V

    > TP7 = 0V

    > TP9 = 0V

    - See if TP2 has 3.3V (this indicates the DSP is out of reset).

    > TP2 = 0V

    So it appears that the DSP is in reset and is not powered on? Any ideas?

  • Additional finding in the datasheet - 

    "Additionally, controlCARD versions MCU063B and later use a 25 MHz input clock and are only compatible with C2000Ware versions V3.02.00.00 or later"

    My controlCARD version is MCU063B, but I have C2000Ware version C2.00.00.02. Would that cause this issue?

  • Ok, this means the HSEC dock is not providing power to the controlCARD. 

    Do you have S1 on the HSEC doc set to the USB-ON position?

    Do you have the USB cable plugged into J17 on the dock?

    Can you measure the voltage on J16 on the dock (should be 5V).

    Can you measure the voltage on J15 (or J14 or J19 or J23 or J25 or J21) on the dock (should be 3.3V).

  • I was able to work around this by using two USB cables.

    I plugged one into J17 on the docking station and the other into J1:A and was able to successfully load an example program to the board.

    Not sure why I need both cables since the pack only comes with one.