Текст страницы
12.43 Security Set Password (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 the
following table.
Table 198 Security Set Password Command (F1h)
Command Input
Field
Description
FEATURE
N/A
COUNT
N/A
LBA
N/A
DEVICE
Bit Description
7 Obsolete
6 N/A
5 Obsolete
4 Transport Dependent
3:0 Reserved
Command
7:0 F1h
The data transferred controls the function of this command.
Table 199 Security Set Password Information
Word
Description
00
Control word
bits 15:9
Reserved
bit 8
Security level (1-Maximum, 0-High)
bits 7:1
Reserved
bit 0
Identifier (1-Master, 0-User)
01-16
Password (32 byte)
17
Master Password Identifier Code (valid if Word 0 bit 0 = 1)
18-255
Reserved
Identifier
Zero indicates that the device regards Password as User Password. One indicates that device
regards Password as Master Password.
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 host
sets Maximum level and the user password is forgotten, only a Security Erase Prepare/Security
Unit command can unlock the device and all data will be lost.
Password
The text of the password – all 32 bytes are always significant.
Master Password
Identifier Code
The revision code field is returned in the IDENTIFY DEVICE Word 92.
The valid identifier codes are 0001h through FFFEh. The device accepts the command with a
value of 0000h or FFFFh in this field but does not change Master Password Identifier code.
272
Hard Disk Drive Specification