SPRUJ17H March 2022 – October 2024 AM2631 , AM2631-Q1 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1
The Control Modules can generate the access error interrupts MMR_ACCESS_ERR_WR and MMR_ACCESS_ERR_RD. The interrupts are asserted when one or more of the following accesses are made:
The following registers are related to handling of these errors inside the respective Control Module.
The following applies for the interrupt behavior of each Control Module:
The MSS_CTRL module aggregates the Control Module interrupts MMR_ACCESS_ERR_WR and MMR_ACCESS_ERR_RD and generates MMR_ACCESS_ERRAGGR to the R5 Cores (see Section 6.1.3.2.8).
Table 6-2 lists the interrupt events which can assert the MSS_CTRL Access Error.
Event Name | Event Flag | Event Mask | Description |
---|---|---|---|
MMR_ACCESS_ERR_WR | INTR_RAW_STATUS.KICK_ERR | INTR_ENABLE.KICK_ERR_EN | Lock violation interrupt. Occurs when writing to a register in a locked control module. |
MMR_ACCESS_ERR_RD | INTR_RAW_STATUS.ADDR_ERR | INTR_ENABLE.ADDR_ERR_EN | Read addressing violation interrupt. Occurs when reading an illegal address inside the control module. |
MMR_ACCESS_ERR_WR | INTR_RAW_STATUS.ADDR_ERR | INTR_ENABLE.ADDR_ERR_EN | Write addressing violation interrupt. Occurs when writing an illegal address inside the control module. |
When an error event as described in Table 6-2 above occurs, the associated error details are captured in the FAULT_ADDRESS, FAULT_TYPE_STATUS, and FAULT_ATTR_STATUS registers.
FAULT_ADDRESS contains the address of the first fault access. FAULT_TYPE_STATUS and FAULT_ATTR_STATUS contain status attributes associated with the first fault access. To clear the contents of these three registers and allow them to latch the attributes of the next fault the FAULT_CLEAR.FAULT_CLR bit must be set to 1h.