Sticky Abort Bit (Sa); Method Of Entry Bits (Moe); Trace Buffer Mode Bit (M); Trace Buffer Enable Bit (E) - Intel PXA255 User Manual

Xscale microarchitecture
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

To set up a reset vector trap, the debugger sets the Halt Mode bit and reset vector trap bit through
JTAG. The Global Enable bit does not effect the reset vector trap. A reset vector trap can be set up
before or during a processor reset. When processor reset is de-asserted, a debug exception occurs
before the instruction in the reset vector executes.
10.3.4

Sticky Abort Bit (SA)

The Sticky Abort bit is only valid in Halt mode. It indicates a data abort occurred within the Special
Debug State (see
data abort exception does not occur. However, the processor sets the Sticky Abort bit to indicate a
data abort was detected. The debugger can use this bit to determine if a data abort was detected
during the Special Debug State. The sticky abort bit must be cleared by the debug handler before
exiting the debug handler.
10.3.5

Method of Entry Bits (MOE)

The Method of Entry bits specify the cause of the most recent debug exception. When multiple
exceptions occur in parallel, the processor places the highest priority exception (based on the
priorities in
10.3.6

Trace Buffer Mode Bit (M)

The Trace Buffer Mode bit selects one of two trace buffer modes:
Wrap-around mode - Trace buffer fills up and wraps around until a debug exception occurs.
Fill-once mode - The trace buffer automatically generates a debug exception (trace buffer full
break) when it becomes full.
10.3.7

Trace Buffer Enable Bit (E)

The Trace Buffer Enable bit enables and disables the trace buffer. Both DCSR.e and DCSR.ge must
be set to enable the trace buffer. The processor automatically clears this bit to disable the trace
buffer when a debug exception occurs. For more details on the trace buffer refer to
"Trace
Buffer".
10.4

Debug Exceptions

A debug exception causes the processor to re-direct execution to a debug event handling routine.
The Intel® XScale™ core debug architecture defines the following debug exceptions:
1. instruction breakpoint
2. data breakpoint
3. software breakpoint
4. external debug break
5. exception vector trap
6. trace-buffer full break
Intel® XScale™ Microarchitecture User's Manual
Section 10, "Halt
Mode"). Since Special Debug State disables all exceptions, a
Table
10-4) in the MOE field.
Software Debug
Section 10,
10-5

Advertisement

Table of Contents
loading

Table of Contents