Setting tracepoints on exception vectors

If you want to set a tracepoint on an exception vector, you must disable the vector catch for that exception before running the image. This prevents the exception being caught, and the exception can be recorded in the trace buffer.

This is the text recorded in the trace buffer for each exception:

 

Exception

Text

Reset

RESET

Undefined instruction

UNDEF EXCEPTION

Software Interrupt (SWI)

Branch to <SWI>

Prefetch Abort (instruction memory read abort)

PREFETCH ABORT

Data Abort (data memory read or write abort)

DATA ABORT

IRQ (normal interrupt)

INTERRUPTED

FIQ (fast interrupt)

FAST INTERRUPT

 

 See Finding the cause of a data abort in the RealView Debugger v1.8 Extensions User Guide for an example of how to trace an exception.