8.2.4 Protection Region n Control Register

Legend: n = Region number, x = Loaded from Configuration bits, W = Writable bit, R = Readable bit

Note:
  1. Register is read-only unless RTYPE[1:0] bits are ‘11’ and LOCK[1:0] bits (PRnLOCK[1:0]) are ‘11’. Firmware configurable region descriptors are locked (read-only) at Reset and must be unlocked with a write to PRnLOCK before being modified.
  2. IRT regions: all access disabled when the PLCK bit (IRTCRTL[4]) is set. For the OTP regions, the region write permissions are disabled, regardless of the WR bit. OTP and IRT are permanent regions.
  3. The WR bit is not used for OTP regions; write permissions are always disabled for OTP regions.
Name: PRnCTRL
Offset: 0x300, 0x310, 0x320, 0x330, 0x340, 0x350, 0x360, 0x370

Bit 3130292827262524 
          
Access  
Reset  
Bit 2322212019181716 
          
Access  
Reset  
Bit 15141312111098 
   PSEL[1:0]  RTYPE[1:0] 
Access RRRR 
Reset xxxx 
Bit 76543210 
 CRCWRRDEX  ERAORDIS 
Access R/WR/WR/WR/WR/WR/W 
Reset xxxxxx 

Bits 13:12 – PSEL[1:0] Partition Select bits

ValueDescription
11 Both User Program Partitions
10 User Program Partition 2
01 User Program Partition 1
00 User Data

Bits 9:8 – RTYPE[1:0]  Protection Region Type Selection bits (1,2)

ValueDescription
11 Firmware Configurable Region
10 One Time Programmable (OTP) Region
01 Immutable Root of Trust (IRT) Region
00 Reserved

Bit 7 – CRC CRC Permission Enable bit

ValueDescription
1 NVM Controller CRC is permitted.
0 NVM Controller CRC is disabled.

Bit 6 – WR Write Permission Enable bit(3)

ValueDescription
1 Write (program/erase) is permitted.
0 Write (program/erase) is disabled.

Bit 5 – RD Read Permission Enable bit

ValueDescription
1 Read is permitted.
0 Read is disabled.

Bit 4 – EX Execute Permission Enable bit

ValueDescription
1 Execute (instruction fetch) is permitted.
0 Execute (instruction fetch) is disabled.

Bit 1 – ERAO Error Report Address Only bit

ValueDescription
1 ECC error reporting information is restricted to address only.
0 No ECC error reporting restrictions

Bit 0 – RDIS Protection Region Disable bit

ValueDescription
1 Region is disabled.
0 Region is enabled.