【发布时间】:2013-12-25 06:46:05
【问题描述】:
如何使用 iMPACT 工具通过 JTAG 电缆读取 Spartan 3A DSP 的设备 DNA?如果有任何其他方法可以交叉检查代码读取 deviceDNA 值,该设备的 deviceDNA 值是否正确?
【问题讨论】:
如何使用 iMPACT 工具通过 JTAG 电缆读取 Spartan 3A DSP 的设备 DNA?如果有任何其他方法可以交叉检查代码读取 deviceDNA 值,该设备的 deviceDNA 值是否正确?
【问题讨论】:
有一个 Xilinx AR 可以解决这个问题:
AR# 40856 iMPACT- How can I read DNA from my FPGA with IMPACT?
适用于 Spartan-3A 系列设备(Spartan-3A、Spartan-3AN 和Spartan-3ANDSP)
To read if the DNA iMPACT batch mode command is available. ("readDna -p <position>") How to get the Xilinx Device DNA via iMPACT批处理模式? 1. 生成 iMPACT 批处理模式文件,例如“.cmd”(在任何 ASCII 文本编辑器中),其中包含以下文本命令。你可以运行这个 iMPACT 批处理模式。在下面的命令中,“X”表示 目标设备。
setMode -bs setCable -port auto Identify identifyMPM Readdna -p X exit2.在IMPACT批处理模式命令行中运行上面生成的文件“readDNA.cmd”(ASCII文本文件)为:
Impact -batch <filename>.cmd The above command will display the DNA number on the DOS command console. Note: If FPGA is configured prior to read Device DNA via JTAG port then the value will be wrong. Please make sure that FPGA is not从外部闪存或 JTAG 设备配置。简单地实现这一点 更改模式引脚或擦除外部闪存设备并重新启动 板。
【讨论】: