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

MC9S12P64CFT 参数 Datasheet PDF下载

MC9S12P64CFT图片预览
型号: MC9S12P64CFT
PDF下载: 下载PDF文件 查看货源
内容描述: 微控制器 [Microcontrollers]
分类和应用: 微控制器外围集成电路时钟
文件页数/大小: 566 页 / 7414 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC9S12P64CFT的Datasheet PDF文件第185页浏览型号MC9S12P64CFT的Datasheet PDF文件第186页浏览型号MC9S12P64CFT的Datasheet PDF文件第187页浏览型号MC9S12P64CFT的Datasheet PDF文件第188页浏览型号MC9S12P64CFT的Datasheet PDF文件第190页浏览型号MC9S12P64CFT的Datasheet PDF文件第191页浏览型号MC9S12P64CFT的Datasheet PDF文件第192页浏览型号MC9S12P64CFT的Datasheet PDF文件第193页  
S12S Debug Module (S12SDBGV2)  
Table 6-43. Breakpoint Mapping Summary  
BDM Bit  
(DBGC1[4])  
BDM  
Enabled  
BDM  
Active  
Breakpoint  
Mapping  
DBGBRK  
0
1
X
1
1
X
0
X
1
1
X
X
1
0
1
X
0
1
X
0
No Breakpoint  
Breakpoint to SWI  
No Breakpoint  
Breakpoint to SWI  
Breakpoint to BDM  
BDM cannot be entered from a breakpoint unless the ENABLE bit is set in the BDM. If entry to BDM via  
a BGND instruction is attempted and the ENABLE bit in the BDM is cleared, the CPU actually executes  
the BDM firmware code, checks the ENABLE and returns if ENABLE is not set. If not serviced by the  
monitor then the breakpoint is re-asserted when the BDM returns to normal CPU flow.  
If the comparator register contents coincide with the SWI/BDM vector address then an SWI in user code  
could coincide with a DBG breakpoint. The CPU ensures that BDM requests have a higher priority than  
SWI requests. Returning from the BDM/SWI service routine care must be taken to avoid a repeated  
breakpoint at the same address.  
Should a tagged or forced breakpoint coincide with a BGND in user code, then the instruction that follows  
the BGND instruction is the first instruction executed when normal program execution resumes.  
NOTE  
When program control returns from a tagged breakpoint using an RTI or  
BDM GO command without program counter modification it returns to the  
instruction whose tag generated the breakpoint. To avoid a repeated  
breakpoint at the same location reconfigure the DBG module in the SWI  
routine, if configured for an SWI breakpoint, or over the BDM interface by  
executing a TRACE command before the GO to increment the program flow  
past the tagged instruction.  
6.5  
Application Information  
State Machine scenarios  
6.5.1  
Defining the state control registers as SCR1,SCR2, SCR3 and M0,M1,M2 as matches on channels 0,1,2  
respectively. SCR encoding supported by S12SDBGV1 are shown in black. SCR encoding supported only  
in S12SDBGV2 are shown in red. For backwards compatibility the new scenarios use a 4th bit in each SCR  
register. Thus the existing encoding for SCRx[2:0] is not changed.  
S12P-Family Reference Manual, Rev. 1.13  
Freescale Semiconductor  
189  
 复制成功!