PIC32CM5112SG00064 FCW registers

The 24 registers of FCW (Polaris Flash Write Controller), from 0x44004000, with their reset value and every field. The PIC32CM5112SG00064 has 3618 registers in 68 peripherals, one page each.

FCW Polaris Flash Write Controller

CTRLAControl A REGISTER

Address
0x44004000
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
PRIV2Privileged Access Only
  • 0 Macro register accessible in privileged and unprivileged accesses.
  • 1 Macro registers only accessible in privileged accesses

CTRLOPControl Operation REGISTER

Address
0x44004004
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
PREPG7NVM Pre-Program Configuration Bit
  • 0 Program Operations exclude Pre-Program step
  • 1 Program Operations include Pre-Program step
NVMOP3:0NVM Operation
  • 0 No Operation
  • 1 Single (Word) Program Operation: Programs word selected by ADDR
  • 2 Quad (Word) Program Operation: Programs flash word selected by ADDR
  • 3 Row Write Operation: Programs row selected by ADDR
  • 4 Page Erase Operation: Erases page selected by ADDR
  • 5 Lower PFM Erase Operation: (RSVD NVMOP for Single Panel Devices)
  • 6 Upper PFM Erase Operation: (RSVD NVMOP for Single Panel Devices)
  • 7 PFM Erase Operation: Upper & Lower PFM Erase
  • 14 Chip Erase Operation: Erases PFM+SRF, BFM, CFM (except for CalOTP, Test, VSS pages if HSM is Present, UserOTP, & ROMCFG).

MUTEXMUTEX REGISTER

Address
0x44004008
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
OWNER2:1Flash Write Controller (FCW) Owner ID
  • 0 No Owner - always 0 if LOCK=0
  • 1 The System owns the FCW
LOCK0Flash Write Controller (FCW) Lock by Owner
  • 0 FCW is not locked
  • 1 FCW is locked by owner

INTENCLRInterrupt Enable Clear REGISTER

Address
0x4400400C
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
WRERR13Write Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
RSTERR12Reset or Brown Out Detect Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
HTDPGM8High Temperature Detect Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
OPERR6NVMOP Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
WPERR5Write Protection Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
BUSERR4AHB Bus Error during Row Write Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
FIFOERR3FIFO Underrun during Row Write Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
CFGERR2Configuration Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
KEYERR1Key Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
DONE0NVM Operation Done Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled

INTENSETInterrupt Enable Set REGISTER

Address
0x44004010
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
WRERR13Write Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
RSTERR12Reset or Brown Out Detect Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
HTDPGM8High Temperature Detect Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
OPERR6NVMOP Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
WPERR5Write Protection Error Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
BUSERR4AHB Bus Error during Row Write Interrupt Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
FIFOERR3FIFO Underrun during Row Write Interrupt Set Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
CFGERR2Configuration Error Interrupt Set Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
KEYERR1Key Error Interrupt Set Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled
DONE0NVM Operation Done Interrupt Set Enable
  • 0 Interrupt Disabled
  • 1 Interrupt Enabled

INTFLAGInterrupt Flag REGISTER

Address
0x44004014
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
WRERR13Write Error Flag Bit
  • 0 The Write/Erase sequence completed normally
  • 1 The Write/Erase sequence did not complete successfully
RSTERR12Reset or Brown Out Detect Error Flag Bit
  • 0 No Reset and Voltage level OK during write/erase
  • 1 A reset or Low Voltage Detected (possible data corruption, verify data)
HTDPGM8High Temperature Detect Error Flag Bit
  • 0 High Temp NOT Detected
  • 1 High Temp Detected (possible data corruption, verify operation)
OPERR6NVMOP Error Flag Bit
  • 0 No NVMOP Error
  • 1 Selected Operation is Disabled Error
WPERR5Write Protection Error Flag Bit
  • 0 No Write Protection Error
  • 1 Write Protection Error
BUSERR4AHB Bus Error during Row Write Flag Bit
  • 0 No Bus Error
  • 1 Bus Error
FIFOERR3FIFO Underrun during Row Write Flag Bit
  • 0 No FIFO Error
  • 1 FIFO Error
CFGERR2Configuration Error Flag Bit
  • 0 No CFG Error
  • 1 CFC Error
KEYERR1Key Error Flag Bit
  • 0 No Key Error
  • 1 Key Error
