參數(shù)資料
型號: AN2104
廠商: 飛思卡爾半導體(中國)有限公司
英文描述: Using Background Debug Mode for the M68HC12 Family
中文描述: 使用的M68HC12家庭背景調(diào)試模式
文件頁數(shù): 8/20頁
文件大?。?/td> 414K
代理商: AN2104
Application Note
AN2104
8
Next the BDM firmware saves the contents of the user’s D register
in another temporary register and then saves the user’s CCR
register in the CCRSAV register.
The BDM firmware then checks the ENBDM bit in the STATUS
register to see if it will be allowed to go into the active BDM. If it is,
the BDM firmware enters a software loop and waits for a valid
firmware command in which to execute. The user’s program
counter (PC), stack pointer (SP), and X and Y registers are not
changed by the BDM firmware, so the user doesn’t need to save
or stack these values.
During exit from the BDM, the user’s register values are restored and a
value is stored in the BDM STATUS register. Then a jump command is
executed to resume execution of the user’s program.
M68HC12 Operating Modes
The two basic modes of operation (see
Table 4
) for the M68HC12
Family are:
Normal modes — Provide protection for control registers from
being accidentally modified
Special modes — Allow access to these control registers for
system development and special testing
If any of the normal operating modes are entered (BKGD high), the BDM
is available, but must be enabled and/or made active.
If the special single-chip mode is selected (BKGD, MODA, and MODB
all low), the BDM comes up enabled and active.
Table 4
also shows that the states of the BKGD, MODA, and MODB pins
determine a specific mode where the port A and port B pins are
configured for different functions.
F
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
.
相關(guān)PDF資料
PDF描述
AN2154FAP TV/Video Signal Processor
AN22011A For Video·Audio - MD
AN2241 Video Camera Circuit
AN2250S Video Camera Circuit
AN2254FAP Color Encoder Circuit
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN2104NFHQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Video Camera Circuit
AN2107FHQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic
AN2108FHQ 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Optoelectronic
AN2108NFHQ 制造商:Panasonic Industrial Company 功能描述:IC
AN211 制造商:Thomas & Betts 功能描述:U SHAPE FITTING