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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第176页浏览型号MC9S12P64CFT的Datasheet PDF文件第177页浏览型号MC9S12P64CFT的Datasheet PDF文件第178页浏览型号MC9S12P64CFT的Datasheet PDF文件第179页浏览型号MC9S12P64CFT的Datasheet PDF文件第181页浏览型号MC9S12P64CFT的Datasheet PDF文件第182页浏览型号MC9S12P64CFT的Datasheet PDF文件第183页浏览型号MC9S12P64CFT的Datasheet PDF文件第184页  
S12S Debug Module (S12SDBGV2)  
Table 6-36. Channel Priorities  
Priority  
Highest  
Source  
TRIG  
Action  
Enter Final State  
Channel pointing to Final State  
Match0 (force or tag hit)  
Match1 (force or tag hit)  
Match2 (force or tag hit)  
Transition to next state as defined by state control registers  
Transition to next state as defined by state control registers  
Transition to next state as defined by state control registers  
Transition to next state as defined by state control registers  
Lowest  
6.4.4  
State Sequence Control  
ARM = 0  
ARM = 1  
State 0  
(Disarmed)  
ARM = 0  
State1  
State2  
Session Complete  
(Disarm)  
State3  
Final State  
ARM = 0  
Figure 6-24. State Sequencer Diagram  
The state sequencer allows a defined sequence of events to provide a trigger point for tracing of data in the  
trace buffer. Once the DBG module has been armed by setting the ARM bit in the DBGC1 register, then  
state1 of the state sequencer is entered. Further transitions between the states are then controlled by the  
state control registers and channel matches. From Final State the only permitted transition is back to the  
disarmed state0. Transition between any of the states 1 to 3 is not restricted. Each transition updates the  
SSF[2:0] flags in DBGSR accordingly to indicate the current state.  
Alternatively writing to the TRIG bit in DBGSC1, provides an immediate trigger independent of  
comparator matches.  
Independent of the state sequencer, each comparator channel can be individually configured to generate an  
immediate breakpoint when a match occurs through the use of the BRK bits in the DBGxCTL registers.  
Thus it is possible to generate an immediate breakpoint on selected channels, whilst a state sequencer  
transition can be initiated by a match on other channels. If a debug session is ended by a match on a channel  
the state sequencer transitions through Final State for a clock cycle to state0. This is independent of tracing  
and breakpoint activity, thus with tracing and breakpoints disabled, the state sequencer enters state0 and  
the debug module is disarmed.  
6.4.4.1  
Final State  
On entering Final State a trigger may be issued to the trace buffer according to the trace alignment control  
as defined by the TALIGN bit (see 6.3.2.3”). If the TSOURCE bit in DBGTCR is clear then the trace buffer  
S12P-Family Reference Manual, Rev. 1.13  
180  
Freescale Semiconductor  
 复制成功!