Qorivva MPC5xxx/SPC5xx Debugger and NEXUS Trace
24
©1989-2021 Lauterbach GmbH
Debugging
Breakpoints
There are two types of breakpoints available: Software breakpoints and on-chip breakpoints.
Software Breakpoints
To set a software breakpoint, before resuming the CPU, the debugger replaces the instruction at the
breakpoint address with a
TRAP
instruction.
On-chip Breakpoints
To set breakpoints on code in read-only memory, only the on-chip instruction address breakpoints are
available. With the command
<range>
it is possible to declare memory address ranges for
use with on-chip breakpoints to the debugger. The number of breakpoints is then limited by the number of
available on-chip instruction address breakpoints.
•
On-chip breakpoints:
Total amount of available on-chip breakpoints.
•
Instruction address breakpoints:
Number of on-chip breakpoints that can be used to set
Program breakpoints into ROM/FLASH/EEPROM.
•
Data address breakpoints:
Number of on-chip breakpoints that can be used as Read or Write
breakpoints.
•
Data value breakpoint:
Number of on-chip data value breakpoints that can be used to stop the
program when a specific data value is written to an address or when a specific data value is read
from an address
Core type:
On-chip
Breakpoints
Instruction
Address
Breakpoints
Data Address
Breakpoints
Data Value
Breakpoints
e200z0
e200z0h
4 instruction
2 read/write
no counters
4 single
breakpoints
-- or --
2 breakpoint
ranges
2 single
breakpoints
-- or --
1 breakpoint
range
none
e200z0Hn3
4 instruction
2 read/write
2 data value
no counters
4 single
breakpoints
-- or --
2 breakpoint
ranges
2 single
breakpoints
-- or --
1 breakpoint
range
2 single
breakpoints
(associated
with data
address BPs)