This example shows the how custom data abort handler be implemented in the user application. Provides information about the prefetch abort exception
IFSR
(Instructiton Fault Status Register) registerstatus
: indicates the type of fault generatedsd
: distinguishes between an AXI Decode or Slave error on an external abort. This bit is only valid for external aborts. For all other aborts types of abort, this bit is set to zeroAIFSR
(Auxillary Instruction Fault Status Register) registerindex
: returns the index value for the access giving the errorside_ext
: value returned in this field indicates the source of the errorrecoverable_error
: value returned in this field indicates if the error is recoverable (0=Unrecoverable error, 1=Recoverable Error)cacheway
: value returned in this field indicates the cache way or ways in which the error occurredaddress
: Instruction causing the exceptionspsr
: Saved Program status registers to get the program status when the exception occured.Parameter | Value |
---|---|
CPU + OS | r5fss0-0 nortos |
Toolchain | ti-arm-clang |
Board | am263px-cc, am263px-lp |
Example folder | examples/kernel/dpl/test_prefetch_abort/ |
system
or multi-core project, so refer to system project build instructions for CCS project or makefiles when building the example.HwiP_user_prefetch_abort_handler_c
function and loops forever there. User needs to pause the applcaition and see the values.