Debug Support
7-39
ColdFire2/2M User’s Manual
For More Information On This Product,
Go to: www.freescale.com
MOTOROLA
BTB[8:9]–Branch Target Bytes
This 2-bit field defines the number of bytes of branch target address to be displayed on the
DDATA
outputs. The encoding is
00 = 0 bytes
01 = lower two bytes of the target address
10 = lower three bytes of the target address
11 = entire four-byte target address
Refer to
Section 7.2.1.5 Begin Execution of Taken Branch (PST = $5)
.
NPL[6]–Non-pipelined Mode
If set, this bit forces the processor core to operate in a nonpipeline mode of operation. In this
mode, the processor effectively executes a single instruction at a time with no overlap.
IPI[5]–Ignore Pending Interrupts
If set, this bit forces the processor core to ignore any pending interrupt requests signalled
while executing in single-instruction-step mode.
SSM[4]–Single-Step Mode
If set, this bit forces the processor core to operate in a single-instruction-step mode. While
in this mode, the processor executes a single instruction and then halts. While halted, any
of the BDM commands may be executed. On receipt of the GO command, the processor
executes the next instruction and then halts again. This process continues until the single-
instruction-step mode is disabled.
Reserved - All bits labelled “Reserved” or “0” are currently unused and are reserved for
future use. These bits should always be written as “0”.
7.4.3 Concurrent BDM and Processor Operation
The debug module supports concurrent operation of both the processor and most BDM
commands. BDM commands may be executed while the processor is running, except for
the operations that access processor/memory registers:
Read/Write Address and Data Registers
Read/Write Control Registers
For BDM commands that access memory, the debug module requests the ColdFire2/2M’s
internal bus. The processor responds by stalling the instruction fetch pipeline and then
waiting until all current bus activity is complete. At that time, the processor relinquishes the
internal bus to allow the debug module to perform the required operation. After the
conclusion of the debug module bus cycle, the processor reclaims ownership of the bus. By
implementing this scheduling mechanism, the processor can minimize the amount of
intrusion caused by debug module requests.
Under certain conditions, the processor may never grant the processor's internal bus to the
debug module causing the BDM command to never be performed. Specifically, the
F
Freescale Semiconductor, Inc.
n
.