16.5.8 Peripheral Configuration and Initialization

FCW and FCR

The user can optionally choose to lock and write protect ROMCFG and USERCFG1/1A fuse memory as outlined in Configuration Flash Memory Layout. Refer to the USERCFG1/1A configuration fuse details provided in Device USERCFG 1/1A Fuse.

The PIC32CM device supports Error Correction Code (ECC) for the user non-volatile memory. The supported ECC algorithm is Single Error Correction (SEC) and Double Error Detection (DED). The user can optionally choose to enable/disable ECC feature. Refer to the FUSES_FCR_ ECCCTRL fuse in USERCFG1/1A for additional information on ECC feature enable/disable option. The ECC check is by default enabled during the device boot operation and user selected ECC feature is applied by the Boot ROM before executing the first mutable executable application code.

WDT

The user can optionally choose to configure WDT as required by the target first mutable executable code. This feature is useful in cases where the first mutable executable code needs WDT peripheral as soon as the device begins execution of FME (first mutable executable) application code. The user should ensure WDT time out is programmed with a value such that WDT timeout is at least 50 mSec.