Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 207
UG111 (v1.4) January 30, 2004 1-800-255-7778
MicroBlaze MDM Target
R
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
r6: 00000042 r14: 00000000 r22: 00000000 r30: 00000000
r7: 00000000 r15: 00000130 r23: 00000000 r31: 00000000
pc: 00000190 msr: 00000000
XMD% dis 0x188 5
188: E8650008 lwi r3, r5, 8
18C: A4630001 andi r3, r3, 1
190: BC03FFF8 beqi r3, -8
194: C8602800 lw r3, r0, r5
198: B60F0008 rtsd r15, 8
XMD% xbreak 0 0xC000 hw 4
Setting breakpoint at 0x0000c000
XMD% xbreak 0 0xFFFFFFFF hw 5
Setting breakpoint at 0xffffffff
XMD% con
Processor started. Type "stop" to stop processor
RUNNING> xuart w 0x42
RUNNING>
Processor stopped at PC: 0x00000198
XMD% dis 0x194
194: C8602800 lw r3, r0, r5
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: 00000042 r11: 00000000 r19: 00000000 r27: 00000000
r4: 00000000 r12: 00000000 r20: 00000000 r28: 00000000
r5: 0000c000 r13: 000001e8 r21: 00000000 r29: 00000000
r6: 00000000 r14: 00000000 r22: 00000000 r30: 00000000
r7: 00000000 r15: 00000130 r23: 00000000 r31: 00000000
pc: 00000198 msr: 00000000
XMD%
Example debug session for special JTAG chain setup (Non-Xilinx devices)
This example demonstrates the use of -configdevice option to specify the JTAG chain on
the board, in case xmd is unable to autodetect the JTAG chain. The autodetect in xmd
might fail for non-xilinx devices on the board for which the JTAG IRLengths are not
known. The JTAG (Boundary Scan) IRLength information is usually available in BSDL files
provided by device vendors. For these “Unknown” devices, IRLength is the only critical
information needed and the other fields like partname and idcode are optional.
Following is a description of the options use in the example below,
i Xilinx Parallel cable (III or IV) connection is done over the LPT1 parallel port.
i The two devices in the JTAG chain are explicitly specified
- only the IRLength of the PROM is specified. Partname is inferred from the
idcode since xmd knows about the XC18V04 PROM device
- the IRLength, partname and idcode of the 2nd device is specified.
i The debugdevice option explicitly specifies to xmd that the FPGA device of
interest is the 2nd device in the JTAG chain.










