AR# 46251

13.4 EDK - How can I use Tcl within XMD to connect to a different device in my JTAG chain?

描述

I am currently debugging a different FPGA in my chain than position 1. How can I do this?

解决方案

In XMD, the default command to accomplish this is:

connect mb mdm -debugdevice devicenr [JTAG_POSITION]

In orderto add a simpler command to XMD's command list, as referenced in (Xilinx Answer 46250), use the process below:


proc custom_connect {elfName JTAGPos} {
connect mb mdm -debugdevice devicenr $JTAGPos
dow $elfName
run
}

This new command can beinvoked by typing:

custom_connect [elfname].elf [jtag_position_number]

链接问答记录

相关答复记录

Answer Number 问答标题 问题版本 已解决问题的版本
46250 13.4 EDK - How can I create a custom XMD command or script? N/A N/A
AR# 46251
日期 12/15/2012
状态 Active
Type 综合文章
Tools More Less