Specifications

Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 187
UG111 (v1.4) January 30, 2004 1-800-255-7778
XMD Usage
R
Table 13-1: XMD User Commands
command [options] Description
xload [mhs mhsfile] [mss mssfile] Load MHS/MSS system files.
XMD reads MHS and MSS system files for the following
reasons:
x To infer the connectivity of FSL (Fast Synchronous
Link) Bus between opb_mdm (MicroBlaze Debug
Module) module and MicroBlaze. This connectivity is
used to download program and data at a very fast
rate. Fast Download on Microblaze in users guide
describes fast download on MicroBlaze.
x To infer Instruction and Data memory address maps of
the processor. This information is used to verify
program and data downloaded to processor memory.
If MHS/MSS files are not loaded then the above validation
cannot be performed and XMD will warn the user.
rrd Register Read
srr Read special registers (PowerPC target only)
rwr reg_num word Register Write
mrd address [num_words] Memory Read
mrd_var variable [filename] Read Memory corresponding to global variable in the ELF
file “filename” or in a previously downloaded ELF file
mwr address word Memory Write
dis [address] [num_words] Disassemble
con [address] Continue from current PC or “address”. While a program is
running, the target can be stopped by pressing the ‘b’ or ‘s’
keys.
stp [number] Step one or “number” instructions
rst Reset target
bps address Set Breakpoint at “address”
bps_func function [filename] Set Breakpoint at start of function in the ELF file “filename”
or in a previously downloaded ELF file
bpr address Remote Breakpoint from “address
bpr_func function [filename] Remove Breakpoint at start of function in the ELF file
“filename” or in a previously downloaded ELF file
bpl List Breakpoints