English
Language : 

MC68HC912DG128 Datasheet, PDF (79/452 Pages) Motorola, Inc – Microcontrollers
Freescale Semiconductor, Inc.
Operating Modes
Background Debug Mode
In special single-chip mode, BDM is enabled and active immediately out
of reset. BDM is available in all other operating modes, but must be
enabled before it can be activated. BDM should not be used in special
peripheral mode because of potential bus conflicts.
Once enabled, background mode can be made active by a serial
command sent via the BKGD pin or execution of a CPU12 BGND
instruction. While background mode is active, the CPU can interpret
special debugging commands, and read and write CPU registers,
peripheral registers, and locations in memory.
While BDM is active, the CPU executes code located in a small on-chip
ROM mapped to addresses $FF20 to $FFFF, and BDM control registers
are accessible at addresses $FF00 to $FF06. The BDM ROM replaces
the regular system vectors while BDM is active. While BDM is active, the
user memory from $FF00 to $FFFF is not in the map except through
serial BDM commands.
Bit 7
6
5
4
3
2
1
SMODN MODB MODA ESTR
IVIS EBSWAI
0
RESET:
0
0
0
1
1
0
0
RESET:
0
0
1
1
1
0
0
RESET:
0
1
0
1
1
0
0
RESET:
0
1
1
1
1
0
0
RESET:
1
0
0
1
0
0
0
RESET:
1
0
1
1
0
0
0
RESET:
1
1
1
1
0
0
0
MODE — Mode Register
Bit 0
EME
1
1
1
1
0
0
0
Special Single Chip
Special Exp Nar
Peripheral
Special Exp Wide
Normal Single Chip
Normal Exp Nar
Normal Exp Wide
$000B
The MODE register controls the MCU operating mode and various
configuration options. This register is not in the map in peripheral mode
SMODN, MODB, MODA — Mode Select Special, B and A
These bits show the current operating mode and reflect the status of
the BKGD, MODB and MODA input pins at the rising edge of reset.
SMODN is Read anytime. May only be written in special modes
(SMODN = 0). The first write is ignored;
MC68HC912DG128 — Rev 3.0
MOTOROLA
Operating Modes
For More Information On This Product,
Go to: www.freescale.com
Technical Data
79