14.2.5 Security Control

Important: if BOCOR.SECCFGLOCK == 0 after exiting the Boot ROM:
  • The secure boot flash code, before exiting, must lock the memory security configurations by clearing the IDAU.SECCTRL.SCFGWEN bit.
  • Write accesses (W*) are allowed.
Name: SECCTRL
Offset: 0x01
Reset: x/y initially determined after reset from NVM User Row (UROW) / BOCOR.SECCFGLOCK
Property: PAC Write-Protection

Bit 76543210 
      RXNReservedSCFGWEN 
Access R/W*RR/W* 
Reset x0y 

Bit 2 – RXN SRAM eXecute Never

This bit status is loaded from UROW at boot.
ValueDescription
0 Execution out of SRAM is authorized.
1 Execution out of SRAM is not authorized.

Bit 1 – Reserved Reserved

Bit 0 – SCFGWEN Security Configuration Write Enable

After Boot ROM execution, this bit is:
  • Cleared if BOCOR.SECCFGLOCK == 1
  • Set if BOCOR.SECCFGLOCK == 0
Important:
  • If SCFGWEN = 1, the secure software code of the Flash BOOT region must clear this bit before passing control on to the secure software code of the Flash APPLICATION region in order to lock the IDAU security configurations.
  • SCFGWEN must be enabled only when the IDAU is enabled (CTRL.ENABLE == 1).
ValueDescription
0 CTRL, SCFGB, SCFGA, SCFGR and SECCTRL.SCFGWEN cannot be written until the next reset.
1 CTRL, SCFGB, SCFGA, SCFGR and SECCTRL.SCFGWEN can be written.