Specifications

194 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
RUNNING>
8
Processor stopped at PC: 0xffffe218
XMD% bpl
HW BP: BP_ID 0 : addr = 0xffffe218 <--- Automatic Hardware Breakpoint
for ISOCM
XMD% mrd 0xFFFFE218
Warning: Attempted to read location: 0xffffe218. Reading ISOCM memory
not supported in V2Pro
Cannot read from target
XMD%
XMD% mrd 0xab000060 8
AB000060: 00000000
AB000064: 00000000
AB000068: FF000000
<--- DCR register : ISARC
AB00006c: 81000000 <--- DCR register : ISCNTL
AB000070: 00000000
AB000074: 00000000
AB000078: FE000000 <--- DCR register : DSARC
AB00007c: 81000000 <--- DCR register : DSCNTL
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 auto detect the JTAG chain. The auto detect 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
- the IRLength, partname and idcode of the PROM are specified
- only the IRLength of the 2nd device is specified. Partname is inferred from
the idcode since xmd knows about the XC2VP4 device
i The debugdevice option explicitly specifies to xmd that the FPGA device of
interest is the 2nd device in the JTAG chain. In the Virtex-II Pro, it is also explicitly
specified that the connection is for the 1st PowerPC processor (if there are more
than one)
$ xmd
Xilinx Microprocessor Debug (XMD) Engine
Xilinx EDK 6.2 Build EDK_Gm.9
Copyright (c) 1995-2002 Xilinx, Inc. All rights reserved.
XMD% ppcconnect -cable type xilinx_parallel4 port LPT1 \
> -configdevice devicenr 1 partname PROM irlength 8 idcode 0x05026093 \
> -configdevice devicenr 2 irlength 10 \
> -debugdevice devicenr 2 cpunr 1
JTAG chain configuration
--------------------------------------------------
Device ID Code IR Length Part Name
1 05026093 8 PROM_XC18V04