User Manual

249
Hard Disk Drive Specification
Security Set Password (F1h)
Command Block Output Registers
Command Block Input Registers
Register
7
6
5
4
3
2
1
0
Register
7
6
5
4
3
2
1
0
Data
-
-
-
-
-
-
-
-
Data
-
-
-
-
-
-
-
-
Feature
-
-
-
-
-
-
-
-
Error
…See Below…
Sector Count
-
-
-
-
-
-
-
-
Sector Count
-
-
-
-
-
-
-
-
Sector Number
-
-
-
-
-
-
-
-
Sector Number
-
-
-
-
-
-
-
-
Cylinder Low
-
-
-
-
-
-
-
-
Cylinder Low
-
-
-
-
-
-
-
-
Cylinder High
-
-
-
-
-
-
-
-
Cylinder High
-
-
-
-
-
-
-
-
Device/Head
1
-
1
D
-
-
-
-
Device/Head
-
-
-
-
-
-
-
-
Command
1
1
1
1
0
0
0
1
Status
…See Below…
Error Register
Status Register
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
CRC
UNC
0
IDN
0
ABT
T0N
AMN
BSY
RDY
DF
DSC
DRQ
COR
IDX
ERR
0
0
0
0
0
V
0
0
0
V
0
-
-
0
-
V
Table 207 Security Set Password Command (F1h)
The Security Set Password command enables security mode feature (device lock function), and sets the master
password or the user password.
The security mode feature (device lock function) is enabled by this command, and the device is not locked
immediately. The device is locked after next power on reset. When the MASTER password is set by this command,
the master password is registered internally, but the device is NOT locked after next power on reset or hard reset.
This command requests a transfer of a single sector of data from the host including the information specified in
Table 207 on the page 249.
The data transferred controls the function of this command.
Word
Description
00
Control word
bit 0
: Identifier (1-Mater, 0-User)
bit 1-7
: Reserved
bit 8
: Security level
(1-Maximum, 0-High)
bit 9-15
: Reserved
01-16
Password (32 byte)
17
Master Password Revision Code
(valid if Word 0 bit 0 = 1)
18-255
Reserved
Table 208 Security Set Password Information