Samsung S3F80JB manual Programming TIP Hard Lock Protection, FMCON,#01100001B

Models: S3F80JB

1 346
Download 346 pages 34.13 Kb
Page 297
Image 297

EMBEDDED FLASH MEMORY INTERFACE

S3F80JB

 

 

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

FMUSR,#0A5H

; User program mode enable

LD

FMCON,#01100001B

; Select Hard Lock Mode and Start protection

LD

FMUSR,#00H

; User program mode disable

SB0

 

 

 

 

 

 

15-18

Page 297
Image 297
Samsung S3F80JB manual Programming TIP Hard Lock Protection, FMCON,#01100001B