Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 11/27/2024
Public
Document Table of Contents

5.3.6.9.6. Descriptor/Command Error

The command engine is capable of detecting errors in command or descriptors that make it impossible to execute. The possible error sources include:

  • Multi-plane operation does not start at address of the first plane.
  • Copyback operation when multi-plane operations are enabled only for read or write direction. The mpl_wr_en and mpl_rd_en fields of the multiplane_config (0x0434) register need to have the same value or descriptor/command error is returned.
  • When DDR or 16-bit SDR mode is selected and transferred data block size is not aligned to 16-bit word. Both sector_size and last_sector size fields of the transfer_cfg_1 (0x0404) register need to be aligned to 16-bit.
  • If in generic mode, an instruction type number exceeded the last available item.
  • Unknown command which occurs when the command engine cannot identify the command programmed by the host software.

The NAND Flash controller sets the Descriptor Error and Fail flags in the last operation status descriptor field or controller register. In CDMA work mode, if the cont_on_err field in the device_ctrl (0x0430) register is cleared, then the following descriptors are dropped from execution. In the opposite case, the NAND Flash controller continues the command execution.