31.3.18.7 ECC Control Register

Table 31-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: 0x001C
Reset: 0x00000040
Property: PAC Write Protection

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 
  ECCUNLCKECCCTRL[1:0]     
Access R/WR/WR/W 
Reset 100 

Bits 15:8 – SECCNT[7:0] Flash SEC Count

SECCNT is the start value of an internal counter that decrements by 1 for each panel reporting an SEC event occurs (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 NVM ECC Mode Control Unlock

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

The read value dictates the unlock state:

ValueDescription
0ECCUNLCK and ECCCTL[1:0] cannot be written
1ECCUNLCK and ECCCTL[1:0] can be written

Bits 5:4 – ECCCTRL[1:0] NVM ECC Mode Control

Restricts one or more NVMOPs:

ValueDescription
11Dynamic Writes with No Error Check Reads
10Dynamic Writes with SEC Reads but no DED/Parity Bus Error
01Dynamic Writes with Dynamic Reads
00ECC Writes with ECC Reads (NVMOP = Single Program Operation disabled)