Visible to Intel only — GUID: ltq1675964794586
Ixiasoft
Visible to Intel only — GUID: ltq1675964794586
Ixiasoft
5.4.7.3.1. Generic Operation Error Recovery
The figure below shows an example software procedure for handling errors detected by the SD/eMMC host controller. Once an error is detected and reported in any interrupt status register, the software identifies whether the error is recoverable or non-recoverable. If the error is recoverable, software follows the procedure requesting a software reset for either the CMD logic, the DAT logic, or both. The main purpose of this procedure is to clear logic affected by an error and prepare for the next transaction (that is, to redo interrupted read/write operation).
This procedure does not always help in case of a non-recoverable error. The non-recoverable error usually requires a full software/hardware reset and potentially a device power cycle to clear.
The same procedure can be used with SD, SDIO, and eMMC devices.