PIC32CM5112GC00100 FCR registers The 27 registers of FCR (Polaris Flash Read Controller), from 0x44002000, with their reset value and every field. The PIC32CM5112GC00100 has 2253 registers in 57 peripherals, one page each.
FCR Polaris Flash Read Controller CTRLACTRL A REGISTER
Address 0x44002000
Reset 0x00008000
Access read/write
Size 32-bit 5 fields
Field Bits What it does RDBUFWS 16 Read Buffer Wait StatesPer AHB port control of deterministic or zero wait state read buffer access.0 0 Wait States1 ADRWS + FWS wait state for hits to AHB read buffer AUTOWS 15 Automatic Wait State Enable.0 Use FWS: Total flash wait states are ADRWS + FWS1 Use Automatic wait states: Total flash wait states are ADRWS + Taws ADRWS 14 Address Wait State Enable0 Add 0 Address Wait States - allowing for higher performance at lower clock frequencies1 Add 1 Address Wait State - allowing for higher clock frequencies FWS 11:8 Flash Access Time Defined in terms of AHB Clock Wait States0 Zero Wait States1 One Wait State14 Fourteen Wait States15 Fifteen Wait States PRIV 2 Privileged Access Only0 Macro register accessible in privileged and unprivileged accesses.1 Macro registers only accessible in privileged accesses
CTRLBCTRL B REGISTER
Address 0x44002004
Reset 0x00000000
Access read/write
Size 32-bit 5 fields
Field Bits What it does PREFDIS 17 Prefetch Disable0 Predictive Prefetch Enabled1 Predictive Prefetch Disabled CHEDIS 16 Cache Disable0 Cache Enabled; Accesses to flash use AUTOWS/FSW selection.1 Cache Disabled; Interface uses RDBUFWS selection. SLP 9:8 NVM Power Reduction Mode selection during System Standby Sleep0 Maintain state of STATUS.PRM on entry to Standby1 RSVD2 Enter Flash Hibernate on entry to Standby w/ wakeup to Auto Standby3 Enter Flash Hibernate on entry to Standby w/ wakeup on first access CHEINV 7 Cache InvalidateCache invalidation takes 1 clock cycle, but may be delayed by an active read.0 No Action1 Invalidate Cache PRM 0 Set NVM Power Reduction Mode0 No Action1 Toggle the Flash Power Mode
INTENCLRInterrupt Enable Clear REGISTER
Address 0x44002008
Reset 0x00000000
Access read/write
Size 32-bit 4 fields
Field Bits What it does FLTCAP 16 ECC Fault Capture Clear Enable0 Interrupt Disabled1 Interrupt Enabled CRCERR 9 CRC Error Clear Enable0 Interrupt Disabled1 Interrupt Enabled CRCDONE 8 CRC Calculation Done Clear Enable0 Interrupt Disabled1 Interrupt Enabled SERR 0 Flash SEC Interrupt Clear Enable0 Interrupt Disabled1 Interrupt Enabled
INTENSETInterrupt Enable SET REGISTER
Address 0x4400200C
Reset 0x00000000
Access read/write
Size 32-bit 4 fields
Field Bits What it does FLTCAP 16 ECC Fault Capture Set Enable0 Interrupt Disabled1 Interrupt Enabled CRCERR 9 CRC Error Set Enable0 Interrupt Disabled1 Interrupt Enabled CRCDONE 8 CRC Calculation Done Set Enable0 Interrupt Disabled1 Interrupt Enabled SERR 0 Flash SEC Interrupt Set Enable0 Interrupt Disabled1 Interrupt Enabled
INTFLAGInterrupt Flag REGISTER
Address 0x44002010
Reset 0x00000000
Access read/write
Size 32-bit 4 fields
Field Bits What it does FLTCAP 16 ECC Fault Capture Flag0 No Interrupt Pending1 An ECC Fault Capture, related to FLTMD[], occurred CRCERR 9 CRC Error Flag0 No Interrupt Pending1 CRCACC Is Not Equal to the XOR of CRCSUM and CRCFXOR CRCDONE 8 CRC Calculation Done Flag0 No Interrupt Pending1 Calculation Done SERR 0 Flash SEC Interrupt Flag0 No Interrupt Pending1 SECCNT Count reached
INTFLAGSETInterrupt Flag Set REGISTER
Address 0x44002014
Reset 0x00000000
Access read/write
Size 32-bit 4 fields
Field Bits What it does FLTCAP 16 ECC Fault Capture Flag0 No effect1 Set Interrupt Pending CRCERR 9 CRC Error Flag0 No effect1 Set Interrupt Pending CRCDONE 8 CRC Calculation Done Flag0 No effect1 Set Interrupt Pending SERR 0 Flash SEC Interrupt Flag0 No Interrupt Pending1 SECCNT Count reached
STATUSStatus REGISTER
Address 0x44002018
Reset 0xE0000000
Access read only
Size 32-bit 1 field
Field Bits What it does PRM 0 NVM Power Reduction Mode Status0 Flash is Ready (for read or NVMOP)1 Flash is Powered Down and wakes on first access (read or NVMOP)
DBGCTRLDebug Control CTRL REGISTER
Address 0x4400201C
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does DBGECC 2:1 Debug ECC ModeECC errors from debugger reads are:0 Corrected per ECCCTRL; No Bus ERR; INTFLAG, SEC counter, and FLT logic are not updated.1 Not corrected; No Bus Error; INTFLAG, SEC counter, and FLT logic are not updated.2 Corrected per ECCCTRL; Bus Error, INTFLAG, SEC counter, and FLT logic operates as setup.3 Don't use but same as 01 (DISABLE) CRCRUN 0 CRC Debug Run Enable0 CRC Logic Halts in Debug Mode1 CRC Logic Runs in Debug Mode.
ECCCTRLECC Control REGISTER
Address 0x44002020
Reset 0x00000040
Access read/write
Size 32-bit 3 fields
Field Bits What it does SECCNT 15:8 Flash SEC Count ECCUNLCK 6 NVM ECC Mode Control Unlock0 ECCUNLCK and ECCCTL[1:0] cannot be written1 ECCUNLCK and ECCCTL[1:0] can be written ECCCTL 5:4 NVM ECC Mode Control - restricts one or more NVMOPs0 ECC Writes with ECC Reads (NVMOP = Single Program Operation disabled)1 Dynamic Writes with Dynamic Reads2 ECC Writes with Dynamic Reads (NVMOP = Single Program Operation disabled)3 Dynamic Writes with No Error Check Reads
CRCCTRLCRC Control REGISTER
Address 0x44002024
Reset 0x00000000
Access read/write
Size 32-bit 3 fields
Field Bits What it does RUNSTDBY 5 CRC Run in Standby0 CRC Halts in Standby1 CRC Runs in Standby but only if STATUS.PRM=0 (i.e. Flash is in Auto Standby) CRCEN 1 Start CRC Calculation0 Stops CRC calculation.1 CRC Calculation Enabled (w/ start on write to 1). CRCRST 0 CRC Reset0 No Action1 Resets all CRC SFR bits.
CRCMODECRC MODE REGISTER
Address 0x44002028
Reset 0x00000000
Access read/write
Size 32-bit 5 fields
Field Bits What it does PERIOD 27:16 Read Period in PerCLK counts RIN 15 CRC Reflected Input0 The LFSR CRC is calculated Most Significant Bit first (Not Reflected)1 The LFSR CRC is calculated Least Significant Bit first (Reflected) ROUT 14 CRC Reflected Output0 The CRCACC is Not Reflected1 The CRCACC is Reflected (before the Final XOR) AUTOR 13 CRC Auto Repeat0 Perform CRC calculation once then set DONE and if needed, CRCERR.1 Continually Repeat CRC calculation; stop on error, set CRCDONE and CRCERR PLEN32 12 Polynomial Length Select0 Polynomial is 16-bits1 Polynomial is 32-bits
CRCPAUSECRC Pause REGISTER
Address 0x4400202C
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does PAUSE 0 CRC Pause0 CRC Reads Flash as Required1 Pause CRC Reads of Flash
CRCMADRCRC Message Address REGISTER
Address 0x44002030
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CRCMADR 27:0 Message Start Address in Flash
CRCMLENCRC Message Length REGISTER
Address 0x44002034
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CRCMLEN 19:0 Message Length in Bytes
CRCIVCRC Initial Value REGISTER
Address 0x44002038
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CRCIV 31:0 CRC Initial Value
CRCACCCRC Accumulator REGISTER
Address 0x4400203C
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does CRCACC 31:0 CRC Accumulator Result
CRCPOLYCRC Polynomial REGISTER
Address 0x44002040
Reset 0x00000001
Access read/write
Size 32-bit 1 field
Field Bits What it does CRCPOLY 31:0 CRC Polynomial Coefficients for LFSR0 Disable the XOR input to the shift register at the associated bit position1 Enable the XOR input to the shift register at the associated bit position
CRCFXORCRC Final XOR REGISTER
Address 0x44002044
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CRCFXOR 31:0 CRC Final XOR0 Disable the Final XOR at the associated bit position1 Enable the Final XOR at the associated bit position
CRCSUMCRC CheckSUM REGISTER
Address 0x44002048
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does CRCSUM 31:0 CRC Checksum
FFLTCTRLFlash ECC Fault Control REGISTER
Address 0x4400204C
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does FLTEN 1 ECC Fault Enable bit0 ECC Fault Injection Disabled1 ECC Fault Injection Enabled (module performs operation selected by FFLTMODE.FLTMD) FLTRST 0 Fault Reset0 No Action1 Resets all FLT SFR bits.
FFLTMODEFlash ECC Fault Mode REGISTER
Address 0x44002050
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does FLTMD 14:12 Fault Mode Control0 Fault Injection Disabled2 Fault Capture Mode Enabled - Captures the address (in FLTADR) and Syndrome in (FLTSYN)4 Single Fault Injection (at bit selected by FLT1PTR) for Reads5 Double Fault Injection for Reads6 Single Fault Injection (at bit selected by FLT1PTR) for Writes7 Double Fault Injection for Writes CTLFLT 10:8 ECC/Parity Control Fault bits0 No Fault Injected1 Inject a Fault on to the associated ECC/Parity Control bits (CTL[n])
FFLTPTRFlash ECC Fault Pointer REGISTER
Address 0x44002054
Reset 0x00000000
Access read/write
Size 32-bit 2 fields
Field Bits What it does FLTPTR2 23:16 Fault 2 Injection Pointer FLTPTR1 7:0 Fault 1 Injection Pointer
FFLTADRFlash ECC Fault Address REGISTER
Address 0x44002058
Reset 0x00000000
Access read/write
Size 32-bit 1 field
Field Bits What it does FLTADR 27:0 Fault Injection Address
FFLTCAPFlash ECC Fault Capture Address REGISTER
Address 0x4400205C
Reset 0x00000000
Access read only
Size 32-bit 1 field
Field Bits What it does FLTADR 27:0 Fault Capture Address
FFLTPARFlash ECC Fault Parity REGISTER
Address 0x44002060
Reset 0x00000000
Access read only
Size 32-bit 4 fields
Field Bits What it does SECOUT 23:16 The Calculated Single Error Parity bits DEDIN 15 The Overall Parity from Flash SECIN 7:0 The Single Error Parity bits from Flash DEDOUT 31 The Calculated Overall Parity used in Double Error Detection
FFLTSYNFlash ECC Fault Syndrome REGISTER
Address 0x44002064
Reset 0x00000000
Access read only
Size 32-bit 6 fields
Field Bits What it does CTLSTAT 26:24 Parity vs ECC Control Status0 Calculation used ECC (i.e. programming used quad write)1 Calculation used ECC (i.e. programming used quad write)2 Calculation used ECC (i.e. programming used quad write)3 Calculation used Parity (i.e. programming used single write)4 Calculation used ECC (i.e. programming used quad write)5 Calculation used Parity (i.e. programming used single write)6 Calculation used Parity (i.e. programming used single write)7 Calculation used Parity (i.e. programming used single write) CERR 18 ECC Control bit Error0 No Control bit Error (ECCSTAT either 111 or 000)1 Single Control Bit Error DSERR 17:16 Double Error Detected & Single Error Corrected0 No Errors1 Single Error Corrected2 Double Error Detected3 Double Error Detected DEDSYN 15 DED Syndrome0 Calculated Overall Parity Concurs with Read Overall Parity1 Calculated Overall Parity Differs from Read Overall Parity SECSYN 7:0 Single Error Correction Syndrome PERR 31:28 Per Word (n=3:0) Parity Error Status0 No Parity Error on Word n1 Parity Error on Word n
CRPCFM Page Read Protection REGISTER (CFM8)
Address 0x44002068
Reset 0x00C20000
Access read/write
Size 32-bit 16 fields
Field Bits What it does CORPLOCK 23 Panel 1 Lock Read Protection CalOTP1 The Lock & Read Protect bits for this Page are Locked and cannot be modified TRPLOCK 22 Panel 1 Lock Read Protection Test1 The Lock & Read Protect bits for this Page are Locked and cannot be modified VSSRPLOCK1 21 Panel 1 Lock Read Protection VSSn0 The Lock & Read Protect bits for this Page are NOT Locked and can be modified1 The Lock & Read Protect bits for this Page are Locked and cannot be modified VSSRPLOCK0 20 Panel 1 Lock Read Protection VSSn0 The Lock & Read Protect bits for this Page are NOT Locked and can be modified1 The Lock & Read Protect bits for this Page are Locked and cannot be modified RCRPLOCK 19 Panel 1 Lock Read Protection ROMCfg0 The Lock & Read Protect bits for this Page are NOT Locked and can be modified1 The Lock & Read Protect bits for this Page are Locked and cannot be modified BC1RPLOCK 18 Panel 1 Lock Read Protection BootCfg10 The Lock & Read Protect bits for this Page are NOT Locked and can be modified1 The Lock & Read Protect bits for this Page are Locked and cannot be modified UO1RPLOCK 17 Panel 1 Lock Read Protection UserOTP11 The Lock & Read Protect bits for this Page are Locked and cannot be modified BC1ARPLOCK 16 Panel 1 Lock Read Protection BootCfg1A0 The Lock & Read Protect bits for this Page are NOT Locked and can be modified1 The Lock & Read Protect bits for this Page are Locked and cannot be modified CORP 7 Panel 1 Read Protect CalOTP0 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled TRP 6 Panel 1 Read Protect Test0 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled VSSRP1 5 Panel 1 Read Protect VSSn0 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled VSSRP0 4 Panel 1 Read Protect VSSn0 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled RCRP 3 Panel 1 Read Protect ROMCfg0 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled BC1RP 2 Panel 1 Read Protect BootCfg10 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled UO1RP 1 Panel 1 Read Protect UserOTP10 Read Protection for this Page is Disabled BC1ARP 0 Panel 1 Read Protect BootCfg1A0 Read Protection for this Page is Disabled1 Read Protection for this Page is Enabled