PQIII Debugger | 12
©
1989-2021 Lauterbach GmbH
PowerPC MPC85XX/QorIQ specific Implementations
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 MAP.BOnchip <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.
You can see the currently set breakpoints with the command Break.List.
If no more on-chip breakpoints are available you will get an error message when trying to set a new on-chip
breakpoint.
Processor On-chip
Breakpoints
Instruction
Address
Breakpoints
Data Address
Breakpoints
Data Value
Breakpoints
MPC85XX
P10xx
P20xx
P40xx
4 Instruction
2 Read/Write
2 single
breakpoints
-- or --
1 breakpoint
ranges
2 single
breakpoints
-- or --
1 breakpoint
range
none