Hard Lock Protection - Samsung S3F80JB User Manual

8-bit cmos microcontrollers
Table of Contents

Advertisement

EMBEDDED FLASH MEMORY INTERFACE

HARD LOCK PROTECTION

User can set Hard Lock Protection by writing '0110B' in FMCON7-4. This function prevents the changes of data in
a flash memory area. If this function is enabled, the user cannot write or erase the data in a flash memory area.
This protection can be released by the chip erase execution in the tool program mode. In terms of user program
mode, the procedure of setting Hard Lock Protection is following that. In tool mode, the manufacturer of serial tool
writer could support Hardware Protection. Please refer to the manual of serial program writer tool provided by the
manufacturer.
The program procedure in user program mode
1.
Set Flash Memory User Programming Enable Register (FMUSR) to "10100101B".
2.
Set Flash Memory Control Register (FMCON) to "01100001B".
3.
Set Flash Memory User Programming Enable Register (FMUSR) to "00000000B".
PROGRAMMING TIP — Hard Lock Protection
SB1
LD
LD
LD
SB0
15-18
FMUSR,#0A5H
FMCON,#01100001B
FMUSR,#00H
; User program mode enable
; Select Hard Lock Mode and Start protection
; User program mode disable
S3F80JB

Advertisement

Table of Contents
loading

Table of Contents