Datasheet

Chapter 16 Debug Module (DBGV1)
MC9S12E128 Data Sheet, Rev. 1.07
Freescale Semiconductor 499
16.4.2.5.8 Inside Range (A address B)
In the inside range trigger mode, if the match condition for A and B happen on the same bus cycle, both
the A and B flags in DBGSC are set and a trigger occurs. If a match condition on only A or only B occurs
no flags are set. If TRGSEL = 1, the inside range is accurate only to word boundaries. If TRGSEL = 0, an
aligned word access which straddles the range boundary will cause a trigger only if the aligned address is
within the range.
16.4.2.5.9 Outside Range (address < A or address > B)
In the outside range trigger mode, if the match condition for A or B is met, the corresponding flag in
DBGSC is set and a trigger occurs. If TRGSEL = 1, the outside range is accurate only to word boundaries.
If TRGSEL = 0, an aligned word access which straddles the range boundary will cause a trigger only if the
aligned address is outside the range.
16.4.2.5.10 Control Bit Priorities
The definitions of some of the control bits are incompatible with each other. Table 16-25 and the notes
associated with it summarize how these incompatibilities are managed:
Read/write comparisons are not compatible with TRGSEL = 1. Therefore, RWAEN and RWBEN
are ignored.
Event-only trigger modes are always considered a begin-type trigger. See Section 16.4.2.8.1,
“Storing with Begin-Trigger,” and Section 16.4.2.8.2, “Storing with End-Trigger.”
Detail capture mode has priority over the event-only trigger/capture modes. Therefore, event-only
modes have no meaning in detail mode and their functions default to similar trigger modes.
Table 16-25. Resolution of Mode Conflicts
Mode
Normal / Loop1 Detail
Tag Force Tag Force
A only
A or B
A then B
Event-only B 1 1, 3 3
A then event-only B 2 4 4
A and B (full mode) 5 5
A and not B (full mode) 5 5
Inside range 6 6
Outside range 6 6
1 — Ignored — same as force
2 — Ignored for comparator B
3 — Reduces to effectively “B only”
4 — Works same as A then B
5 — Reduces to effectively “A only” — B not compared
6 — Only accurate to word boundaries