HP E3456A User Manual page 106

Emulation for the powerpc mpc500
Table of Contents

Advertisement

Chapter 5: Using Debuggers
Using the Microtec Research Debugger
a Modify gtw.brd to identify the emulation probe/module.
Modify the file to include the emulation probe/module that you want XRAY
to communicate with.
See "To connect the logic analysis system to the LAN" on page 59 for
information on which port number to use for your emulation module.
b Add commands to initialize the target system.
The target system must have various memory locations initialized before it
can access RAM and before XRAY can download an application. Normally,
code in the target's boot ROM performs this initialization. However, when
XRAY resets the target, it immediately places the processor in debug
mode. Therefore, any initialization code which may exist on the target
board will not have been executed.
XRAY provides a way for target initialization to occur through the gtw.brd
file. The initialization sequences (contained in "{}" pairs) included in the
gtw.brd commands specify the commands that will be sent to the HP
emulation probe/module to initialize it and prepare it for code download.
• The gtwinit command sequence defined in the gtw.brd file is sent to the
HP emulation probe/module when XRAY is establishing connection
with the probe/module.
• The gtwreset command sequence is sent to the emulation probe/
module when the XRAY "Reset" command is invoked.
The example gtw.brd file provided by Microtec Research contains
initialization sequences which can be referenced. If the configuration for
your target board is very involved, you can use the "gtwinit" definition in
gtw.brd to merely reset the processor and break and use an include file to
do the many configuration steps. Please refer to "To configure the
emulation probe/module using an INCLUDE file" on page 106 for more
information on using an include file.
If you are unsure of the configuration needed for your emulation probe/
module, you can telnet to the emulation module or use the Configuraton
window in the logic analysis system's Emulation Control Interface to
explore the configuration options. If you use this interface to actually
configure your emulation probe/module while connected to XRAY,
configuration will be complete and you can proceed to the next step.
104

Advertisement

Table of Contents
loading

This manual is also suitable for:

16610a

Table of Contents