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
Field
Bits
What it does
PRIV
2
Privileged 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
Field
Bits
What it does
PREPG
7
NVM Pre-Program Configuration Bit
0 Program Operations exclude Pre-Program step
1 Program Operations include Pre-Program step
NVMOP
3:0
NVM 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
Field
Bits
What it does
OWNER
2:1
Flash Write Controller (FCW) Owner ID
0 No Owner - always 0 if LOCK=0
1 The System owns the FCW
LOCK
0
Flash 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
Field
Bits
What it does
WRERR
13
Write Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
RSTERR
12
Reset or Brown Out Detect Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
HTDPGM
8
High Temperature Detect Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
OPERR
6
NVMOP Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
WPERR
5
Write Protection Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
BUSERR
4
AHB Bus Error during Row Write Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
FIFOERR
3
FIFO Underrun during Row Write Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
CFGERR
2
Configuration Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
KEYERR
1
Key Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
DONE
0
NVM 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
Field
Bits
What it does
WRERR
13
Write Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
RSTERR
12
Reset or Brown Out Detect Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
HTDPGM
8
High Temperature Detect Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
OPERR
6
NVMOP Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
WPERR
5
Write Protection Error Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
BUSERR
4
AHB Bus Error during Row Write Interrupt Enable
0 Interrupt Disabled
1 Interrupt Enabled
FIFOERR
3
FIFO Underrun during Row Write Interrupt Set Enable
0 Interrupt Disabled
1 Interrupt Enabled
CFGERR
2
Configuration Error Interrupt Set Enable
0 Interrupt Disabled
1 Interrupt Enabled
KEYERR
1
Key Error Interrupt Set Enable
0 Interrupt Disabled
1 Interrupt Enabled
DONE
0
NVM 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
Field
Bits
What it does
WRERR
13
Write Error Flag Bit
0 The Write/Erase sequence completed normally
1 The Write/Erase sequence did not complete successfully
RSTERR
12
Reset 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)
HTDPGM
8
High Temperature Detect Error Flag Bit
0 High Temp NOT Detected
1 High Temp Detected (possible data corruption, verify operation)
OPERR
6
NVMOP Error Flag Bit
0 No NVMOP Error
1 Selected Operation is Disabled Error
WPERR
5
Write Protection Error Flag Bit
0 No Write Protection Error
1 Write Protection Error
BUSERR
4
AHB Bus Error during Row Write Flag Bit
0 No Bus Error
1 Bus Error
FIFOERR
3
FIFO Underrun during Row Write Flag Bit
0 No FIFO Error
1 FIFO Error
CFGERR
2
Configuration Error Flag Bit
0 No CFG Error
1 CFC Error
KEYERR
1
Key Error Flag Bit
0 No Key Error
1 Key Error
DONE
0
NVM 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
Field
Bits
What it does
WRERR
13
Write Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
RSTERR
12
Reset or Brown Out Detect Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
HTDPGM
8
High Temperature Detect Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
OPERR
6
NVMOP Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
WPERR
5
Write Protection Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
BUSERR
4
AHB Bus Error during Row Write Set Flag Bit
0 No effect
1 Set Interrupt Pending
FIFOERR
3
FIFO Underrun during Row Write Set Flag Bit
0 No effect
1 Set Interrupt Pending
CFGERR
2
Configuration Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
KEYERR
1
Key Error Set Flag Bit
0 No effect
1 Set Interrupt Pending
DONE
0
NVM 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
Field
Bits
What it does
HTDRDY
8
High Temp Detect Ready Status
0 HTD Not Ready
1 HTD Ready
BUSY
0
NVM 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
Field
Bits
What it does
FEATURE
7:0
Feature 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
CODE
31:8
Unlock Code
ADDRFlash Destination Address REGISTER
Address
0x44004024
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
ADDR
31:0
Flash Address used by NVMOP
SRCADDRSystem Source Address REGISTER
Address
0x44004028
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
SRCADDR
31:0
Source Data (Word) Address
DATA0Flash Write Data n REGISTER
Address
0x4400402C
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
DATA
31:0
Flash Write Data
DATA1Flash Write Data n REGISTER
Address
0x44004030
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
DATA
31:0
Flash Write Data
DATA2Flash Write Data n REGISTER
Address
0x44004034
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
DATA
31:0
Flash Write Data
DATA3Flash Write Data n REGISTER
Address
0x44004038
Reset
0x00000000
Access
read/write
Size
32-bit
1 field
Field
Bits
What it does
DATA
31:0
Flash Write Data
SWAPNVM Panel Swap REGISTER
Address
0x4400404C
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
Field
Bits
What it does
PFSLOCK
9
PFM Swap Lock Bit
0 PFSLOCK and PFSWAP can be written
1 PFSLOCK and PFSWAP cannot be written
PFSWAP
8
PFM Swap Status/Control Bit
0 Upper and Lower PFM Regions are NOT Swapped
1 Upper and Lower PFM Regions are Swapped
BFSLOCK
1
BFM Swap Lock Bit
0 BFSLOCK and BFSWAP can be written
1 BFSLOCK and BFSWAP cannot be written
BFSWAP
0
BFM 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
Field
Bits
What it does
PWPBASE
22:16
PWP Base Address - 4KB Page Aligned
PWPEN
15
PWP Enable Bit
0 PWP is Not Enabled for the defined region
1 PWP is Enabled for the defined region
PWPLOCK
14
PWP Lock Bit
0 This register is Not Locked and can be modified
1 This register is Locked and cannot be modified
PWPMIR
13
Mirror PWP bit
0 PWP settings are NOT Mirrored
1 PWP settings are Mirrored
PWPSIZE
6:0
PWP Size in 4KB pages
PWP1PFM Write Protect Region n REGISTER
Address
0x44004054
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
Field
Bits
What it does
PWPBASE
22:16
PWP Base Address - 4KB Page Aligned
PWPEN
15
PWP Enable Bit
0 PWP is Not Enabled for the defined region
1 PWP is Enabled for the defined region
PWPLOCK
14
PWP Lock Bit
0 This register is Not Locked and can be modified
1 This register is Locked and cannot be modified
PWPMIR
13
Mirror PWP bit
0 PWP settings are NOT Mirrored
1 PWP settings are Mirrored
PWPSIZE
6:0
PWP Size in 4KB pages
PWP2PFM Write Protect Region n REGISTER
Address
0x44004058
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
Field
Bits
What it does
PWPBASE
22:16
PWP Base Address - 4KB Page Aligned
PWPEN
15
PWP Enable Bit
0 PWP is Not Enabled for the defined region
1 PWP is Enabled for the defined region
PWPLOCK
14
PWP Lock Bit
0 This register is Not Locked and can be modified
1 This register is Locked and cannot be modified
PWPMIR
13
Mirror PWP bit
0 PWP settings are NOT Mirrored
1 PWP settings are Mirrored
PWPSIZE
6:0
PWP Size in 4KB pages
PWP3PFM Write Protect Region n REGISTER
Address
0x4400405C
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
Field
Bits
What it does
PWPBASE
22:16
PWP Base Address - 4KB Page Aligned
PWPEN
15
PWP Enable Bit
0 PWP is Not Enabled for the defined region
1 PWP is Enabled for the defined region
PWPLOCK
14
PWP Lock Bit
0 This register is Not Locked and can be modified
1 This register is Locked and cannot be modified
PWPMIR
13
Mirror PWP bit
0 PWP settings are NOT Mirrored
1 PWP settings are Mirrored
PWPSIZE
6:0
PWP Size in 4KB pages
LBWPLower BFM Write Protect REGISTER
Address
0x44004070
Reset
0x00000003
Access
read/write
Size
32-bit
2 fields
Field
Bits
What it does
LBWP
1:0
Lower 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
LBWPLOCK
31
LBWP 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
Field
Bits
What it does
UBWP
1:0
Upper 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
UBWPLOCK
31
UBWP 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
Field
Bits
What it does
UO1WPRLOCK
19:16
User 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
UO1WPR
3:0
User 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
Field
Bits
What it does
COWPLOCK
23
Panel 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
TWPLOCK
22
Panel 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
VSSWPLOCK1
21
Panel 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
VSSWPLOCK0
20
Panel 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
RCWPLOCK
19
Panel 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
BC1WPLOCK
18
Panel 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
BC1AWPLOCK
16
Panel 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
COWP
7
Panel 1 Write Protect CalOTP
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enabled
TWP
6
Panel 1 Write Protect Test
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enable
VSSWP1
5
Panel 1 Write Protect VSSn
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enabled
VSSWP0
4
Panel 1 Write Protect VSSn
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enabled
RCWP
3
Panel 1 Write Protect ROMCfg
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enabled
BC1WP
2
Panel 1 Write Protect BootCfg1
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enabled
BC1AWP
0
Panel 1 Write Protect BootCfg1A
0 Erase and Write Protection for this Page is Disabled
1 Erase and Write Protection for this Page is Enabled