Background Debug Mode (Bdm); Cpu Halt - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

Background Debug Mode (BDM)

Bits
Name
28–22/
EDx
Setting an EDx bit enables the corresponding data breakpoint condition based on the size and placement on
12–6
the processor's local data bus. Clearing all EDx bits disables data breakpoints.
28/12
EDLW
27/11
EDWL
26/10
EDWU Upper data word.
25/9
EDLL
24/8
EDLM
23/7
EDUM
22/6
EDUU
21/5
DI
Data breakpoint invert. Provides a way to invert the logical sense of all the data breakpoint comparators. This
can develop a trigger based on the occurrence of a data value other than the DBR contents.
20–18/
EAx
Enable address bits. Setting an EA bit enables the corresponding address breakpoint. Clearing all three bits
4–2
disables the breakpoint.
20/4
EAI
19/3
EAR
18/2
EAL
17/1
EPC
Enable PC breakpoint. If set, this bit enables the PC breakpoint.
16/0
PCI
Breakpoint invert. If set, this bit allows execution outside a given region as defined by PBR and PBMR to
enable a trigger. If cleared, the PC breakpoint is defined within the region defined by PBR and PBMR.
29.5 Background Debug Mode (BDM)
The ColdFire Family implements a low-level system debugger in the microprocessor
hardware. Communication with the development system is handled through a dedicated,
high-speed serial command interface. The ColdFire architecture implements the BDM
controller in a dedicated hardware module. Although some BDM operations, such as CPU
register accesses, require the CPU to be halted, other BDM commands, such as memory
accesses, can be executed while the processor is running.

29.5.1 CPU Halt

Although most BDM operations can occur in parallel with CPU operations, unrestricted
BDM operation requires the CPU to be halted. The sources that can cause the CPU to halt
are listed below in order of priority:
29-16
Table 29-14. TDR Field Descriptions (continued)
Data longword. Entire processor's local data bus.
Lower data word.
Lower lower data byte. Low-order byte of the low-order word.
Lower middle data byte. High-order byte of the low-order word.
Upper middle data byte. Low-order byte of the high-order word.
Upper upper data byte. High-order byte of the high-order word.
Enable address breakpoint inverted. Breakpoint is based outside the range between ABLR and
ABHR.
Enable address breakpoint range. The breakpoint is based on the inclusive range defined by ABLR
and ABHR.
Enable address breakpoint low. The breakpoint is based on the address in the ABLR.
MCF5282 User's Manual
Description
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents