External Memory Interface Handbook Volume 3: Reference Material: For UniPHY-based Device Families

ID 683841
Date 3/06/2023
Document Table of Contents User Notification of ECC Errors

When an ECC error occurs, an interrupt signal notifies the MPU subsystem, and the ECC error information is stored in the status registers. The memory controller provides interrupts for single-bit and double-bit errors.

The status of interrupts and errors are recorded in status registers, as follows:

  • The dramsts register records interrupt status.
  • The dramintr register records interrupt masks.
  • The sbecount register records the single-bit error count.
  • The dbecount register records the double-bit error count.
  • The erraddr register records the address of the most recent error.

For a 32-bit interface, ECC is calculated across a span of 8 bytes, meaning the error address is a multiple of 8 bytes (4-bytes*2 burst length). To find the byte address of the word that contains the error, you must multiply the value in the erraddr register by 8.

Did you find the information on this page useful?

Characters remaining:

Feedback Message