DONE0NVM Operation Done Flag Bit
  • 0 NVMOP Not Done
  • 1 NVMOP Done

INTFLAGSETInterrupt Flag Set REGISTER

Address
0x44004018
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
WRERR13Write Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
RSTERR12Reset or Brown Out Detect Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
HTDPGM8High Temperature Detect Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
OPERR6NVMOP Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
WPERR5Write Protection Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
BUSERR4AHB Bus Error during Row Write Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
FIFOERR3FIFO Underrun during Row Write Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
CFGERR2Configuration Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
KEYERR1Key Error Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending
DONE0NVM Operation Done Set Flag Bit
  • 0 No effect
  • 1 Set Interrupt Pending

STATUSStatus REGISTER

Address
0x4400401C
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
HTDRDY8High Temp Detect Ready Status
  • 0 HTD Not Ready
  • 1 HTD Ready
BUSY0NVM Busy Status
  • 0 NVM Not Busy
  • 1 NVM Busy - All SFR bits are not writable

KEYFeature Unlock Key REGISTER

Address
0x44004020
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
FEATURE7:0Feature Select
  • 0 No selection, invalid selection, or invalid Key - Locks all SFR protected by KEY register
  • 1 WRKEY Value: Unlock SFR bits associated with Write/Erase
  • 2 SWAPKEY Value: Unlock SFR bits associated with Panel Swapping
  • 4 CFGKEY Value: Unlock SFR bits associated with general Flash configuration
CODE31:8Unlock Code

ADDRFlash Destination Address REGISTER

Address
0x44004024
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
ADDR31:0Flash Address used by NVMOP

SRCADDRSystem Source Address REGISTER

Address
0x44004028
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
SRCADDR31:0Source Data (Word) Address

DATA0Flash Write Data n REGISTER

Address
0x4400402C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATA31:0Flash Write Data

DATA1Flash Write Data n REGISTER

Address
0x44004030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATA31:0Flash Write Data

DATA2Flash Write Data n REGISTER

Address
0x44004034
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATA31:0Flash Write Data

DATA3Flash Write Data n REGISTER

Address
0x44004038
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
FieldBitsWhat it does
DATA31:0Flash Write Data

SWAPNVM Panel Swap REGISTER

Address
0x4400404C
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
PFSLOCK9PFM Swap Lock Bit
  • 0 PFSLOCK and PFSWAP can be written
  • 1 PFSLOCK and PFSWAP cannot be written
PFSWAP8PFM Swap Status/Control Bit
  • 0 Upper and Lower PFM Regions are NOT Swapped
  • 1 Upper and Lower PFM Regions are Swapped
BFSLOCK1BFM Swap Lock Bit
  • 0 BFSLOCK and BFSWAP can be written
  • 1 BFSLOCK and BFSWAP cannot be written
BFSWAP0BFM Swap Status/Control Bit
  • 0 Upper and Lower BFM Regions are NOT Swapped
  • 1 Upper and Lower BFM Regions are Swapped

PWP0PFM Write Protect Region n REGISTER

Address
0x44004050
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
PWPBASE22:16PWP Base Address - 4KB Page Aligned
PWPEN15PWP Enable Bit
  • 0 PWP is Not Enabled for the defined region
  • 1 PWP is Enabled for the defined region
PWPLOCK14PWP Lock Bit
  • 0 This register is Not Locked and can be modified
  • 1 This register is Locked and cannot be modified
PWPMIR13Mirror PWP bit
  • 0 PWP settings are NOT Mirrored
  • 1 PWP settings are Mirrored
PWPSIZE6:0PWP Size in 4KB pages

PWP1PFM Write Protect Region n REGISTER

Address
0x44004054
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
PWPBASE22:16PWP Base Address - 4KB Page Aligned
PWPEN15PWP Enable Bit
  • 0 PWP is Not Enabled for the defined region
  • 1 PWP is Enabled for the defined region
PWPLOCK14PWP Lock Bit
  • 0 This register is Not Locked and can be modified
  • 1 This register is Locked and cannot be modified
PWPMIR13Mirror PWP bit
  • 0 PWP settings are NOT Mirrored
  • 1 PWP settings are Mirrored
PWPSIZE6:0PWP Size in 4KB pages

PWP2PFM Write Protect Region n REGISTER

