AT45DB021D ATMEL [ATMEL Corporation], AT45DB021D Datasheet - Page 20
![no-image](/images/no-image-200.jpg)
AT45DB021D
Manufacturer Part Number
AT45DB021D
Description
2-megabit 2.7-volt DataFlash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
1.AT45DB021D.pdf
(52 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AT45DB021D-MH
Manufacturer:
ATMEL
Quantity:
1 650
Part Number:
AT45DB021D-MH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT45DB021D-MH-T
Manufacturer:
EPCOS
Quantity:
34 000
Company:
Part Number:
AT45DB021D-SH
Manufacturer:
ATMEL
Quantity:
320
Part Number:
AT45DB021D-SH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT45DB021D-SH-B
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
AT45DB021D-SH-T
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
AT45DB021D-SSH
Manufacturer:
ATMEL
Quantity:
3 500
Part Number:
AT45DB021D-SSH
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
10.2
10.2.1
Figure 10-3. Program Security Register
20
CS
Security Register
SI
AT45DB021D [Preliminary]
Programming the Security Register
Each transition
represents 8 bits
Opcode
Byte 1
The device contains a specialized Security Register that can be used for purposes such as
unique device serialization or locked key storage. The register is comprised of a total of
128 bytes that is divided into two portions. The first 64 bytes (byte locations 0 through 63) of the
Security Register are allocated as a one-time user programmable space. Once these 64 bytes
have been programmed, they cannot be reprogrammed. The remaining 64 bytes of the register
(byte locations 64 through 127) are factory programmed by Atmel and will contain a unique
value for each device. The factory programmed data is fixed and cannot be changed.
Table 10-3.
The user programmable portion of the Security Register does not need to be erased before it is
programmed.
To program the Security Register, the CS pin must first be asserted and the appropriate 4-byte
opcode sequence must be clocked into the device in the correct order. The 4-byte opcode
sequence must start with 9BH and be followed by 00H, 00H, and 00H. After the last bit of the
opcode sequence has been clocked into the device, the data for the contents of the 64-byte user
programmable portion of the Security Register must be clocked in.
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 Security Register should take place in a
time of t
is powered-down during the program cycle, then the contents of the 64-byte user programmable
portion of the Security Register cannot be guaranteed.
If the full 64 bytes of data is not clocked in before the CS pin is deasserted, then the values of
the byte locations not clocked in cannot be guaranteed. For example, if only the first two bytes
are clocked in instead of the complete 64 bytes, then the remaining 62 bytes of the user pro-
grammable portion of the Security Register cannot be guaranteed. Furthermore, if more than
64 bytes of data is clocked into the device, then the data will wrap back around to the beginning
of the register. For instance, if 65 bytes of data are clocked in, then the 65th byte will be stored at
byte location 0 of the Security Register.
The user programmable portion of the Security Register can only be programmed one
time. Therefore, it is not possible to only program the first two bytes of the register and then pro-
gram the remaining 62 bytes at a later time.
The Program Security Register command utilizes the internal SRAM buffer for processing.
Therefore, the contents of the buffer will be altered from its previous state when this command is
issued.
Data Type
P
Opcode
, during which time the Status Register will indicate that the device is busy. If the device
Byte 2
Security Register
Opcode
Byte 3
0
One-time User Programmable
Opcode
1
Byte 4
• • •
Data Byte
Security Register Byte Number
n
62
Data Byte
63
n + 1
64
Factory Programmed By Atmel
65
Data Byte
n + x
• • •
3638B–DFLASH–02/07
126
127