User`s guide

128 MPC8240 and MPC8260 Emulation
Chapter 10: Troubleshooting the Emulator
Emulator Built-in Commands
The prompt indicates the status of the emulator:
Emulator prompts
See Also
Use the help command for more information on these and other
commands. Note that some of commands listed in the help screens are
generic commands for Agilent Technologies emulators and may not be
available for your product.
If you are writing your own debugger, contact Agilent Technologies for
more information.
U Running user program
M Running in background monitor
p No target power
R Emulation reset
rTarget reset
c Checkstop
? Unknown state
Examples
To set register r0, then view r0 to verify that is was set, enter:
U>
rst
M>
b
M>
reg r0=1234abcd
M>
reg r0
reg r0=1234abcdf
To break execution then step a single instruction, enter:
U>
b
M>
s
PC=fff00108
M>
To determine what firmware version is installed in the emulator,
enter:
M>
ver