No Elf file associated with target - Vivado 2016.4 如何解决

本文介绍了一个关于使用Vivado2016.4创建Zynq设计时遇到的GDB/XMD调试无法正常工作的常见问题及其解决办法。原因是ps7_init.tcl文件中的mwr命令加入了“-force”选项,导致与XMD不兼容。解决方案为替换SDK安装目录下的xmdterm.tcl文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

官方解答链接

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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值