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/TMS320F28379D: IcePick_C_0: Error connecting to the target: (Error -267 @ )

Part Number: TMS320F28379D

Tool/software: Code Composer Studio

Hi, I'm attempting to use a TI XDS110 to flash a custom board.  The JTAG pinout is not compatible with the pinouts on the XDS110.  I have previously successfully flashed this board with a homebrew programmer based on the Launchpad Schematics.  

So I know the board can be flashed

I also know that communications with the XDS110 are ok because the first thing CCS did was tell me that the firmware on the XDS110 was out of date and prompted me to update it.  Which I did.

The error I'm getting is:

IcePick_C_0: Error connecting to the target: (Error -267 @ )
The controller could not detect valid target supply. Check target
JTAG connection and/or connection setting specifying voltage level.
(Emulation package 8.0.903.4)

On my jumper cable I wired (only) the following pins

     JTAG_TCK

     JTAG_TMS

     JTAG_TRST

     JTAG_TDO

     JTAG_TDI

     GND

I then applied 3v3 to the device (which powered on properly) and I have a common ground between the programming adapter and the power GND.

Two questions:

1) what line specifically is the XDS110 looking at to determine "valid target supply."?  Is it a line that I have not provided?  (for instance there is a VTRef line)...

2) are there any other lines that are critical that I have not correctly connected?  For instance, on my implementation I have scl_tx and scl_rx, but those do not appear to be available on the XDS110 header.

Thank you,

  • Hi,

    1) Yes, the VTRef is not providing 3.3V to the XDS110 - typically pin 5 of the cTI 20-pin connector of the XDS110.

    2) Not from this stanpoint. Usually the EMU0/1 pins determine the boot status of the device, but I am not sure if the F28379D even has these pins.

    For details, please check our reference below, which contains a thorough description of the signals and design requirements.

    dev.ti.com/.../

    Hope this helps,
    Rafael
  • Thank you, that got me past that problem . . . to the next problem:

    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).

    So a couple more questions:

    1) TDO and TDI are straight through, not crossed.  Is this correct?

    2) does that specific error message call out anything that might give a hint to the issue or point to a particular line that is not routed correctly?

    For reference I'm using this figure as the pinouts on the XDS110

    sprui94.pdf page 9, (couldn't get the image to show)  I'm using the PWB510401 Rev A converter.

    I've mapped:

    JTAG Pin 1 TMS to Processor Pin 80 (TMS)

    JTAG Pin 2 TRST to Processor Pin 79 (TRST) and is pulled down with a 2.2k

    JTAG Pin 3 TDI to Processor Pin 77 (TDI)

    JTAG Pin 5 VTRef to +3v3

    JTAG Pin 7 TDO to Processor pin78 (TDO) and is pulled up with an 820r to 3v3

    JTAG Pin 8 GND

    JTAG Pin 11 TCK to Processor pin 81 (TCK)

    3) Does anything jump out as being incorrect?

    Thank you,

  • Hi,

    Please apologize for the delay; a few answers:
    1) Yes, in the case of a single device. In the page I sent before, check the section "Single Device Non-buffered Configuration"
    2) Yes, which is described at the reference below (just search for the error number)
    dev.ti.com/.../

    One very important detail that you mentioned and it is known to cause issues with the XDS110 is the strong pull down resistor on the TRST line - our reference design calls for a 4.7kΩ . This was found a while ago and mentioned in the thread below (I will add this remark to the document above as well)
    e2e.ti.com/.../2334404

    Hope this helps,
    Rafael
  • Yes, thank you for your followup.  In my case it was a bad trace.

    I will update the design to incorporate the 4.7k per your recommendations.

    Thank you!