mc68hc912bd32 Freescale Semiconductor, Inc, mc68hc912bd32 Datasheet - Page 245

no-image

mc68hc912bd32

Manufacturer Part Number
mc68hc912bd32
Description
16-bit Device Composed Of Standard On-chip Peripherals
Manufacturer
Freescale Semiconductor, Inc
Datasheet
STATUS — BDM Status Register
STATUS
11-dev
1. ENBDM is set to 1 by the firmware in Special Single Chip mode.
RESET:
RESET:
(NOTE 1)
ENBDM
BIT 7
0
0
BDMACT
6
1
0
The content of the INSTRUCTION register is determined by the type of
background command being executed.The STATUS register indicates
BDM operating conditions.The SHIFT register contains data being
received or transmitted via the serial interface. The ADDRESS register
is temporary storage for BDM commands.The CCRSAV register
preserves the content of the CPU12 CCR while BDM is active.
The only registers of interest to users are the STATUS register and the
CCRSAV register.The other BDM registers are only used by the BDM
firmware to execute commands.The registers are accessed by means of
the hardware READ_BD and WRITE_BD commands, but should not be
written during BDM operation (except the CCRSAV register which could
be written to modify the CCR value).
The STATUS register is read and written by the BDM hardware as a
result of serial data shifted in on the BKGD pin.
Read: all modes.
Write: Bits 3 through 5, and bit 7 are writable in all modes. Bit 6,
BDMACT, can only be written if bit 7 H/F in the INSTRUCTION register
is a zero. Bit 2, CLKSW, can only be written if bit 7 H/F in the
INSTRUCTION register is a one. A user would never write ones to bits
3 through 5 because these bits are only used by BDM firmware.
ENBDM — Enable BDM (permit active background debug mode)
Freescale Semiconductor, Inc.
For More Information On This Product,
0 = BDM cannot be made active (hardware commands still
1 = BDM can be made active to allow firmware commands.
ENTAG
5
0
0
allowed).
(1)
Go to: www.freescale.com
Development Support
SDV
4
0
0
TRACE
3
0
0
CLKSW
2
0
0
1
0
0
-
MC68HC912BD32 Rev 1.0
Background Debug Mode
Development Support
BIT 0
0
0
-
Single Chip
& Periph
All other
Special
modes
$FF01

Related parts for mc68hc912bd32