Freelance Electronics Components Distributor
Closed Dec 25th-26th
800-300-1968
We Stock Hard to Find Parts

89V54RD

Part # 89V54RD
Description
Category IC
Availability In Stock
Qty 61
Manufacturer Available Qty
SST
  • Shipping Freelance Stock: 9
    Ships Immediately
Request For Quote
SST
Date Code: 0619
  • Shipping Freelance Stock: 5
    Ships Immediately
Request For Quote
SST
  • Shipping Freelance Stock: 20
    Ships Immediately
Request For Quote
Silicon Storage Technology
Date Code: 0619
  • Shipping Freelance Stock: 27
    Ships Immediately
Request For Quote



Technical Document


DISCLAIMER: The information provided herein is solely for informational purposes. Customers must be aware of the suitability of this product for their application, and consider that variable factors such as Manufacturer, Product Category, Date Codes, Pictures and Descriptions may differ from available inventory.

Data Sheet
FlashFlex51 MCU
SST89E52RD2/RD / SST89E54RD2/RD / SST89E58RD2/RD
SST89V52RD2/RD / SST89V54RD2/RD / SST89V58RD2/RD
55
©2006 Silicon Storage Technology, Inc. S71255-05-000 5/06
9.0 SECURITY LOCK
The security lock protects against software piracy and pre-
vents the contents of the flash from being read by unautho-
rized parties. It also protects against code corruption
resulting from accidental erasing and programming to the
internal flash memory. There are two different types of
security locks in the device security lock system: hard lock
and SoftLock.
9.1 Hard Lock
When hard lock is activated, MOVC or IAP instructions exe-
cuted from an unlocked or soft locked program address
space, are disabled from reading code bytes in hard locked
memory blocks (See Table 9-2). Hard lock can either lock
both flash memory blocks or just lock the 8 KByte flash
memory block (Block 1). All external host and IAP com-
mands except for Chip-Erase are ignored for memory
blocks that are hard locked.
9.2 SoftLock
SoftLock allows flash contents to be altered under a secure
environment. This lock option allows the user to update
program code in the soft locked memory block through in-
application programming mode under a predetermined
secure environment. For example, if Block 1 (8K) memory
block is locked (hard locked or soft locked), and Block 0
memory block is soft locked, code residing in Block 1 can
program Block 0. The following IAP mode commands
issued through the command mailbox register, SFCM, exe-
cuted from a Locked (hard locked or soft locked) block, can
be operated on a soft locked block: Block-Erase, Sector-
Erase, Byte-Program and Byte-Verify.
In external host mode, SoftLock behaves the same as a
hard lock.
9.3 Security Lock Status
The three bits that indicate the device security lock
status are located in SFST[7:5]. As shown in Figure 9-
1 and Table 9-1, the three security lock bits control the
lock status of the primary and secondary blocks of
memory. There are four distinct levels of security lock
status. In the first level, none of the security lock bits
are programmed and both blocks are unlocked. In the
second level, although both blocks are now locked and
cannot be programmed, they are available for read
operation via Byte-Verify. In the third level, three differ-
ent options are available: Block 1 hard lock / Block 0
SoftLock, SoftLock on both blocks, and hard lock on
both blocks. Locking both blocks is the same as Level
2, Block 1 except read operation isn’t available. The
fourth level of security is the most secure level. It
doesn’t allow read/program of internal memory or boot
from external memory. For details on how to program
the security lock bits refer to the external host mode
and in-application programming sections.
FIGURE 9-1: Security Lock Levels
Note: P = Programmed (Bit logic state = 0), U = Unprogrammed (Bit logic state = 1), N = Not Locked, L = Hard locked, S = Soft locked
Level 1
Level 2
Level 3
Level 4
UUU/NN
PUU/SS
UPP/LL PPU/LS
UPU/SS
PPP/LL
1255 F29.0
PUP/LL UPP/LL
UUP/LS
56
Data Sheet
FlashFlex51 MCU
SST89E52RD2/RD / SST89E54RD2/RD / SST89E58RD2/RD
SST89V52RD2/RD / SST89V54RD2/RD / SST89V58RD2/RD
©2006 Silicon Storage Technology, Inc. S71255-05-000 5/06
9.4 Read Operation Under Lock Condition
The status of security bits SB1, SB2, and SB3 can be read
when the read command is disabled by security lock.
There are three ways to read the status.
1. External host mode: Read-back = 00H (locked)
2. IAP command: Read-back = previous SFDT data
3. MOVC: Read-back = FFH (blank)
TABLE 9-1: Security Lock Options
Level
Security Lock Bits
1,2
Security Status of:
Security TypeSFST[7:5] SB1 SB2
1
SB3
1
Block 1 Block 0
1 000 U U U Unlock Unlock No Security Features are Enabled.
2 100 P U U SoftLock SoftLock MOVC instructions executed from
external program memory are dis-
abled from fetching code bytes from
internal memory, EA# is sampled and
latched on Reset, and further pro-
gramming of the flash is disabled.
3 011
101
U
P
P
U
P
P
Hard Lock Hard Lock Level 2 plus Verify disabled, both
blocks locked.
010 U P U SoftLock SoftLock Level 2 plus Verify disabled. Code in
Block 1 may program Block 0 and vice
versa.
110
001
P
U
P
U
U
P
Hard Lock SoftLock Level 2 plus Verify disabled. Code in
Block 1 may program Block 0.
4 111 P P P Hard Lock Hard Lock Same as Level 3 hard lock/hard lock,
but MCU will start code execution
from the internal memory regardless
of EA#.
T9-1.0 1255
1. P = Programmed (Bit logic state = 0), U = Unprogrammed (Bit logic state = 1).
2. SFST[7:5] = Security Lock Status Bits (SB1_i, SB2_i, SB3_i)
Data Sheet
FlashFlex51 MCU
SST89E52RD2/RD / SST89E54RD2/RD / SST89E58RD2/RD
SST89V52RD2/RD / SST89V54RD2/RD / SST89V58RD2/RD
57
©2006 Silicon Storage Technology, Inc. S71255-05-000 5/06
TABLE 9-2: Security Lock Access Table
Level SFST[7:5]
Source
Address
1
Target
Address
2
Byte-Verify Allowed MOVC Allowed
External Host
3
IAP 5xRDx
4
111b
(hard lock on both blocks)
Block 0/1
Block 0/1 N N Y
External N/A N/A Y
External
Block 0/1 N N N
External N/A N/A Y
3
011b/101b
(hard lock on both blocks)
Block 0/1
Block 0/1 N N Y
External N/A N/A Y
External
Block 0/1 N N N
External N/A N/A Y
001b/110b
(Block 0 = SoftLock,
Block 1 = hard lock)
Block 0
Block 0 N N Y
Block 1 N N N
External N/A N/A Y
Block 1
Block 0 N Y Y
Block 1 N N Y
External N/A N/A Y
External
Block 0/1 N N N
External N/A N/A Y
010b
(SoftLock on both blocks)
Block 0
Block 0 N N Y
Block 1 N Y Y
External N/A N/A Y
Block 1
Block 0 N Y Y
Block 1 N N Y
External N/A N/A Y
External
Block 0/1 N N N
External N/A N/A Y
2
100b
(SoftLock on both blocks)
Block 0
Block 0 Y N Y
Block 1 Y Y Y
External N/A N/A Y
Block 1
Block 0 Y Y Y
Block 1 Y N Y
External N/A N/A Y
External
Block 0/1 Y N N
External N/A N/A Y
1
000b
(unlock)
Block 0
Block 0 Y N Y
Block 1 Y Y Y
External N/A N/A Y
Block 1
Block 0 Y Y Y
Block 1 Y N Y
External N/A N/A Y
External
Block 0/1 Y Y Y
External N/A N/A Y
T9-2.0 1255
1. Location of MOVC or IAP instruction
2. Target address is the location of the byte being read
3. External host Byte-Verify access does not depend on a source address.
PREVIOUS1213141516171819202122232425NEXT