97
Chapter 5: Using Debuggers
Using the Green Hills Debugger
•
In the Builder window, click Debug to open the Debugger window; then, in
the Debugger window’s command pane, enter:
remote hpserv IP_address
Starting hpserv opens two windows: the Target window and the I/O
window. Commands entered in the Target window are sent directly to
the emulation probe/module.
The I/O window sends input (stdin) to and receives output (stdout)
from the target program while it is running.
Note that hpserv connects to the first emulation probe/module (port
6470) in a logic analysis system frame. You may specify another port by
using the -p option with hpserv. See “To connect the logic analysis
system to the LAN” on page 59 for more information on port numbers.
3
Start the debugger.
If you have not opened the Debugger window yet, click Debug in the
Builder window.
4
Configure the emulation probe/module and target system.
Before running the target processor, you must configure the HP
emulation probe/module for your target system. For example, you may
have to set the BDM clock speed, the reset operation, cache disabling,
or other configuration parameters.
If you are unsure of the configuration needed for your emulation probe/
module, you can use one of the following methods to explore the
configuration options and configure the emulation probe/module and
target system:
•
Enter “cf” commands in the Target window.
•
Use the Configuration window in the logic analysis system’s Emulation
Control Interface.
•
Use an initialization script.
See “To configure using an initialization script” on page 98 for
information on saving the configuration commands in a script.
Summary of Contents for 16610A
Page 13: ...Contents 11 Glossary Index ...
Page 14: ...12 Contents ...
Page 15: ...13 1 Installing the Emulation Probe ...
Page 44: ...42 Chapter 1 Installing the Emulation Probe Updating Emulation Probe Firmware ...
Page 45: ...43 2 Installing the Emulation Module ...
Page 64: ...62 Chapter 2 Installing the Emulation Module Preparing for a Debugger ...
Page 65: ...63 3 Connecting to a Target System ...
Page 74: ...72 Chapter 3 Connecting to a Target System Making the Target System Connection ...
Page 76: ...74 Chapter 3 Connecting to a Target System Making the Target System Connection ...
Page 77: ...75 4 Configuring the Emulation Probe Module ...
Page 91: ...89 5 Using Debuggers ...
Page 119: ...117 6 Solving Problems ...
Page 149: ...147 7 Specifications and Characteristics ...
Page 153: ...151 8 Service Information ...
Page 166: ...164 Index ...