欢迎访问ic37.com |
会员登录 免费注册
发布采购

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第184页浏览型号MC9S12P64CFT的Datasheet PDF文件第185页浏览型号MC9S12P64CFT的Datasheet PDF文件第186页浏览型号MC9S12P64CFT的Datasheet PDF文件第187页浏览型号MC9S12P64CFT的Datasheet PDF文件第189页浏览型号MC9S12P64CFT的Datasheet PDF文件第190页浏览型号MC9S12P64CFT的Datasheet PDF文件第191页浏览型号MC9S12P64CFT的Datasheet PDF文件第192页  
S12S Debug Module (S12SDBGV2)  
If a tracing session is selected by the TSOURCE bit, breakpoints are requested when the tracing session  
has completed, thus if Begin aligned triggering is selected, the breakpoint is requested only on completion  
of the subsequent trace (see Table 6-42). If no tracing session is selected, breakpoints are requested  
immediately.  
If the BRK bit is set, then the associated breakpoint is generated immediately independent of tracing  
trigger alignment.  
Table 6-42. Breakpoint Setup For CPU Breakpoints  
BRK  
TALIGN  
DBGBRK  
Breakpoint Alignment  
0
0
0
0
0
0
1
1
0
1
0
1
Fill Trace Buffer until trigger then disarm (no breakpoints)  
Fill Trace Buffer until trigger, then breakpoint request occurs  
Start Trace Buffer at trigger (no breakpoints)  
Start Trace Buffer at trigger  
A breakpoint request occurs when Trace Buffer is full  
1
1
x
x
1
0
Terminate tracing and generate breakpoint immediately on trigger  
Terminate tracing immediately on trigger  
6.4.7.2  
Breakpoints Generated Via The TRIG Bit  
If a TRIG triggers occur, the Final State is entered whereby tracing trigger alignment is defined by the  
TALIGN bit. If a tracing session is selected by the TSOURCE bit, breakpoints are requested when the  
tracing session has completed, thus if Begin aligned triggering is selected, the breakpoint is requested only  
on completion of the subsequent trace (see Table 6-42). If no tracing session is selected, breakpoints are  
requested immediately. TRIG breakpoints are possible with a single write to DBGC1, setting ARM and  
TRIG simultaneously.  
6.4.7.3  
Breakpoint Priorities  
If a TRIG trigger occurs after Begin aligned tracing has already started, then the 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 comparator channel match, it has no effect, since tracing has already started.  
If a forced SWI breakpoint coincides with a BGND in user code with BDM enabled, then the BDM is  
activated by the BGND and the breakpoint to SWI is suppressed.  
6.4.7.3.1  
DBG Breakpoint Priorities And BDM Interfacing  
Breakpoint operation is dependent on the state of the BDM module. If the BDM module is active, the CPU  
is executing out of BDM firmware, thus comparator matches and associated breakpoints are disabled. In  
addition, while executing a BDM TRACE command, tagging into BDM is disabled. If BDM is not active,  
the breakpoint gives priority to BDM requests over SWI requests if the breakpoint happens to coincide  
with a SWI instruction in user code. On returning from BDM, the SWI from user code gets executed.  
S12P-Family Reference Manual, Rev. 1.13  
188  
Freescale Semiconductor  
 复制成功!