We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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

This new command can beinvoked by typing:

custom_connect [elfname].elf [jtag_position_number]

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
46250 13.4 EDK - How can I create a custom XMD command or script? N/A N/A
AR# 46251
Date Created 03/07/2012
Last Updated 12/15/2012
Status Active
Type General Article
  • EDK - 13.1
  • EDK - 13.2
  • EDK - 13.3
  • EDK - 13.4