80 PSoC 4000 Family: PSoC 4 Architecture TRM, Document No. 001-89309 Rev. *D
Device Security
gram flash is not available. The part cannot be taken out of KILL mode; devices in KILL mode may not be returned for fail-
ure analysis.
14.2.2 Flash Security
The PSoC 4 devices include a flexible flash-protection system that controls access to flash memory. This feature is designed
to secure proprietary code, but it can also be used to protect against inadvertent writes to the bootloader portion of flash.
Flash memory is organized in rows. You can assign one of two protection levels to each row; see Table 14-1. Flash protection
levels can only be changed by performing a complete flash erase.
For more details, see the Nonvolatile Memory Programming chapter on page 147.
Table 14-1. Flash Protection Levels
Protection Setting Allowed Not Allowed
Unprotected
External read and write,
Internal read and write
–
Full Protection
External read
a
Internal read
a. To protect the device from external read operations, you should change the device protection settings to PROTECTED.
External write,
Internal write