Datasheet
Table Of Contents
- List of Sections
- Table of Contents
- General Description
- Central Processing Unit (CPU)
- Pinout and Signal Description
- System Configuration
- Registers
- Operating Modes
- Resource Mapping
- Bus Control and Input/Output
- Resets and Interrupts
- Voltage Regulator (VREG)
- Flash EEPROM 256K
- EEPROM 4K
- Port Integration Module
- Clocks and Reset Generator (CRG)
- Pulse Width Modulator (PWM)
- Enhanced Capture Timer (ECT)
- Serial Communications Interface (SCI)
- Serial Peripheral Interface (SPI)
- Inter-IC Bus (IIC)
- MSCAN
- Analog to Digital Converter
- Byte Data Link Controller Module
- Contents
- Overview
- Features
- Block Diagram
- Register Map
- Functional Description
- Register Descriptions
- External Pin Descriptions
- Reset Initialization/Basic Operation
- Transmitting A Message
- Receiving A Message
- Transmitting An In-Frame Response (IFR)
- Receiving An In-Frame Response (IFR)
- Special BDLC Operations
- Modes of Operation
- Interrupt Operation
- Low Power Options
- Background Debug Module (BDM)
- Breakpoint (BKP) Module
- Revision History
- Glossary
- Literature Updates

Background Debug Module
MC9S12DP256 — Revision 1.1
Background Debug Module (BDM)
NOTE:
If an attempt is made to activate BDM before being enabled, the CPU
resumes normal instruction execution after a brief delay. If BDM is not
enabled, any hardware BACKGROUND commands issued are ignored
by the BDM and the CPU is not delayed.
In active BDM, the BDM registers and standard BDM firmware lookup
table are mapped to addresses $FF00 to $FFFF. BDM registers are
mapped to addresses $FF00 to $FF07. The BDM uses these registers
which are readable anytime by the BDM. These registers are not,
however, readable by user programs.
BDM Hardware
Commands
Hardware commands are used to read and write target system memory
locations and to enter active background debug mode. Target system
memory includes all memory that is accessible by the CPU such as
on-chip RAM, EEPROM, Flash EEPROM, I/O and control registers, and
all external memory.
Hardware commands are executed with minimal or no CPU intervention
and do not require the system to be in active BDM for execution,
although, they can still be executed in this mode. When executing a
hardware command, the BDM sub-block waits for a free CPU bus cycle
so that the background access does not disturb the running application
program. If a free cycle is not found within 128 clock cycles, the CPU is
momentarily frozen so that the BDM can steal a cycle. When the BDM
finds a free cycle, the operation does not intrude on normal CPU
operation provided that it can be completed in a single cycle. However,
if an operation requires multiple cycles, the CPU is frozen until the
operation is complete, even though the BDM found a free cycle.
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...