Specifications
208 www.xilinx.com Embedded System Tools Guide (EDK 6.2i)
1-800-255-7778 UG111 (v1.4) January 30, 2004
Chapter 13: Xilinx Microprocessor Debugger (XMD)
R
$ xmd
Xilinx Microprocessor Debug (XMD) Engine
Xilinx EDK 6.2 Build EDK_Gm.9
Copyright (c) 1995-2002 Xilinx, Inc. All rights reserved.
XMD% mbconnect mdm \
> -configdevice devicenr 1 irlength 8 \
> -configdevice devicenr 2 irlength 10 idcode 0x0123e093 partname V2P4 \
> -debugdevice devicenr 2
JTAG chain configuration
--------------------------------------------------
Device ID Code IR Length Part Name
 1 05026093 8 XC18V04
 2 0123e093 10 V2P4
Assuming, Device No: 2 contains the MicroBlaze system
Connected to the JTAG MicroBlaze Debug Module (MDM)
No of processors = 1
MicroBlaze Processor 1 Configuration :
-------------------------------------
Version............................2.00.a
No of PC Breakpoints...............4
No of Read Addr/Data Watchpoints...1
No of Write Addr/Data Watchpoints..1
Instruction Cache Support..........off
Data Cache Support.................off
JTAG MDM Connected to Mircoblaze 1
Connected to MicroBlaze "mdm" target. id = 0
Starting GDB server for "mdm" target (id = 0) at TCP port no 1234
XMD%
MicroBlaze Stub Target
Connect to a MicroBlaze target using the xmdstub (a ROM monitor running on the target) 
as well as start a GDB server for the target.
MicroBlaze Stub Target Options
When no option is specified to the mbconnect stub, xmd will automatically detect the 
JTAG cable, chain and the FPGA device containing the MicroBlaze system, and connect to 
the xmdstub on the device. If xmd is unable to detect the JTAG chain or the FPGA device 
automatically, users can explicitly specify them, using the following options.
mbconnect stub [-comm <serial | jtag>] [-port <serial port>] [-baud 
<baudrate>] [-cable <JTAG cable options>] [-configdevice <JTAG chain 
options>] [-debugdevice <MicroBlaze options>] [-timeout <connection 
timeout>]
Stub Communication options
x -comm <serial | jtag>
Method of communicating to the xmdstub target - Serial port or JTAG connection
x -timeout <timeout in secs>
Timeout period while waiting for reply from xmdstub for xmd commands










