25.5.5 Debug Operation

When the CPU is halted in debug mode, the ECC feature of the NVMCTRL will correct and log ECC errors based on the table below.

Table 25-1. ECC Debug Operation
DBGCTRL.ECCELOGDBGCTRL.ECCDISDBGCTRL.ECCDIS
00ECC errors from debugger reads are corrected, but not logged in INTFLAG.
10ECC errors from debugger reads are corrected and logged in INTFLAG.
X1ECC errors from debugger reads are neither corrected nor logged in INTFLAG.

Reading the SmartEEPROM configured in buffered mode with a debugger is intrusive, since the pagebuffer must be flushed when the read is performed in a page under modification.

Access to the NVM block can be protected by the security bit. In this case, the NVM block will not be accessible. See the section on the NVMCTRL Security Bit for details.