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.
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,
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,
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!