5.8 Security

The PIC16F, PIC18F and PIC32CM MCUs offer different levels of hardware security. Table 5-31 provides a summary of available security features for each MCU architecture.

Table 5-31. PIC16F, PIC18F and PIC32CM Security Features
Features/ PeripheralsPIC16FPIC18FPIC32CM M0+PIC32CM M23
Security TypeBasicBasicEssentialAdvanced
Lock bitsSupportedSupportedSupportedSupported
Hardware Secure bootSoftware-based onlySoftware-based onlySoftware-based onlySupported
CRCSupportedSupportedSupportedSupported
Write Access Control

For system-critical registers, only through Configuration bits

Program and Debug Interface Disable (PDID)

For system-critical registers and memory regions, through Configuration bits

Program and Debug Interface Disable (PDID)

All peripherals

Integrated in Peripheral Access Controller (PAC)

Program and Debug Interface Disable (PDID)

All peripherals

Integrated in Peripheral Access Controller (PAC)

Program and Debug Interface Disable (PDID)

Debug SupportICSP™ (In-Circuit Serial Programming)ICSP™ (In-Circuit Serial Programming)Integrated in Device Service Unit (DSU)Integrated in Device Service Unit (DSU)
TrustZone®N/AN/AN/ASupported
Hardware CryptoSupported in legacy PIC16F with KeeLoq®N/AN/ACryptographic Accelerators

True Random Number Generator (TRNG)

Device Identity Composition Engine (DICE) support

Physical Unclonable Function (PUF)

Tamper DetectionN/AN/AN/ASupported

Refer to the PIC32CM Additional Features and Peripherals section for additional information.