Datasheet
134 PSoC Designer IDE Guide, Document # 001-42655 Rev *B
Flash Protection
8.2 About flashsecurity.txt
The FPMP file, flashsecurity.txt, is added to each new project and appears in the Workspace
Explorer.
Figure 8-1. flashsecurity.txt in Source Tree
PSoC Designer also adds the FPMP file to a cloned project. This is especially useful when cloning
projects created with earlier versions of PSoC Designer because earlier versions did not carry this
feature. Note that if you do clone a project created in an earlier version of PSoC Designer, you are
prompted to update your project, (see “Updating Existing Projects” on page 19).
NOTE: If, for some reason, flashsecurity.txt is missing or was deleted from the project, the default
behavior is to apply Mode Bit 11 Full Protection to the entire program memory.
This information contains instructions on modifying flashsecurity.txt and appears at the beginning of
this file in PSoC Designer.
; Edit this file to adjust the Flash security for this project.
; Flash security is provided by marking a 64-byte block with a
; character that corresponds to the type of security for that
; block, given:
;
; W: Full (Write protected)
; R: Field Upgrade (Read protected)
; U: Unprotected
; F: Factory
; Note #1: Protection characters can be entered in upper or
; lower case.
; Note #2: Refer to the Flash Program Memory Protection section
; in the Data Sheet.
; Various parts with different Flash sizes can be used with
; this file. Security settings for Flash areas beyond the part
; limit will be ignored.
; Comments may be added similar to an assembly language
; comment, by using the semicolon (;) followed by your comment.
; The comment extends to the end of the line.