30.3.18.6 ECC Control Register

Table 30-30. Register Bit Attribute Legend
Symbol Description Symbol Description Symbol Description
R Readable bit HC Cleared by Hardware (Grey cell) Unimplemented
W Writable bit HS Set by Hardware X Bit is unknown at Reset
K Write to clear S Software 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
0 ECCUNLCK and ECCCTL[1:0] cannot be written
1 ECCUNLCK and ECCCTL[1:0] can be written

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

Restricts one or more NVMOPs:

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