没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
XILINX MICROPROCESSOR DEBUGER (XMD) REFERENCE GUIDE
This guide was designed to be used with ISE and EDK 9.1. The debugger provided by
XILINX (XMD) is a tool that interacts with PowerPC and MicroBlaze microprocessors
and allows the debugging of programs and the verification of systems. The debugger
program can be used for programs in hardware board, Cycle-Accurate Instruction Set
Simulator (ISS) or MicroBlaze Cycle-Accurate Virtual Platform (VP) system.
In order to access the XMD tool within XPS, go to DebugLaunch XMD or go to Start
Menu Run XMD.
To see the available commands in XMD, type help in the command line as shown
below.
XMD% help
After doing that, a list of the different command types appear as seen in the next figure.
Now, the commands found in each type will be analyzed. To see the commands in each
command type, write help and the command type.
XMD% help “command type”
In the following pages, each command in the different commands types will be
explained.
Command type: INIT – Load/ Initialize the system files (help init)
The only command of this type is XLOAD. With this command, a file whose extension
could be *.mhs, *.xmp, and *.mss can be loaded. The syntax to use this command is
shown below.
XMD% xload <extension file> <file name>
Remember the meaning of the following file extensions:
MHS (Microprocessor Hardware Specification). This type of file defines
hardware specifications for a microchip design created with XILINX Platform
Studio (XPS); it includes which devices the hardware can interface with.
XMP (XILINX Microprocessor project). This type of file is the top-level project
file for an EDK design. It is used for project management, and you should not
attempt to edit it.
MMS (Microprocessor Software Specification). This type of file defines what
software can be used with a microchip designed with XILINX Platform Studio
(XPS)
Command type: CONNECT – Connect to System Target (help connect)
This kind of commands is used to connect to an FPGA prototype platform. In this case,
we use this command to connect to the PowerPC in the ML403 board. There are seven
commands of this type and their descriptions are listed below.
CONNECT: With this command, the program can connect to the target. There are three
types of targets for the XMD: mb, ppc and mdm which mean MicroBlaze, PowerPC and
OPB_mdm peripheral respectively. In this case, the PowerPC in the ML403 is used so
the connection will be with the ppc. The syntax is shown below.
XMD connect <target (mb, ppc, mdm)> <connect type (sim, stub, hw, mdm)>
[options]
For this command, the help option is available in XMD. Since the system of interest is
connected to the PowerPC, the following text in XMD should be written.
XMD% help connect pc
Note in the above figure the options that can be specified by using this command. For
example, in the connection type there are two options: the first one implies the usage of
hardware and the second one, the usage of a simulator. In this case, the hardware option
will be set. In the JTAG options connections, the cable and the port used for the
transmission of information must be specified. The option selection depends on the
cable connection that is used (which is xilinx_platformusb in this case). The following
figure shows an example of the usage of this command.
Note that in the following figure, the cable connection is also specified. For this reason,
when the connection is established, all the information about the cable and the devices
that were found in the connection show up. Since the ML403 has three devices besides
the FPGA, the JTAG chain shows the id code of the each device.
剩余15页未读,继续阅读
xinpingqihe
- 粉丝: 2
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
前往页