SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The error log consists of a series of registers that capture the details of the transaction, including the input address that caused the error. These registers are the following:
The RAT module can capture one error before it is cleared by software. The error logging is enabled by default, but can be disabled via the RAT_EXCEPTION_LOGGING_CONTROL[0] DISABLE_F bit. Upon error logging an interrupt is also generated. To clear the log, software must either read the final error logging register, or manually clear the RAT_EXCEPTION_PEND_CLEAR[0] PEND_CLR bit by setting it to 0x1. This will clear the error status, and not the actual log registers, but it does allow the next error to be captured into the log registers. If the status is not cleared and additional errors are detected, they are not logged.
After an error occurs and is cleared (whether by reading the final error logging register or by clearing the status bit), the RAT_EOI_REG register must be written to guarantee the next interrupt pulse will be produced.
Table 8-2663 shows the RAT source ID mapping which is associated with the RAT_EXCEPTION_LOGGING_HEADER0[23-8] SRC_ID field.
Module Instance | Source ID Value (Decimal) |
---|---|
DMSC0 | 0 |
MCU_M4FSS0 | 2 |
R5FSS0_CORE0 | 4 |
R5FSS0_CORE1 | 5 |
R5FSS1_CORE0 | 6 |
R5FSS1_CORE1 | 7 |
PRU_ICSSG0_CPU0 | 16 |
PRU_ICSSG0_CPU1 | 17 |
PRU_ICSSG1_CPU0 | 18 |
PRU_ICSSG1_CPU1 | 19 |