This example shows the how custom data abort handler be implemented in the user application. Provides information about the prefetch abort exception
DFSR
(Data 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 zero.rw
: Indicates whether a read or write access caused an abort (0=read abort; 1=write abort)ADFSR
(Auxillary Data 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 occurreddfar
(Data Fault Address Register): Address of the data trying to be written or read.address
: Address of instruction which is trying to access dfar addressspsr
: 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_data_abort/ |
system
or multi-core project, so refer to system project build instructions for CCS project or makefiles when building the example.HwiP_user_data_abort_handler_c
function and loops forever there. User needs to pause the applcaition and see the values.