[97] UICR: ERASEPROTECT or APPROTECT is occasionally enabled or device startup may fail

This anomaly applies to IC Rev. Engineering A, build codes QKAA-AB0.

Domains

Application, Network

Symptoms

One or more of the following occurs:
  • Network core erase protection or access port protection is occasionally enabled.
  • Network core may fail to startup.
  • Application core may not wake up from sleep or System OFF.

Conditions

At device startup or when waking up from sleep or System OFF.

Consequences

One or more of the following occurs:
  • Network core erase protection or access port protection is enabled.
  • Unable to start the network core.
  • Unable to use the application core.

Workaround

In the application core, apply the following code after any reset:

if (*((volatile uint32_t *)0x50004A20ul) == 0)
{
    *((volatile uint32_t *)0x50004A20ul) = 0xDul;
    *((volatile uint32_t *)0x5000491Cul) = 0x1ul;
    *((volatile uint32_t *)0x5000491Cul) = 0x0ul;
}
This workaround is implemented in MDK version 8.31.0 and later.