UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor docfellows
Visitor
1,530 Views
Registered: ‎01-31-2019

SDK Unable to detect JTAG cable when programming flash

I am attempting to program the flash on a Zynq XC7Z030 in SDK on a standalone (non-networked) machine and it is is giving me an error that it cannot detect the JTAG cable.

The output from the console is as follows:

Connecting to hw_server @ TCP:127.0.0.1:3121

Connected to hw_server @ TCP:127.0.0.1:3121

Available targets and devices:

Target 0: jsn1

Target 1: jsn2

Target 2: jsn-DLC10-0000180feced01

 

ERROR: Unable to detect JTAG cable

I am able to program the bitstream directly to the FPGA -  this error seems to be unique to programming flash. I am using a Xilinx Platform Cable USB II. Any ideas why this would be happening?

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
1,521 Views
Registered: ‎03-07-2018

Re: SDK Unable to detect JTAG cable when programming flash

Hello @docfellows

Which flash you are using on your board?

Please provide complete log generated by tool.

Regards,
Bhushan

-------------------------------------------------------------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
-------------------------------------------------------------------------------------------------------------------------------------------------
0 Kudos
Visitor docfellows
Visitor
1,509 Views
Registered: ‎01-31-2019

Re: SDK Unable to detect JTAG cable when programming flash

The flash type being used is qspi_single (the board is a PicoZed 7030 housed on an AVNET PicoZed FMC Carrier Card Gen2).

The entire console output is:

cmd /C program_flash -f C:\Users\mfellow\workspace\Hello_Zed\bootimage\BOOT.mcs -offset 0 \ -flash_type qspi_single -fsbl C:\Users\mfellow\workspace\ZED_FSBL\Debug\ZED_FSBL.elf \ -cable type xilinx_tcf url TCP:127.0.0.1:3121

****** Xilinx Program Flash

****** Program Flash v2017.4 (64-bit)

  **** SW Build 2086221 on Fri Dec 15 20:55:39 MST 2017

    ** Copyright 1986-2017 Xilinx, Inc. All Rights Reserved.

Connecting to hw_server @ TCP:127.0.0.1:3121

Connected to hw_server @ TCP:127.0.0.1:3121

Available targets and devices:

Target 0: jsn1

Target 1: jsn2

Target 2: jsn-DLC10-0000180feced01

 

ERROR: Unable to detect JTAG cable

 

0 Kudos
Observer sheheeraismail
Observer
1,365 Views
Registered: ‎11-17-2017

Re: SDK Unable to detect JTAG cable when programming flash

Working on SDK 2017.4 and going back on Lab tutorials Lab 07 to program QSPI flash, I have the same problem. 

Also, the 'Program Flash' tool asks for FSBL elf file to be specified. can you please guide here. 

0 Kudos
Observer sheheeraismail
Observer
1,318 Views
Registered: ‎11-17-2017

Re: SDK Unable to detect JTAG cable when programming flash

I resolved this by following these steps

1. In xsct window, i connect to the hardwrae server 

connect -url tcp:127.0.0.1:3121
connect -list //to check that tcfchan is there

2. Go to Xilinx -> program Flash -> Device , remove 'Auto-detect' and instead click on 'Select', uncheck the Auto-Detect box. The Zynq board on JTAG should have already been connected here and I assume you have previously been able to program FPGA as well. See the attached image. 

The culprit in my case is the Auto-Detect, remove it and put the board ID here.

 

flash_prg.jpg
0 Kudos