Travelstar 5K160 (PATA) Hard Disk Drive Specification
139
/
188
14.30 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
- - - - - -
-
-
LBA
Low
- - - -
-
-
-
- LBA
Low
- - - - - -
-
-
LBA
Mid
- - - -
-
-
-
- LBA
Mid
- - - - - -
-
-
LBA
High
- - - -
-
-
-
- LBA
High
- - - - - -
-
-
Device
- - - D -
-
-
- Device
- - - - - -
-
-
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
AM
N
BSY RDY
DF DSC DRQ
COR IDX
ERR
0 0 0 0 0 V 0 0
0 V 0 - - 0 - V
Figure 92 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 or hard 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 the
following figure.
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 1-15
: Reserved
01-16 Password
(32
bytes)
17-18
Master Password Revision Code
(valid if Word 0 bit 0 = 1)
19-255 Reserved
Figure 93 Security Set Password Information
Identifier
Zero indicates that the device should check the supplied password against the user
password stored internally. One indicates that the device should check the given password
against the master password stored internally.
Security Level
Zero indicates High level, one indicates Maximum level. If the host sets High level and the
password is forgotten, then the Master Password can be used to unlock the device. If the