LFDAS12XSCT Freescale Semiconductor, LFDAS12XSCT Datasheet - Page 227

no-image

LFDAS12XSCT

Manufacturer Part Number
LFDAS12XSCT
Description
HARDWARE MC9S12XS 48-PIN
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of LFDAS12XSCT

Module/board Type
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
-
6.4.7.2
If a TRIG triggers occur, the Final State is entered. If a tracing session is selected by TSOURCE,
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
tracing session is selected, breakpoints are requested immediately. TRIG breakpoints are possible even if
the S12XDBG module is disarmed.
6.4.7.3
If a TRIG trigger occurs after Begin or Mid aligned tracing has already been triggered by a comparator
instigated transition to Final State, then TRIG no longer has an effect. When the associated tracing session
is complete, the breakpoint occurs. Similarly if a TRIG is followed by a subsequent trigger from a
comparator channel, it has no effect, since tracing has already started.
6.4.7.3.1
Breakpoint operation is dependent on the state of the S12XBDM module. If the S12XBDM module is
active, the CPU12X is executing out of BDM firmware and S12X breakpoints are disabled. In addition,
while executing a BDM TRACE command, tagging into BDM is disabled. If BDM is not active, the
breakpoint will give priority to BDM requests over SWI requests if the breakpoint coincides with a SWI
instruction in the user’s code. On returning from BDM, the SWI from user code gets executed.
Freescale Semiconductor
BRK
0
0
0
0
0
0
1
1
x
(DBGC1[3])
DBGBRK
Breakpoints Generated Via The TRIG Bit
S12XDBG Breakpoint Priorities
S12XDBG Breakpoint Priorities And BDM Interfacing
0
1
1
00,01,10
00,01,10
TALIGN
00
00
01
01
10
10
11
(DBGC1[4])
DBGBRK
Table 6-44. Breakpoint Mapping Summary
BDM Bit
S12XS Family Reference Manual, Rev. 1.11
0
1
0
1
0
1
1
0
x
X
0
0
Table 6-43. Breakpoint Setup
Terminate tracing and generate breakpoint immediately on trigger
Enabled
Fill Trace Buffer until trigger, then breakpoint request occurs
Request breakpoint after the 32 further Trace Buffer entries
BDM
Store a further 32 Trace Buffer line entries after trigger
Store a further 32 Trace Buffer line entries after trigger
X
X
X
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)
Active
Fill Trace Buffer until trigger
Start Trace Buffer at trigger
Start Trace Buffer at trigger
BDM
Breakpoint Alignment
X
0
1
Reserved
Breakpoint to SWI
S12X Breakpoint
S12X Debug (S12XDBGV3) Module
No Breakpoint
No Breakpoint
Mapping
Table
6-43). If no
227

Related parts for LFDAS12XSCT