To Write A Nop Loop Into Memory; To Step The Program; To Run The Simple Nop Program; To Set A Software Breakpoint (Memory Trap Replacement Breakpoints) - Agilent Technologies E5900B User Manual

Hide thumbs Also See for E5900B:
Table of Contents

Advertisement

NOTE:

To write a NOP loop into memory

This example is specific to ARM little endian mode. Please adapt this example
for the processor type you are using.
b
m -d4 200=0,0,0,0,0,0,eafffff8 To write NOP loop into
reg pc=200

To step the program

s
PC = 00000204
s 10
? s
? ss

To run the simple NOP program

r 200
Run from address 200
b
To stop the program
reg pc
To see the location of the PC register
r
To continue running the program
To set a software breakpoint (Memory trap replacement
breakpoints)
bc -e swbp
Enable Software Breakpoints
bp -p 204
To set a Software Breakpoint at address
204
bp
To review the breakpoints that are set
r
To run the program and hit the software
breakpoint !ASYNC_STAT
breakpoint: 00000204
bp -r *
To remove all software breakpoints
Emulation for the Motorola M•CORE
Using the Emulation Probe Command Line Interface
Step one instruction
Shows the new location of the PC
Step ten instructions
Additional information on stepping
Additional information on source
stepping
Troubleshooting the Emulation Probe
To stop target if not
already stopped
memory
To Set the pc
603! Software
135

Advertisement

Table of Contents
loading

Table of Contents