Specifications
204 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
Example debug session with 2 MicroBlaze processors and using the 
JTAG-based UART in MDM
$ 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
JTAG chain configuration
--------------------------------------------------
Device ID Code IR Length Part Name
 1 05026093 8 XC18V04
 2 0123e093 10 XC2VP4
Assuming, Device No: 2 contains the MicroBlaze system
Connected to the JTAG MicroBlaze Debug Module (MDM)
No of processors = 2
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
MicroBlaze Processor 2 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 2
Connected to MicroBlaze "mdm" target. id = 0
Starting GDB server for "mdm" target (id = 0) at TCP port no 1234
Connected to MicroBlaze "mdm" target. id = 1
Starting GDB server for "mdm" target (id = 0) at TCP port no 1235
<--- Note: Two GDB servers are started at different TCP ports for 
parallel debugging from GDB -->
XMD% targets
List of connected targets
Target ID Target Type
------------------------------
0 MicroBlaze MDM-based (hw) Target
1   MicroBlaze MDM-based (hw) Target *
XMD% rrd
 r0: 00000000 r8: 00000000  r16: 00000000 r24: 00000000
 r1: 00000540 r9: 00000000  r17: 00000000 r25: 00000000
 r2: 000001e8 r10: 00000000  r18: 00000000 r26: 00000000
 r3: 00000000 r11: 00000000  r19: 00000000 r27: 00000000
 r4: 00000000 r12: 00000000  r20: 00000000 r28: 00000000
 r5: 0000c000 r13: 000001e8  r21: 00000000 r29: 00000000










