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: 
Explorer
Explorer
6,051 Views
Registered: ‎11-12-2007

Cannot flash Zynq qspi

Jump to solution

Hi,

Xilinx has totally broken the Zynq flashing tools!

With Vivado 2016.1 and 2016.2 it is not possible to flash Zynq boards in which the Zynq is not Device number 1 in the JTAG chain.

 

Here is my commandline and the error I get:

 

program_flash -f out/sw/boot_fpga.bin -erase_sector 262144 -flash_type qspi_dual_parallel  -verify -cable type xilinx_tcf frequency 6000000 -debugdevice deviceNr 2

****** Xilinx Program Flash
****** Program Flash v2016.2 (64-bit)
  **** SW Build 1577090 on Thu Jun  2 16:32:35 MDT 2016
    ** Copyright 1986-2016 Xilinx, Inc. All Rights Reserved.

Connecting to hw_server @ TCP:localhost:3121

WARNING: Failed to connect to hw_server at TCP:localhost:3121
Attempting to launch hw_server at TCP:localhost:3121

Connected to hw_server @ TCP:localhost:3121
Available targets and devices:
Target 0 : jsn-DLC10-0000154b160f01

WARNING: Invalid Cable Frequency 946216160. Using default frequency
	 Valid frequencies for this cable are 750000,1500000,3000000,6000000,12000000
	Device 0: jsn-DLC10-0000154b160f01-59608093-0
	Device 1: jsn-DLC10-0000154b160f01-4ba00477-0
	Device 2: jsn-DLC10-0000154b160f01-1372c093-0

Retrieving Flash info...

JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
 1       59608093           8        xc9500xl
 2       4ba00477           4        arm_dap
 3       1372c093           6        xc7z030
ERROR(1): 
	The device at 1 position cannot be debugged.It is either not a FPGA or ARM device

Problem in Connecting to Target using XMD
Intialization of XMD failed.

ERROR: Flash Operation Failed

 

As you can see, my board ha an additional CPLD xc9500xl in the jtag chain. How can I solve this problem?

It works with Vivado 2015.4, but 2016.1 and 2016.2 fails!

 

This Error occures on Ubuntu 14.04 and on Windows 7. Same error here.

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Explorer
Explorer
11,424 Views
Registered: ‎11-12-2007

Re: Cannot flash Zynq qspi

Jump to solution

I just found out, this problem was fixed with Vivado 2016.2

 

You must specify the paramters "-debugdevice deviceNr 1"
And the number count begins with 0!

 

 

View solution in original post

1 Reply
Highlighted
Explorer
Explorer
11,425 Views
Registered: ‎11-12-2007

Re: Cannot flash Zynq qspi

Jump to solution

I just found out, this problem was fixed with Vivado 2016.2

 

You must specify the paramters "-debugdevice deviceNr 1"
And the number count begins with 0!

 

 

View solution in original post