mc9s12xd256 Freescale Semiconductor, Inc, mc9s12xd256 Datasheet - Page 784

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 20 S12X Debug (S12XDBGV3) Module
upon the state of the DBGBRK or ARM bits in DBGC1. They depend solely on the state of the XGSBPE
and BDM bits. Thus it is not necessary to ARM the DBG module to use XGATE software breakpoints to
generate breakpoints in the S12XCPU program flow, but it is necessary to set XGSBPE. Furthermore, if a
breakpoint to BDM is required, the BDM bit must also be set. When the XGATE requests an S12XCPU
breakpoint, the XGATE program flow stops by default, independent of the S12XDBG module.
20.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 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 (see
requested immediately.
If the BRK bit is set on the triggering channel, then the breakpoint is generated immediately independent
of tracing trigger alignment.
20.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 (see
requested immediately. TRIG breakpoints are possible even if the S12XDBG module is disarmed.
784
BRK
0
0
0
0
0
0
1
1
x
Breakpoints From Internal Comparator Channel Final State Triggers
Breakpoints Generated Via The TRIG Bit
Table 20-44. Breakpoint Setup For Both XGATE and S12XCPU Breakpoints
00,01,10
00,01,10
TALIGN
00
00
01
01
10
10
11
DBGBRK[n]
0
1
0
1
0
1
1
0
x
MC9S12XDP512 Data Sheet, Rev. 2.17
Table
Table
20-44). If no tracing session is selected, breakpoints are
Terminate tracing and generate breakpoint immediately on trigger
Fill Trace Buffer until trigger, then breakpoint request occurs
20-44). If no tracing session is selected, breakpoints are
Request breakpoint after the 32 further Trace Buffer entries
Store a further 32 Trace Buffer line entries after trigger
Store a further 32 Trace Buffer line entries after trigger
A breakpoint request occurs when Trace Buffer is full
Terminate tracing immediately on 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
Breakpoint Alignment
Reserved
Freescale Semiconductor

Related parts for mc9s12xd256