2.6 Boot, BCFG and OTP Pages (BFM)

Programming tools support reading and writing of NVR pages (BFM), as they contain critical parameters for the device to run in the user-defined conditions, as well as to boot code. For more details on each NVR page content, refer to the PIC32CX-BZ6 and PIC32WM-BZ6 Family Data Sheet.

One page in the BFM region is implemented as a one-time programmable called OTP. The user can only write and cannot erase by page or chip erase. This region stores the user system calibration data that must survive a Flash erase. The user can use OTP to store and preserve identification values such as Bluetooth®/Zigbee® MAC address, OEM/ODM version numbers, board version numbers and so on. The other uses are for calibration values of circuits external to the chip but constant for a board design where the chip exists.

There is no difference in the programming algorithm for the BFM pages from programming the Program Flash Memory (PFM) pages except that the DSUEXT.TESTMODE[3] (@0x410001FC) but must be set to 1. The user needs to manipulate the differences in the memory protection registers.