23.6.2 One-Way or Two-Way Lock (Software Selectable)

If CFGCON0.CFGLOCK[1:0] is ‘10’, it locks the registers, but it is also possible to unlock the registers by writing ‘00’ to CFGCON0.CFGLOCK[1:0]. If CFGCON0.CFGLOCK[1:0] is ‘11’, it locks the registers, and they are no longer possible to unlock as CFGCON0.CFGLOCK[1:0] bits are also locked. Only a system Reset can unlock them. This mechanism provides one-way or two-way lock (software selectable) using the CFGCON0.CFGLOCK[1:0] register bits. This method applies to the following registers:

  • BCFG0
  • CFGCON0
  • CFGCON1
  • CFGCON2
  • CFGCON4
  • USER_ID