Rev. 5.00, 09/03, page 149 of 760
Section 7 User Break Controller
7.1 Overview
The user break controller (UBC) provides functions that simplify program debugging. This
function makes it easy to design an effective self-monitoring debugge r, enabl ing the chip to de b ug
programs without using an in-circuit emulator. Break conditions that can be set in the UBC are
instruction fetch or da ta read/write, data size, data content, address value, and stop timing during
instruction fetches.
7.1.1 Features
The user break controller has the following features:
The follow ing break comparison conditions can be set.
Number of break channels: two channels (channels A and B)
User break can be requested as either the independent or sequential condition on channels A
and B (sequential break setting: channel A and, then channel B match with logical AND, but
not in the same bus cycle).
Address (C om pares 40 bits comprised of a 32-bit logical address prefixe d with an ASID
address. Com parison bits are maskable in 32-bit units, user can eas i ly program it to mas k
addresses at bottom 12 bits (4-k page), bottom 10 bits (1-k page), or any size of page, etc.
One of two address buses (CPU address bus (LAB), cache address bus (IAB)) can be
selected.
Data (only on channel B, 32-bit maskable)
One of the two data buses (CPU data bus (LDB), cache data bus (IDB )) can be selected.
Bus master: CPU cycle or DMAC cycle
Bus cycle: instruction fetch or data access
Read/write
Operand size: byte, word, or longword
User break is generated upon satisfying break conditions . A user- des igned user-break
condition exception processing routine can be run.
In an inst ruction fetch cycle, it can be selected that a break is set before or after an instruction
is executed.
Maximum repeat times for the break condition: 212 – 1 times.
Eight pairs of bran ch s ource/destination buffers.