15.6.15 Peripheral Security Lock Status - Bridge A

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: SECLOCKA
Offset: 0x74
Reset: 0x00000000 if BOCOR.SECCFGLOCK == 0 / 0x00000001 if BOCOR.SECCFGLOCK == 1
Property: Write-Secure

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
 ReservedReservedACPORTFREQMEICRTCWDT 
Access R/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/R 
Reset 00000000 
Bit 76543210 
 GCLKSUPCOSC32KCTRLOSCCTRLRSTCMCLKPMPAC 
Access R/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/RR/R/R 
Reset 0000000x 

Bit 15 – Reserved

Bit 14 – Reserved

Bit 13 – AC Peripheral AC Security Lock

Bit 12 – PORT Peripheral PORT Security Lock

Bit 11 – FREQM Peripheral FREQM Security Lock

Bit 10 – EIC Peripheral EIC Security Lock

Bit 9 – RTC Peripheral RTC Security Lock

Bit 8 – WDT Peripheral WDT Security Lock

Bit 7 – GCLK Peripheral GCLK Security Lock

Bit 6 – SUPC Peripheral SUPC Security Lock

Bit 5 – OSC32KCTRL Peripheral OSC32KCTRL Security Lock

Bit 4 – OSCCTRL Peripheral OSCCTRL Security Lock

Bit 3 – RSTC Peripheral RSTC Security Lock

Bit 2 – MCLK Peripheral MCLK Security Lock

Bit 1 – PM Peripheral PM Security Lock

Bit 0 – PAC Peripheral PAC Security Lock