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.

  • Resolved

AM5716: JTAG connection on Sitara AM5716

Intellectual 270 points

Replies: 6

Views: 138

Part Number: AM5716

Hi,

I bought the evaluation board for DSP 6657 (TMDSEVM6657) and I started developing some code on it. CCSv8 works with the emulator XDS2xx (PWB 516011 REV.B), which is on top of the DSP eval board connected to it through a 60 pins connector. Next to this one, on the XDS2xx, there is a second 14 pins JTAG connector with the following connection:

I developed a board with Sitara AM5716 and I put a 14 pin JTAG connector in order to use the XDS2xx emulator as in the following schematics:

JTAG_RESETn net goes to Sitara RESETn with a pull-up.

There is a problem when I verify the connection:

[Start]

Execute the command:

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

[Result]


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

C:\Users\FRANCE~1\AppData\Local\TEXASI~1\
    CCS\ti\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'.
The library build date was 'Jan 24 2019'.
The library build time was '13:59:06'.
The library package version is '8.0.903.6'.
The library component version is '35.35.0.0'.
The controller does not use a programmable FPGA.

An error occurred while hard 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 '-183' (0xffffff49).
The title is 'SC_ERR_CTL_CBL_BREAK_FAR'.

The explanation is:
The controller has detected a cable break far-from itself.
The user must connect the cable/pod to the target.

[End]

This is the same message when I don't connect the emulator to the board.

What did I do wrong?

Thanks

Francesco

  • Francesco,

    Sorry to deliver the bad news, but it looks like you copied the wrong JTAG header.  I assume all the "MSP" nets are referring to a MSP430 device which unfortunately uses a proprietary JTAG connector.  The AM5716 uses a standard JTAG connector.  Documentation on standard JTAG connectors can be found here:

    http://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_jtag_connectors.html

    For example, if you compare your pinout with the "TI 14-pin" column, you'll see they are completely different.  I recommend looking at the JTAG from the AM572x EVM as a reference.  It uses the TI 20-pin header from the page I mentioned.  The 20-pin header is generally preferred since it is smaller and is a surface mount header.  It is a bit fragile though, i.e. easy to bend pins, etc. if you're not careful.

    Best regards,
    Brad

    ---------------------------------------------------------------------------------------------------------
    http://processors.wiki.ti.com/index.php/User:BradGriffis
    --------------------------------------------------------------------------------------------------------- 

  • In reply to Brad Griffis:

    Brad,

    thank you for the reply and the link. I put a 14pins connector in order to reduce the BOM because I have some other ones.

    The XDS2xx I'm trying to use is the following (maybe it is not good for Sitara emulation):

    In the second picture there is a 60 pins connector which is connected to the TMDSEVM6657 and below it is shown in the schematics of the eval board.

    On the top of the emulator board there is the 14 pins connector where the nets (EMU_TMS_R, EMU_TDI_R, EMU_TDO_R, EMU_TCK_R, EMU_TRST#_R) are connected and where I wired also the nets EMU_00 and EMU_01.

    This 14pins connector is not compatible with the standard JTAG but on it there are all the signals I need, I think, and it is the same of my board:

    I'm doing something wrong because I have no connection to the target.

    Francesco

  • In reply to Francesco Residori:

    That appears to be a board that was delivered with the c6657 EVM.  Without knowing anything about the intent of that board or its history, I can't really comment.

    I recommend that you change your board to use a standard JTAG header and that you leverage a standard XDS200 probe.

    If you want to further debug your existing setup, the only thing that comes to mind is to have a look at TCLK, TDO, TDI on a scope to see if there's any activity.

    ---------------------------------------------------------------------------------------------------------
    http://processors.wiki.ti.com/index.php/User:BradGriffis
    --------------------------------------------------------------------------------------------------------- 

  • In reply to Brad Griffis:

    I thought it was a standard XDS2xx probe from Texas Instruments as written on top of the board. TCLK, TDO, TDI, TMS don't move, maybe it expects a feedback that doesn't come.

    Can you suggest me an emulator for Sitara AM5716? I have to develop DSP C66x and Cortex-M4. I won't emulate Cortex-A15 because it will have Linux.

  • In reply to Francesco Residori:

    What I'm very familiar with using is standard XDS200 probe:

    http://www.ti.com/tool/TMDSEMU200-U

    It comes with adapters for whatever JTAG header you prefer to use on your target hardware.  Your board should correspondingly use a header as shown here:

    http://software-dl.ti.com/ccs/esd/documents/xdsdebugprobes/emu_jtag_connectors.html#pinout

    ---------------------------------------------------------------------------------------------------------
    http://processors.wiki.ti.com/index.php/User:BradGriffis
    --------------------------------------------------------------------------------------------------------- 

  • In reply to Brad Griffis:

    Thank you, Brad!

    I'll modify my board with the pin-out you suggested.

    Best regards

    Francesco

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.