English
Language : 

MC9S12XD256MAL Datasheet, PDF (571/1348 Pages) Freescale Semiconductor, Inc – Freescale’s Scalable Controller Area Network
Chapter 15 Background Debug Module (S12XBDMV2)
15.1.2.3 Low-Power Modes
The BDM can be used until all bus masters (e.g., CPU or XGATE) are in stop mode. When CPU is in a
low power mode (wait or stop mode) all BDM firmware commands as well as the hardware
BACKGROUND command can not be used respectively are ignored. In this case the CPU can not enter
BDM active mode, and only hardware read and write commands are available. Also the CPU can not enter
a low power mode during BDM active mode.
If all bus masters are in stop mode, the BDM clocks are stopped as well. When BDM clocks are disabled
and one of the bus masters exits from stop mode the BDM clocks will restart and BDM will have a soft
reset (clearing the instruction register, any command in progress and disable the ACK function). The BDM
is now ready to receive a new command.
15.1.3 Block Diagram
A block diagram of the BDM is shown in Figure 15-1.
Host
System BKGD
Serial
Interface
Register Block
Data
Control
16-Bit Shift Register
TRACE
BDMACT
Instruction Code
and
Execution
Bus Interface
and
Control Logic
Address
Data
Control
Clocks
ENBDM
SDV
UNSEC
CLKSW
BDMSTS
Register
Standard BDM Firmware
LOOKUP TABLE
Secured BDM Firmware
LOOKUP TABLE
Figure 15-1. BDM Block Diagram
MC9S12XDP512 Data Sheet, Rev. 2.21
Freescale Semiconductor
571