Description 问题描述
GDB/XMD debug will not work for the Zynq designs created using Vivado 2016.4.
GDB/XMD debug 在使用 Vivado 2016.4 创建 Zynq 设计时不工作。
This is due to the “-force” option added to the mwr command in the ps7_init.tcl file for new 2016.4 Vivado based designs.
这是因为,在 ps7_init.tcl 文件中 mwr 指令的 “-force” 参数。
This “-force” option is not supported for the mwr command in XMD. As a result, the GDB Debug flow is not working for Zynq designs.
mwr 指令的 “-force” 参数在 XMD 中不支持。因此,GDB Debug 不能在创建 Zynq 设计时工作
How can I resolve this issue?
如何解决?
Solution 解决方案
Replace the xmdterm.tcl file in your SDK installation with the attached xmdterm.tcl.
替换你的 SDK 安装的 xmdterm.tcl 文件。
The xmdterm.tcl file can be found in the following location in the SDK install:
在如下路径可以找到你的 xmdterm.tcl 文件
/SDK/2016.4/scripts/xmd/xmdterm.tcl
Note:
Make sure to delete the old xmdterm.tcl before copying the attached Tcl file.
Re-open the SDK workspace to have the changes applied.