xilinx sdk 2016.4 program flash error

来源:互联网 发布:java 缺省修饰符 编辑:程序博客网 时间:2024/06/04 23:20

xilinx sdk里 program flash : jtag error!

在vivado里tcl

set XIL_CSE_ZYNQ_FLASH_SECTOR_SIZE 262144

262144


cmd /C program_flash -f D:\soft\WinPython-64bit-3.5.2.3\notebooks\empty16M.bin -offset 0 \

-flash_type qspi_single -cable type xilinx_tcf url TCP:127.0.0.1:3121


****** Xilinx Program Flash

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

 **** SW Build 1733598 on Wed Dec 14 22:35:39 MST 2016

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


Connecting to hw_server @ TCP:127.0.0.1:3121


WARNING: Failed to connect to hw_server at TCP:127.0.0.1:3121

Attempting to launch hw_server at TCP:127.0.0.1:3121


Connected to hw_server @ TCP:127.0.0.1:3121

Available targets and devices:

Target 0 : jsn-DLC9LP-00000000000000

Device 0: jsn-DLC9LP-00000000000000-4ba00477-0


Retrieving Flash info...


Initialization done, programming the memory

BOOT_MODE REG = 0x00000001

WARNING: [Xicom 50-100] The current boot mode is QSPI.

If flash programming fails, configure device for JTAG boot mode and try again.

f probe 0 0 0

Performing Erase Operation...

Erase Operation successful.

INFO: [Xicom 50-44] Elapsed time = 101 sec.

Performing Program Operation...

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...Program Operation successful.

INFO: [Xicom 50-44] Elapsed time = 318 sec.


Flash Operation Successful


可以offset, offset 64K的倍数。