15.6.16 Peripheral Security Lock Status - Bridge B

Important:
  • This register is only available for PIC32CM LS00/LS60 and has no effect for PIC32CM LE00.
  • if BOCOR.SECCFGLOCK == 0 after exiting the Boot ROM, the secure software code of the Flash BOOT region, before passing control on to the secure software code of the Flash APPLICATION region, MUST lock the current security attribution of each peripheral using WRCTRL.SECLOCK command.

Reading SECLOCK register returns peripheral security lock status:

ValueDescription
0Peripheral security attribution is not locked.
1Peripheral security attribution is locked.
Name: SECLOCKB
Offset: 0x78
Reset: 0x00000003 if BOCOR.SECCFGLOCK == 0 / 0x00000007 if BOCOR.SECCFGLOCK == 1
Property: Write-Secure

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
          
Access  
Reset  
Bit 76543210 
   USBHMATRIXHSDMACNVMCTRLDSUIDAU 
Access R/R/RR/R/RR/R/RR/R/RR/R/RR/R/R 
Reset 000x11 

Bit 5 – USB Peripheral USB Security Lock

Bit 4 – HMATRIXHS Peripheral HMATRIXHS Security Lock

Bit 3 – DMAC Peripheral DMAC Security Lock

Bit 2 – NVMCTRL Peripheral NVMCTRL Security Lock

Bit 1 – DSU Peripheral DSU Security Lock

Bit 0 – IDAU Peripheral IDAU Security Lock