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)
and resume execution of the user code. Disturbing the BDM shift register
prematurely may adversely affect the exit from the standard BDM
firmware lookup table.
Figure 138 represents the BDM command structure. The command
blocks illustrate a series of eight bit times starting with a falling edge. The
bar across the top of the blocks indicates that the BKGD line idles in the
high state. The time for an 8-bit command is 8 × 16 target clock cycles.
Figure 138 BDM Command Structure
BDM Serial
Interface
The BDM communicates with external devices serially via the BKGD pin.
During reset, this pin is a mode select input which selects between
normal and special modes of operation. After reset, this pin becomes the
dedicated serial interface pin for the BDM.
The BDM serial interface is timed using the clock selected by the
CLKSW bit in the status register (see BDM Status Register (BDMSTS)).
This clock will be referred to as the target clock in the following
explanation.
HARDWARE
HARDWARE
FIRMWARE
FIRMWARE
GO,
32-TC
TC = TARGET CLOCK CYCLES
COMMAND ADDRESS
150-TC
DELAY
NEXT
DELAY
8 BITS
AT ~16 TC/BIT
16 BITS
AT ~16 TC/BIT
16 BITS
AT ~16 TC/BIT
COMMAND ADDRESS DATA
NEXT
DATA
READ
WRITE
READ
WRITE
TRACE
COMMAND
NEXT
COMMAND DATA
64-TC
DELAY
NEXT
COMMAND
150-TC
DELAY
32-TC
DELAY
COMMAND
COMMAND
COMMAND
COMMAND
DATA
NEXT
COMMAND
Freescale Semiconductor, I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
nc...