Hitachi HTS541616J9SA00, HTS541640J9SA00, HTS541680J9SA00, HTS541660J9SA00 manual Security Unlock F2h

Models: HTS541640J9SA00 HTS541616J9SA00 HTS541680J9SA00 HTS541612J9SA00 HTS541660J9SA00

1 167
Download 167 pages 31.29 Kb
Page 122
Image 122
14.32Security Unlock (F2h)

Travelstar 5K160 (SATA) Hard Disk Drive Specification

14.32Security Unlock (F2h)

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

 

 

 

 

-

-

 

-

 

-

 

-

 

 

-

 

-

 

 

-

 

 

Device

 

 

 

 

-

-

 

 

-

-

-

-

 

-

 

-

Command

 

 

 

1

1

 

1

 

1

 

0

 

 

0

 

1

 

 

0

 

 

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

 

 

 

BSY

 

RDY

DF

DSC

DRQ

 

 

COR

IDX

 

ERR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

V

0

0

 

0

 

 

 

 

 

V

 

0

 

 

 

 

0

 

 

 

 

0

 

V

0

-

-

 

 

0

 

 

0

 

 

V

 

Figure 71 Security Unlock Command (F2h)

This command unlocks the password and causes the device to enter device unlock mode. If COMRESET with Software Setting Preservation disable or power on 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 “Security Unlock Information” on Page 5.

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 this counter reaches zero then all password protected commands are rejected until a power off.

 

Word

Description

 

00

Control word

 

 

 

bit 0

: Identifier (1-Master, 0-User)

 

 

 

 

 

 

 

 

 

bit 1-15

: Reserved

 

 

 

 

 

 

 

 

01-16

Password

(32 bytes)

17-255

Reserved

 

Figure 72 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.

122/167

Page 122
Image 122
Hitachi HTS541616J9SA00, HTS541640J9SA00, HTS541680J9SA00, HTS541660J9SA00, HTS541612J9SA00 manual Security Unlock F2h