stm32 /stm32h5 /STM32H503 /FLASH /FLASH_ECCDETR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as FLASH_ECCDETR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0ADDR_ECC0 (BK_ECC)BK_ECC 0 (SYSF_ECC)SYSF_ECC 0 (OTP_ECC)OTP_ECC 0 (ECCD)ECCD

Description

FLASH ECC detection register

Fields

ADDR_ECC

ECC error address When an ECC error occurs (double detection) during a read operation, the ADDR_ECC contains the address that generated the error. ADDR_ECC is reset when the flag error is reset. The embedded Flash memory programs the address in this register only when no ECC error flags are set. This means that only the first address that generated an double ECC error is saved. The address in ADDR_ECC is relative to the Flash memory area where the error occurred (user Flash memory, system Flash memory, data area, read-only/OTP area).

BK_ECC

ECC fail bank for double ECC Error It indicates which bank is concerned by ECC error

SYSF_ECC

ECC fail for double ECC error in system Flash memory It indicates if system Flash memory is concerned by ECC error.

OTP_ECC

OTP ECC error bit This bit is set to 1 when double ECC detection occurred during the last read operation from the read-only/ OTP area. The address of the ECC error is available in ADDR_ECC bit field.

ECCD

ECC detection set by hardware when two ECC error has been detected. When this bit is set, a NMI is generated. Cleared by writing 1. Needs to be cleared in order to detect subsequent double ECC errors.

Links

()