Jump to content
  • 0

JTAG-HS3 program_flash - How to change cable speed


Ivor

Question

I need to program the flash device connected to Zynq using xilinx program_flash application. 

How do I set the speed of the cable for using this application.

I know how to set the cable speed when using iMPACT in batch mode, I need to know how to do this for program_flash.

 

Thanks in advance

Ivor

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Thanks. 

I have found a way to do it, although it feels a bit of a work around:

1. I have a tcl script with lines below in it. called "setupJtag.tcl":

open_hw
connect_hw_server
set_property PARAM.FREQUENCY 10000000 [get_hw_targets ]
open_hw_target
current_hw_device [lindex [get_hw_devices] 0]

2. I call this with the command line:

vivado -mode batch -source setupJtag.tcl

3. Then I run the program_flash from command line:

program_flash  -f myFlash.bin -offset 0 -flash_type qspi_single -fsbl LoaderFSBL.elf

 

That ends up programming the device as needed.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...