at45db081d-su-sl955 ATMEL Corporation, at45db081d-su-sl955 Datasheet - Page 16

no-image

at45db081d-su-sl955

Manufacturer Part Number
at45db081d-su-sl955
Description
8-megabit 2.5-volt Or 2.7-volt Dataflash
Manufacturer
ATMEL Corporation
Datasheet
9.1.2
Figure 9-3.
16
CS
SI
AT45DB081D
Program Sector Protection Register Command
Program Sector Protection Register
Each transition
represents 8 bits
Opcode
Byte 1
Once the Sector Protection Register has been erased, it can be reprogrammed using the Pro-
gram Sector Protection Register command.
To program the Sector Protection Register, the CS pin must first be asserted and the appropri-
ate 4-byte opcode sequence must be clocked into the device via the SI pin. The 4-byte opcode
sequence must start with 3DH and be followed by 2AH, 7FH, and FCH. After the last bit of the
opcode sequence has been clocked into the device, the data for the contents of the Sector
Protection Register must be clocked in. As described in
ister contains 16 bytes of data, so 16 bytes must be clocked into the device. The first byte of
data corresponds to sector 0, the second byte corresponds to sector 1, and so on with the last
byte of data corresponding to sector 15.
After the last data byte has been clocked in, the CS pin must be deasserted to initiate the inter-
nally self-timed program cycle. The programming of the Sector Protection Register should take
place in a time of t
the device is powered-down during the program cycle, then the contents of the Sector Protection
Register cannot be guaranteed.
If the proper number of data bytes is not clocked in before the CS pin is deasserted, then the
protection status of the sectors corresponding to the bytes not clocked in can not be guaranteed.
For example, if only the first two bytes are clocked in instead of the complete 16 bytes, then the
protection status of the last 14 sectors cannot be guaranteed. Furthermore, if more than
16 bytes of data is clocked into the device, then the data will wrap back around to the beginning
of the register. For instance, if 17 bytes of data are clocked in, then the 17th byte will be stored at
byte location 0 of the Sector Protection Register.
If a value other than 00H or FFH is clocked into a byte location of the Sector Protection Register,
then the protection status of the sector corresponding to that byte location cannot be guaran-
teed. For example, if a value of 17H is clocked into byte location 2 of the Sector Protection
Register, then the protection status of sector 2 cannot be guaranteed.
The Sector Protection Register can be reprogrammed while the sector protection enabled or dis-
abled. Being able to reprogram the Sector Protection Register with the sector protection enabled
allows the user to temporarily disable the sector protection to an individual sector rather than dis-
abling sector protection completely.
The Program Sector Protection Register command utilizes the internal SRAM buffer 1 for pro-
cessing. Therefore, the contents of the buffer 1 will be altered from its previous state when this
command is issued.
Command
Program Sector Protection Register
Opcode
Byte 2
P
, during which time the Status Register will indicate that the device is busy. If
Opcode
Byte 3
Opcode
Byte 4
Data Byte
Byte 1
n
3DH
Data Byte
n + 1
Section
Byte 2
2AH
9.1, the Sector Protection Reg-
Data Byte
Byte 3
n + 15
7FH
3596I–DFLASH–4/08
Byte 4
FCH

Related parts for at45db081d-su-sl955