To Configure Using An Initialization Script - HP E3456A User Manual

Emulation for the powerpc mpc500
Table of Contents

Advertisement

Chapter 5: Using Debuggers
Using the Green Hills Debugger
5 Specify an initialization address for the stack pointer.
This is required if the stack pointer is neither initialized when the
processor is reset nor set in the start-up code generated by the
compiler. If the stack pointer address needs to be initialized:
• In the debugger's command pane, enter:
_INIT_SP = <address>
OR
• In the Target window, enter:
reg r1=<address>
OR
• Include the following line in an initialization script:
target reg r1= <address>
6 Download the code:
In the Debugger window, select Remote->LoadProgram.
The Debugger command pane indicates that the code has been
downloaded to the target.

To configure using an initialization script

You can use an initialization script to configure the emulation probe/
module and set up your target system. If you will always be using the
same configuration, this way will save time and reduce errors.
1 Save the configuration commands in a text file, one command
per line.
Green Hills also provides an example initialization sequence in the file
MBX800.rc in the "hpdemo" directory.
2 To run the script, enter the following command in the Debugger
98

Advertisement

Table of Contents
loading

This manual is also suitable for:

16610a

Table of Contents