Open pirrup opened 2 years ago
I need some more details about your setup to understand what's going on. If you've got an error saying TDO is stuck, its typically a wiring issue. Is the error stuck at 1 or stuck at 0? If you short TDO to ground, does it change to zero and when you short it to VCC does it change to 1? If so - then your configuration is right, you just need to get your wiring correct to. If not- then it's time to examine your configuration.
Either way - let me know more about your setup - what version of what tools, what commands you're running, and what your wiring setup to your target is. Then i might be able to spot a mistake, or if not recreate your setup to see what's going on.
jtag> cable ft2232 vid=0x403 pid=0x6010 interface=1 Connected to libftdi driver. jtag> frequency 100000 Setting TCK frequency to 100000 Hz jtag> detect
when tigard is set to VTGT (no power to target) and do detect response is: TDO seems to be stuck at 1 when tigard is set to VTGT (with power to target) and do detect response is: TDO seems to be stuck at 1
when tigard is set to 1.8 (so VCC comes from tigard) and do detect response is: TDO seems to be stuck at 0
using latest urjtag on ubuntu
wiring : TCK -> TCK TRST -> TRST TDO -> TDO GND -> GND TMS -> TMS TDI -.> TDI VTGT -> VREF 1.8
Nothing jumps out at me to try, so a few more questions to understand the situation: What's the status of the 3 leds in each of those scenarios? https://github.com/tigard-tools/tigard#debugging
What happens in scenario 1 or 2 when you take the tigard TDO wire and short it to ground? What happens in scenario 3 when you short TDO to VTGT? How much power is the target consuming on the 1.8v VTGT in scenario 3? Can you check if the voltage with a multimeter?
Is the target confirmed working with another JTAG adapter? Could you try using openocd with the same setup to see if you get the same behavior?
scenario 1 : no VTGT LED scenario 2 : ALL LEDS WORKING scenario 3 : ALL LEDS WORKING
short to ground : scenario 1 : stuck at 1 scenario 2 : goes to stuck at 0
short to VTGT: scenario 3 : goes to stuck at 1
power in scenario 3 is 1.77V
target i cannot disclose publicly , but can be discussed offline .
So, looking at all the pieces, you've got:
your tests completely rule out 2, 3, and 5, and partially cover 4 and 6.
The best bet now is to try one or all of the folllowing:
When i do detect in urjtag i get error about TDO stuck at 1 or 0
Any idea what the issue could be ? i checked TDO and no short with VCC or Ground