Specifications
Embedded System Tools Guide (EDK 6.2i) www.xilinx.com 209
UG111 (v1.4) January 30, 2004 1-800-255-7778
MicroBlaze Stub Target
R
Serial Port options
x -port <serial port>
Specify the serial port to which the remote hardware is connected, when xmd
communication is over the serial cable. The default serial port is /dev/ttya on Solaris
and Com1 on Windows
x -baud <serial port baud rate>
Specify the serial port baud rate in bps. The default value is 19200 bps.
JTAG cable options
x type <cable type>
Valid cable types are: xilinx_parallel3, xilinx_parallel4,
xilinx_svffile
In the case of xilinx_svffile, the JTAG commands are written into a file specified by
the fname option
x port <parallel port name>
Valid arguments for port are lpt1, lpt2
x fname <filename>
Filename for creating the SVF file
JTAG chain options
x partname <devicename>
Name of the device
x devicenr <device position>
Position of the device in the JTAG chain
x irlength <length of the JTAG Instruction Register>
Length of the IR register of the device. This information can be found in the device
BSDL file.
x idcode <device idcode>
JTAG Idcode of the device
MicroBlaze options
x devicenr <FPGA device position>
Position of the FPGA device containing the MicroBlaze, in the JTAG chain
With a hardware target, user programs can be downloaded from mb-gdb directly onto a
remote hardware board and be executed with support of the xmd stub running on the
board. A sample session of XMD with a hardware stub target is shown below.
XMD% mbconnect stub
Now XMD connects to the hardware target and waits for a connection from mb-gdb. Refer
to the GNU Debugger chapter to see how to start mb-gdb, make a remote connection from
mb-gdb to xmd, download a program onto the target and debug the program.










