1.在使用vivado 2016.4和SDK 2016.4遇到这样的问题:
调试如果选择GDB遇到这样的问题:
error while running ps7 init method. No Elf file associated with target
这是vivado2016.4的bug
解决方案:
方案1.替换xmdterm.tcl 文件:
下载xmdterm.tcl 资源,然后到你的SDK的安装目录下替换原来的xmdterm.tcl
xmdterm.tcl 资源链接:
http://download.csdn.net/download/wmyan/10246304
替换的路径如下:
<SDK_installation_directory>/SDK/2016.4/scripts/xmd/xmdterm.tcl
方案2.使用system debug 代替 GDB