Ivor Posted April 2, 2018 Share Posted April 2, 2018 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 More sharing options...
jpeyron Posted April 2, 2018 Share Posted April 2, 2018 Hi @Ivor, Here is a xilinx forum thread that looks like i should be helpful. If not could you be more specific about which program. thank you, Jon Link to comment Share on other sites More sharing options...
Ivor Posted April 2, 2018 Author Share Posted April 2, 2018 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 More sharing options...
jpeyron Posted April 2, 2018 Share Posted April 2, 2018 Hi @Ivor, I am glad that you were able to use a tcl script to change the speed. I am not finding a way to change the clock speed here. thank you for sharing your solution, Jon Link to comment Share on other sites More sharing options...
Question
Ivor
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
Archived
This topic is now archived and is closed to further replies.