Download M5271EVB User`s Manual - Digi-Key

Transcript
Using the Monitor/Debug Firmware
TRACE
Usage:
Trace Into
TRACE
TRACE <num>
The TRACE command allows single-instruction execution. If num is provided, then num instructions are
executed before control is handed back to dBUG. The value for num is a decimal number.
The TRACE command sets bits in the processors’ supervisor registers to achieve single-instruction
execution, and the target code executed. Control returns to dBUG after a single-instruction execution of
the target code.
This command is repeatable.
Examples:
To trace one instruction at the program counter, the command is:
tr
To trace 20 instructions from the program counter, the command is:
tr
20
M5271EVB User’s Manual, Rev. 1.1
Freescale Semiconductor
3-37