mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 730

no-image

mc9s12xd256

Manufacturer Part Number
mc9s12xd256
Description
Hcs12x Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAA
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc9s12xd256CAA
Manufacturer:
FREESCALE
Quantity:
3 564
Part Number:
mc9s12xd256CAG
Manufacturer:
FREESCALE
Quantity:
1 540
Part Number:
mc9s12xd256CAG
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Chapter 19 Debug (S12XDBGV2)
19.4.7.2
Breakpoints can be generated when internal comparator channels trigger the state sequencer to the final
state. If configured for tagging, then the breakpoint is generated when the tagged opcode reaches the
execution stage of the instruction queue. If an end aligned trigger is selected or no tracing is enabled,
breakpoints can be generated immediately, depending on the state of the DBGBRK[n] bits.
If a begin or mid aligned tracing session is selected by the TSOURCE bits, breakpoints are requested when
the tracing session has completed, thus the breakpoint is requested only on completion of the subsequent
trace (see
immediately independent of tracing trigger alignment.
19.4.7.3
If a TRIG triggers occur, the final state is entered. Tracing trigger alignment is defined by the TALIGN
bits. If a tracing session is selected by the TSOURCE bits, breakpoints are requested when the tracing
session has completed, thus if begin or mid aligned triggering is selected, the breakpoint is requested only
on completion of the subsequent trace. If no tracing session is selected, breakpoints are requested
immediately. TRIG breakpoints are possible even if the DBG module is disarmed. TRIG bit breakpoints
are enabled by setting DBGBRK[n].
19.4.7.4
Tagging using the external TAGHI/TAGLO pins always ends the session immediately at the tag hit. It is
always end aligned, independent of internal channel trigger alignment configuration. External tag
breakpoints are always mapped to the CPU, are only possible in emulation modes and can be enabled by
setting DBGBRK[1].
730
BRK
0
0
0
0
0
0
1
1
x
00,01,10
00,01,10
TALIGN
Table
00
00
01
01
10
10
11
Breakpoints via TAGHI Or TAGLO Pin Taghits
Breakpoints From Internal Comparator Channel Final State Triggers
Breakpoints Generated Via The TRIG Bit
19-44). If the BRK bit is set on the triggering channel, then the breakpoint is generated
DBGBRK[n]
Table 19-44. Setup for Both XGATE and CPU Breakpoints
0
1
0
1
0
1
0
1
x
MC9S12XDP512 Data Sheet, Rev. 2.17
Terminate tracing and generate breakpoint immediately on trigger
Fill trace buffer until trigger, then a breakpoint request occurs
Terminate tracing immediately on trigger without breakpoint
Request breakpoint after the 32 further trace buffer entries
A breakpoint request occurs when trace buffer is full
End tracing 32 line entries after trigger
End tracing 32 line entries after trigger
(no breakpoints — keep running)
(no breakpoints — keep running)
(no breakpoints — keep running)
Fill trace buffer until trigger
Start trace buffer at trigger
Start trace buffer at trigger
Start trace buffer at trigger
Start trace buffer at trigger
Type of Debug Session
Reserved
Freescale Semiconductor

Related parts for mc9s12xd256