OnCE MEMORY BREAKPOINT LOGIC
10- 12
ON-CHIP EMULATION (OnCE)
MOTOROLA
10.3.4.4
Software Debug Occurrence (SWO) Bit 8
This read-only status bit is set when the processor enters debug mode of operation as a
result of the execution of the DEBUG or DEBUGcc instruction with condition true. This bit
is cleared on hardware reset or when leaving the debug mode with the GO and EX bits
set.
10.3.4.5
Memory Breakpoint Occurrence (MBO) Bit 9
This read-only status bit is set when a memory breakpoint occurs. This bit is cleared on
hardware reset or when leaving the debug mode with the GO and EX bits set.
10.3.4.6
Trace Occurrence (TO) Bit 10
This read-only status bit is set when the processor enters debug mode of operation, when
the trace counter is zero and the trace mode has been armed. This bit is cleared on hard-
ware reset or when leaving the debug mode with the GO and EX bits set.
10.4
OnCE MEMORY BREAKPOINT LOGIC
Memory breakpoints may be set on program memory or data memory locations. Also, the
breakpoint does not have to be in a specific memory address but within an address range
of where the program may be executing. This significantly increases the programmer’s
ability to monitor what the program is doing in real-time.
The breakpoint logic contains a latch for the addresses, registers that store the upper and
lower address limit, comparators, and a breakpoint counter. Figure 10-6 illustrates the
block diagram of the OnCE Memory Breakpoint Logic.
Address comparators help to determine where a program may be getting lost or when
data is being written to areas that should not be written to. They are also useful in halting
a program at a specific point to examine/change registers or memory. Using address com-
parators to set breakpoints enables the user to set breakpoints in RAM or ROM in any op-
erating mode. Memory accesses are monitored according to the contents of the OSCR.
The low address comparator will generate a logic true signal when the address on the bus
is greater than or equal to the contents of the lower limit register. The high address com-
parator will generate a logic true signal when the address on the bus is less than or equal
to the contents of the upper limit register. If the low address comparator and high address
comparator both issue a logic true signal, the address is within the address range and the
breakpoint counter is decremented if the contents are greater than zero. If zero, the
counter is not decremented and the breakpoint exception occurs (ISBKPT asserted).
10.4.1
Memory Address Latch (OMAL)
The Memory Address Latch is a 16-bit register that latches the PAB, XAB or YAB on every
instruction cycle according to the BC3-BC0 bits in OSCR.
Summary of Contents for DSP56K
Page 12: ...xii LIST of TABLES MOTOROLA List of Tables Continued Table Page Number Title Number ...
Page 13: ...MOTOROLA DSP56K FAMILY INTRODUCTION 1 1 SECTION 1 DSP56K FAMILY INTRODUCTION ...
Page 31: ...MOTOROLA DATA ARITHMETIC LOGIC UNIT 3 1 SECTION 3 DATA ARITHMETIC LOGIC UNIT ...
Page 50: ...DATA ALU SUMMARY 3 20 DATA ARITHMETIC LOGIC UNIT MOTOROLA ...
Page 51: ...MOTOROLA ADDRESS GENERATION UNIT 4 1 SECTION 4 ADDRESS GENERATION UNIT ...
Page 77: ...MOTOROLA PROGRAM CONTROL UNIT 5 1 SECTION 5 PROGRAM CONTROL UNIT ...
Page 124: ...INSTRUCTION GROUPS 6 30 INSTRUCTION SET INTRODUCTION MOTOROLA ...
Page 125: ...MOTOROLA PROCESSING STATES 7 1 SECTION 7 PROCESSING STATES STOP WAIT EXCEPTION NORMAL RESET ...
Page 167: ...STOP PROCESSING STATE MOTOROLA PROCESSING STATES 7 43 ...
Page 168: ...STOP PROCESSING STATE 7 44 PROCESSING STATES MOTOROLA ...
Page 169: ...MOTOROLA PORT A 8 1 SECTION 8 PORT A ...
Page 176: ...PORT A INTERFACE 8 8 PORT A MOTOROLA ...
Page 177: ...MOTOROLA PLL CLOCK OSCILLATOR 9 1 SECTION 9 PLL CLOCK OSCILLATOR x x d Φ VCO ...
Page 191: ...10 2 ON CHIP EMULATION OnCE MOTOROLA SECTION 10 ON CHIP EMULATION OnCE ...
Page 218: ...USING THE OnCE MOTOROLA ON CHIP EMULATION OnCE 10 29 ...
Page 604: ...INSTRUCTION ENCODING A 338 INSTRUCTION SET DETAILS MOTOROLA ...
Page 605: ...MOTOROLA BENCHMARK PROGRAMS B 1 APPENDIX B BENCHMARK PROGRAMS T T T T T P1 P3 P2 P4 T T T ...
Page 609: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 5 ...
Page 611: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 7 ...
Page 613: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 9 ...
Page 615: ...BENCHMARK PROGRAMS MOTOROLA BENCHMARK PROGRAMS B 11 ...