Download Motorola MPC8260 User`s guide

Transcript
Chapter 10: Troubleshooting the Emulator
Emulator Built-in Commands
The prompt indicates the status of the emulator:
Emulator prompts
U
M
p
R
r
c
?
Running user program
Running in background monitor
No target power
Emulation reset
Target reset
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
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.
128
MPC8240 and MPC8260 Emulation