33.6.9 ECC Control Register

Table 33-31. 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 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 ECC Unlock

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] ECC CTRL

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

Restricts one or more NVMOPs:

Table 33-32. 
ValueNameDescription
3DISABLEDynamic Writes with No Error Check Reads
2ECC ECC Writes with Dynamic Reads
1DYNAMICDynamic Writes with Dynamic Reads
0STRICT ECC Writes with ECC Reads