Address
0x44004058
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
PWPBASE22:16PWP Base Address - 4KB Page Aligned
PWPEN15PWP Enable Bit
  • 0 PWP is Not Enabled for the defined region
  • 1 PWP is Enabled for the defined region
PWPLOCK14PWP Lock Bit
  • 0 This register is Not Locked and can be modified
  • 1 This register is Locked and cannot be modified
PWPMIR13Mirror PWP bit
  • 0 PWP settings are NOT Mirrored
  • 1 PWP settings are Mirrored
PWPSIZE6:0PWP Size in 4KB pages

PWP3PFM Write Protect Region n REGISTER

Address
0x4400405C
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
PWPBASE22:16PWP Base Address - 4KB Page Aligned
PWPEN15PWP Enable Bit
  • 0 PWP is Not Enabled for the defined region
  • 1 PWP is Enabled for the defined region
PWPLOCK14PWP Lock Bit
  • 0 This register is Not Locked and can be modified
  • 1 This register is Locked and cannot be modified
PWPMIR13Mirror PWP bit
  • 0 PWP settings are NOT Mirrored
  • 1 PWP settings are Mirrored
PWPSIZE6:0PWP Size in 4KB pages

LBWPLower BFM Write Protect REGISTER

Address
0x44004070
Reset
0x00000003
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
LBWP1:0Lower Boot Pages Write Protect Bits
  • 0 Erase and Write Protection for this Lower Boot Page is Disabled
  • 1 Erase and Write Protection for this Lower Boot Page is Enabled
LBWPLOCK31LBWP Lock Bit
  • 0 This register is NOT Locked and can be modified
  • 1 This register is Locked and cannot be modified

UBWPUpper BFM Write Protect REGISTER

Address
0x44004074
Reset
0x00000003
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
UBWP1:0Upper Boot Pages Write Protect Bits
  • 0 Erase and Write Protection for this Upper Boot Page is Disabled
  • 1 Erase and Write Protection for this Upper Boot Page is Enabled
UBWPLOCK31UBWP Lock Bit
  • 0 This register is NOT Locked and can be modified
  • 1 This register is Locked and cannot be modified

UOWPUser OTP Write protection REGISTER

Address
0x44004078
Reset
0x0000000F
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
UO1WPRLOCK19:16User OTP Page 1 WP Row Lock Bit
  • 0 UO1WPR[n] & UO1WPRLOCK[n] bits are NOT Locked and can be modified
  • 1 UO1WPR[n] & UO1WPRLOCK[n] bits are Locked and cannot be modified
UO1WPR3:0User OTP Page 1 Write Protect Row Bit
  • 0 Write Protection for User OTP Page 1 Row "n" is Disabled
  • 1 Write Protection for User OTP Page 1 Row "n" is Enabled

CWPCFM Page Write Protect REGISTER

Address
0x4400407C
Reset
0x08C008FD
Access
read/write
Size
32-bit
14 fields
FieldBitsWhat it does
COWPLOCK23Panel 1 Lock Write Protection CalOTP
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
TWPLOCK22Panel 1 Lock Write Protection Test
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
VSSWPLOCK121Panel 1 Lock Write Protection VSSn
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
VSSWPLOCK020Panel 1 Lock Write Protection VSSn
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
RCWPLOCK19Panel 1 Lock Write Protection ROMCfg
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
BC1WPLOCK18Panel 1 Lock Write Protection BootCfg1
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
BC1AWPLOCK16Panel 1 Lock Write Protection BootCfg1A
  • 0 The Lock & Write Protect bits for this Page are NOT Locked and can be modified
  • 1 The Lock & Write Protect bits for this Page are Locked and cannot be modified
COWP7Panel 1 Write Protect CalOTP
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enabled
TWP6Panel 1 Write Protect Test
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enable
VSSWP15Panel 1 Write Protect VSSn
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enabled
VSSWP04Panel 1 Write Protect VSSn
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enabled
RCWP3Panel 1 Write Protect ROMCfg
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enabled
BC1WP2Panel 1 Write Protect BootCfg1
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enabled
BC1AWP0Panel 1 Write Protect BootCfg1A
  • 0 Erase and Write Protection for this Page is Disabled
  • 1 Erase and Write Protection for this Page is Enabled