DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

M25PX32 View Datasheet(PDF) - STMicroelectronics

Part Name
Description
Manufacturer
M25PX32
ST-Microelectronics
STMicroelectronics ST-Microelectronics
M25PX32 Datasheet PDF : 63 Pages
First Prev 11 12 13 14 15 16 17 18 19 20 Next Last
Operating features
M25PX32
4.8.2
Specific hardware and software protection
There are two software protected modes, SPM1 and SPM2, that can be combined to protect
the memory array as required. The SPM2 can be locked by hardware with the help of the W
input pin.
SPM1 and SPM2
The first software protected mode (SPM1) is managed by specific Lock Registers
assigned to each 64 Kbyte sector.
The Lock Registers can be read and written using the Read Lock Register (RDLR) and
Write to Lock Register (WRLR) instructions.
In each Lock Register two bits control the protection of each sector: the Write Lock bit
and the Lock Down bit.
– Write Lock bit:
The Write Lock bit determines whether the contents of the sector can be modified
(using the Write, Program or Erase instructions). When the Write Lock bit is set to
‘1’, the sector is write protected – any operations that attempt to change the data
in the sector will fail. When the Write Lock bit is reset to ‘0’, the sector is not write
protected by the Lock Register, and may be modified.
– Lock Down bit:
The Lock Down bit provides a mechanism for protecting software data from simple
hacking and malicious attack. When the Lock Down bit is set, ‘1’, further
modification to the Write Lock and Lock Down bits cannot be performed. A power-
up, is required before changes to these bits can be made. When the Lock Down bit
is reset, ‘0’, the Write Lock and Lock Down bits can be changed.
The definition of the Lock Register bits is given in Table 9: Lock Register out.
Table 2. Software protection truth table (Sectors 0 to 63, 64 Kbyte granularity)
Sector Lock
Register
Lock
Write
Down bit Lock bit
Protection status
0
0
Sector unprotected from Program/Erase/Write operations, protection status
reversible
0
1
Sector protected from Program/Erase/Write operations, protection status
reversible
1
0
Sector unprotected from Program/Erase/Write operations,
Sector protection status cannot be changed except by a Power-up.
1
1
Sector protected from Program/Erase/Write operations,
Sector protection status cannot be changed except by a Power-up.
the second software protected mode (SPM2) uses the Block Protect bits (see
Section 6.4.3: BP2, BP1, BP0 bits) and the Top/Bottom bit (see Section 6.4.4: TB bit) to
allow part of the memory to be configured as read-only.
16/63

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]