![NXP Semiconductors MC9S08PA4 Reference Manual Download Page 364](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838364.webp)
A AND B Data (Full Mode)
̶
This is called a full mode because address, data, and R/W
(optionally) must match within the same bus cycle to cause a trigger event. Comparator A
checks address, the low byte of comparator B checks data, and R/W is checked against
RWA if RWAEN = 1. The high-order half of comparator B is not used.
In full trigger modes it is not useful to specify a tag-type CPU breakpoint (BRKEN =
TAG = 1), but if you do, the comparator B data match is ignored for the purpose of
issuing the tag request to the CPU and the CPU breakpoint is issued when the comparator
A address matches.
A AND NOT B Data (Full Mode)
̶
Address must match comparator A, data must not
match the low half of comparator B, and R/W must match RWA if RWAEN = 1. All
three conditions must be met within the same bus cycle to cause a trigger.
In full trigger modes it is not useful to specify a tag-type CPU breakpoint (BRKEN =
TAG = 1), but if you do, the comparator B data match is ignored for the purpose of
issuing the tag request to the CPU and the CPU breakpoint is issued when the comparator
A address matches.
Event-Only B (Store Data)
̶
Trigger events occur each time the address matches the
value in comparator B. Trigger events cause the data to be captured into the FIFO. The
debug run ends when the FIFO becomes full.
A Then Event-Only B (Store Data)
̶
After the address has matched the value in
comparator A, a trigger event occurs each time the address matches the value in
comparator B. Trigger events cause the data to be captured into the FIFO. The debug run
ends when the FIFO becomes full.
Inside Range (A ≤ Address ≤ B)
̶
A trigger occurs when the address is greater than or
equal to the value in comparator A and less than or equal to the value in comparator B at
the same time.
Outside Range (Address < A or Address > B)
̶
A trigger occurs when the address is
either less than the value in comparator A or greater than the value in comparator B.
18.3.6 Hardware breakpoints
The BRKEN control bit in the DBGC register may be set to 1 to allow any of the trigger
conditions described in
to be used to generate a hardware breakpoint
request to the CPU. TAG in DBGC controls whether the breakpoint request will be
treated as a tag-type breakpoint or a force-type breakpoint. A tag breakpoint causes the
current opcode to be marked as it enters the instruction queue. If a tagged opcode reaches
On-chip debug system (DBG)
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
364
NXP Semiconductors
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...