Download Embedded System Tools Reference Manual

Transcript
R
Chapter 12: Xilinx Microprocessor Debugger (XMD)
MicroBlaze Processor Target
XMD can connect through JTAG to one or more MicroBlaze processors using the
mdm/opb_mdm peripheral. XMD can communicate with a ROM monitor such as
XMDStub through a JTAG or serial interface. You can also debug programs using built-in
cycle-accurate MicroBlaze ISS. The following sections describe the options for these
targets.
MicroBlaze MDM Hardware Target
Use the command connect mb mdm to connect to the MDM target and start the remote
GDB server. The MDM target supports non-intrusive debugging using hardware
breakpoints and hardware single-step, without the need for a ROM monitor.
XMD
JTAG
UART
OPB/PLBv46 Bus
Multiple MicroBlaze
Processors
MDM
MicroBlaze Debug Signals
MicroBlaze
MicroBlaze
X10843
Figure 12-4:
MicroBlaze MDM Target
When no option is specified to the connect mb mdm, XMD automatically detects the JTAG
cable and chain and the FPGA device containing the MicroBlaze-MDM system. If XMD is
unable to automatically detect the JTAG chain or the FPGA device, you can explicitly
specify them using the following options:
Usage:
connect mb hw [-cable <JTAG Cable options>] {[-configdevice <JTAG
chain options>]} [-debugdevice <MicroBlaze options>]
JTAG Cable Options and JTAG Chain Options
For JTAG cable and chain option descriptions, refer to Table 12-6, JTAG Cable Options
on page 172, and Table 12-7, JTAG Chain Options on page 172, respectively.
184
www.xilinx.com
Embedded System Tools Reference Manual
EDK 10.1, Service Pack 3