參數(shù)資料
型號(hào): AN2104
廠商: 飛思卡爾半導(dǎo)體(中國(guó))有限公司
英文描述: Using Background Debug Mode for the M68HC12 Family
中文描述: 使用的M68HC12家庭背景調(diào)試模式
文件頁(yè)數(shù): 4/20頁(yè)
文件大小: 414K
代理商: AN2104
Application Note
AN2104
4
Table 1. BDM Hardware Commands
Command
Opcode
(Hex)
Data
Description
BACKGROUND
90
None
Enter background mode (if firmware enabled).
READ_BD_BYTE
E4
16-bit address
16-bit data out
Read from memory with BDM in map (may steal cycles if
external access) data for odd address on low byte,
data for even address on high byte.
STATUS
(1)
E4
FF01,
0000 0000 (out)
READ_BD_BYTE $FF01. Running user code. (BGND
instruction is not allowed.)
FF01,
1000 0000 (out)
READ_BD_BYTE $FF01. BGND instruction is allowed.
FF01,
1100 0000 (out)
READ_BD_BYTE $FF01. Background mode active
(waiting for single wire serial command).
READ_BD_WORD
EC
16-bit address
16-bit data out
Read from memory with BDM in map (may steal cycles if
external access) must be aligned access.
READ_BYTE
E0
16-bit address
16-bit data out
Read from memory with BDM out of map (may steal
cycles if external access) data for odd address on low
byte, data for even address on high byte.
READ_WORD
E8
16-bit address
16-bit data out
Read from memory with BDM out of map (may steal
cycles if external access) must be aligned access.
WRITE_BD_BYTE
C4
16-bit address
16-bit data in
Write to memory with BDM in map (may steal cycles if
external access) data for odd address on low byte,
data for even address on high byte.
ENABLE_
FIRMWARE
(2)
C4
FF01,
1xxx xxxx (in)
Write byte $FF01, set the ENBDM bit. This allows
execution of commands which are implemented in
firmware. Typically, read STATUS, OR in the MSB,
write the result back to STATUS.
WRITE_BD_WORD
CC
16-bit address
16-bit data in
Write to memory with BDM in map (may steal cycles if
external access) must be aligned access.
WRITE_BYTE
C0
16-bit address
16-bit data in
Write to memory with BDM out of map (may steal cycles
if external access) data for odd address on low byte,
data for even address on high byte.
WRITE_WORD
C8
16-bit address
16-bit data in
Write to memory with BDM out of map (may steal cycles
if external access) must be aligned access.
1. STATUS command is a specific case of the READ_BD_BYTE command.
2. ENABLE_FIRMARE is a specific case of the WRITE_BD_BYTE command.
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