SPRUIU1D July 2020 – December 2024 DRA821U , DRA821U-Q1
Figure 11-59 and Table 12-4342 show an error detect and recovery sequence.
Figure 12-2255 Error Detect and Recovery Sequence| Step | Description |
|---|---|
| 1 | Read eMMC host controller MMCSD0_ERROR_INTR_STS register and determine error is related to CQE. |
| 2 | Write '1' to MMCSD0_CQ_CONTROL[0] HALT_BIT bit to halt CQE. |
| 3 | Wait for MMCSD0_CQ_CONTROL[0] HALT_BIT bit to read '1'. In some error cases, this may not happen, so software should proceed to the next step after a sufficient time-out. |
| 4 | Read MMCSD0_CQ_CMD_RESP_INDEX and MMCSD0_CQ_CMD_RESP_ARG registers to determine last response's index and argument. |
| 5 | Read MMCSD0_CQ_TASK_ERR_INFO register to determine the transmitted command's index and the index of the task to which it is related. |
| 6 | Perform error-specific recovery procedure. |
| 7 | Write '0' to MMCSD0_CQ_CONTROL register to resume operation. |