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.

TMS570 with XDS200: Cable Break Far Error when using 10 pin extension ribbon

I am trying to load my program using Code Composer Studio onto a TMS570 Board using the XDS200 debugger. When I connect the TI 20-pin to ARM 10-pin converter adapter directly to the board the connection is fine and the program loads as usual. 

However due to mechanical design constraints, the debugger cannot reach the board for the final design. I am trying to use a 10 pin JTAG connector 15cm in length between the TI 20-pin to ARM 10-pin converter adapter and the TMS570 board. 

This gives the following error:

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.

I have tried shortening the JTAG cable all the way down to about 4cm. I have also tried connecting both orientations of the 10 pin connection to ensure that the 10 pin connection is not flipped. I have tried lowering the OSCIN Frequency in flash settings to 1MHz (from the default 15MHz). All the attempts yielded the same cable break far error. 

I did also try inserting an extension 10 pin ribbon with the XDS100 debugger and it works perfectly. 

I suspect the 20 pin cable must be connected to the board and my only option is to use a 20 pin cable as the extension ribbon to meet mech design constraints. Has anyone successfully used a 10 pin JTAG ribbon as in extension when using the XDS200 debugger? 

  • Hello Judy,

    Please have a look at this wiki page outlining debug of JTAG connections. Specifically, this section is taking you to the Cable Break section.

    processors.wiki.ti.com/.../Debugging_JTAG_Connectivity_Problems

    Noted in this section is that a pin connected to ground is used to detect the cable break and determination of near or far. I would conclude from this that there is a pin on the connector (reducing from 20 to 10pins) that is not connected that should be. Can you try to have a look at the adapter and insure all GND pins from the 20pin connector are tied to ground and that these propagate through the 10pin ribbon cable to the board?
  • Hey Chuck,

    Thanks for the tip! We figured out that the JTAG connector ribbon we were using created a mirror arrangement of pins. We could successfully program the target board using two JTAG connectors connected to each other which mirrored the pin arrangement again to the correct arrangement!
  • Hi Judy,

    I am glad that you were able to determine the root cause of the issue. Since the issue is now resolved, can you verify the suggested answer above so that the thread can be closed.