Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 4/01/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

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 software reset for CMD and/or DAT logic. 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).

Figure 151. Generic Error Recovery Procedure

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.