31.6.9 ECC Control REGISTER

Table 31-40. Register Bit Attribute Legend
SymbolDescriptionSymbolDescriptionSymbolDescription
RReadable bitHCCleared by Hardware(Grey cell)Unimplemented
WWritable bitHSSet by HardwareXBit is unknown at Reset
KWrite to clearSSoftware settable bit
Name: ECCCTRL
Offset: 0x20
Reset: 0x00000040
Property: R/W

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 SECCNT[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
  ECCUNLCKECCCTL[1:0]     
Access R/KR/WR/W 
Reset 100 

Bits 15:8 – SECCNT[7:0] SECCNT is the start value of an internal counter that decrements (by 1 per panel reporting an SEC) its count value each time an SEC occurs on a flash access (including the CTL[2:0] bits if in Dynamic ECC Mode). The internal counter stops decrementing at zero. If an SEC error occurs when the internal counter is zero, the SERR flag bit is set. Note: This field counts all SEC errors and is not limited to SEC errors on unique addresses.

SECCNT is the start value of an internal counter that decrements by 1 for each occurrence of a SEC event (including ECC CTL[2:0] bit if in Dynamic ECC Mode). The SECCNT counter stops decrementing at zero. If an SEC error occurs when the SECCNT counter is zero, the INTFLAG.SERR flag bit is set.

Note: This field counts all SEC errors and is not limited to SEC errors on unique addresses.

Bit 6 – ECCUNLCK The read value dictates the unlock state. Note: This field can only be modified when ECCUNLCK=1

Note: This field can only be modified when ECCUNLCK=1.

The read value dictates the unlock state:

ValueNameDescription
1UNLOCKEDECCUNLCK and ECCCTL[1:0] can be written
0LOCKEDECCUNLCK and ECCCTL[1:0] cannot be written

Bits 5:4 – ECCCTL[1:0] Condition: {PFM_PNL_DATA_MSB==71} 10 (ECC) = Reserved - Resolves to STRICT 01 (DYNAMIC) = Reserved - Resolves to STRICT Note: This field can only be modified when ECCUNLCK=1

Restricts one or more NVMOPs:

ValueNameDescription
3DISABLEECC Writes with No Error Check Reads
0STRICTECC Writes with ECC Reads
3DISABLEDynamic Writes with No Error Check Reads
2ECCECC Writes with Dynamic Reads (NVMOP = Single Program Operation disabled)
1DYNAMICDynamic Writes with Dynamic Reads
0STRICTECC Writes with ECC Reads (NVMOP = Single Program Operation disabled)