Table 208 Security Unlock Command (F2H); Table 209 Security Unlock Information - Western Digital Ultrastar DC HC310 Specifications

3.5 inch serial ata hard disk drive
Table of Contents

Advertisement

11.43 Security Unlock (F2h)
Com m and Block Output Registers
Register
7
6
Data
-
-
Feature
-
-
Sector Count
-
-
Sector Number
-
-
Cylinder Low
-
-
Cylinder High
-
-
Device/Head
1
-
Command
1
1
Error Register
7
6
5
4
CRC
UNC
0
IDN
0
V
0
0

Table 208 Security Unlock Command (F2h)

This command unlocks the password and causes the device to enter device unlock mode. If power on reset or hard
reset is done without executing the Security Disable Password command after this command is completed, the
device will be in device lock mode. The password has not been changed yet.
The Security Unlock command requests to transfer a single sector of data from the host including information
specified in Table 208 on the page 239.
If the Identifier bit is set to master and the file is in high security mode then the password supplied will be compared
with the stored master password. If the file is in maximum security mode then the security unlock will be rejected.
If the Identifier bit is set to user, then the file compares the supplied password with the stored user password.
If the password compare fails, then the device returns an abort error to the host and decrements the unlock attempt
counter. This counter is initially set to 5 and is decremented for each password mismatch.
When security is disabled and the Identifier bit is set to User, then the device shall return command aborted.
When this counter reaches zero then all password protected commands are rejected until a hard reset or a power
off.
Word
Description
00
Control word
bit 0
bit 1-15
01-16
Password
17-255
Reserved

Table 209 Security Unlock Information

Identifier
Zero indicates that device regards Password as User Password. One indicates that device regards
Password as Master Password.
The user can detect if the attempt to unlock the device has failed due to a mismatched password as this is the only
reason that an abort error will be returned by the file AFTER the password information has been sent to the device. If
an abort error is returned by the device BEFORE the password data has been sent to the file then another problem
exists.
5
4
3
2
1
0
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1
D
-
-
-
-
1
1
0
0
1
0
3
2
1
0
0
ABT T0N AMN
0
V
0
0
: Identifier (1-Mater, 0-User)
: Reserved
(32 bytes)
Western Digital Hard Disk Drive OEM Specification
Com m and Block Input Registers
Register
7
6
Data
-
-
Error
Sector Count
-
-
Sector Number
-
-
Cylinder Low
-
-
Cylinder High
-
-
Device/Head
-
-
Status
Status Register
7
6
5
4
BSY
RDY
DF
DSC DRQ COR
0
V
0
-
239
5
4
3
2
1
0
-
-
-
-
-
-
...See Below ...
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
...See Below ...
3
2
1
0
IDX
ERR
-
0
-
V

Advertisement

Table of Contents
loading

Table of Contents