Hitachi HTS541616J9SA00, HTS541640J9SA00, HTS541680J9SA00, HTS541660J9SA00 manual Set Max Address F9h

Models: HTS541640J9SA00 HTS541616J9SA00 HTS541680J9SA00 HTS541612J9SA00 HTS541660J9SA00

1 167
Download 167 pages 31.29 Kb
Page 127
Image 127
14.36Set Max Address (F9h)

Travelstar 5K160 (SATA) Hard Disk Drive Specification

14.36Set Max Address (F9h)

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

 

 

 

 

V

 

 

V

 

 

V

 

 

V

 

 

V

 

V

 

 

V V

 

 

 

Error

 

 

 

 

 

 

 

 

 

 

...See Below...

 

 

 

 

Sector Count

 

 

 

 

-

 

 

-

 

 

 

-

 

 

 

-

 

 

 

-

 

-

 

 

-

 

B

 

 

 

Sector Count

 

 

 

 

-

 

 

-

 

 

 

 

-

 

 

-

 

-

 

-

 

 

-

 

 

-

LBA Low

 

 

 

 

V

V

V

V

V

 

V

 

V

V

 

 

 

LBA Low

 

 

 

 

V

V

V

 

V

 

V

V

 

V

V

LBA Mid

 

 

 

 

V

 

 

V

 

 

V

 

 

V

 

 

V

 

V

 

 

V V

 

 

 

LBA Mid

 

 

 

 

V

V

V V V V

V

V

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

LBA High

 

 

 

 

V

 

 

V

 

 

V

 

 

V

 

 

V

 

V

 

 

V

 

V

 

 

 

LBA High

 

 

 

 

V

 

 

V

 

 

V

 

V

 

V

 

V

 

V

V

Device

 

 

 

 

-

 

 

L

 

-

 

 

 

-

 

 

 

H

 

H

 

 

H

H

 

 

 

Device

 

 

 

 

-

 

 

-

 

 

-

 

-

 

H

H

 

H

 

H

Command

 

 

 

1

1

1

1

1 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

 

 

 

BSY

 

RDY

DF

DSC

DRQ

 

 

COR

 

IDX

 

ERR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

N

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

0

0

0

 

0

 

 

 

 

 

 

V

 

0

 

 

0

 

 

 

0

 

V

0

-

-

 

 

 

 

0

 

 

 

0

 

 

 

V

 

Figure 76 Set Max Address Command (F9h)

The Set Max Address command overwrites the max LBA/CYL of HDD in a range of actual device capacities. The device receives this command, all accesses beyond that LBA/CYL are rejected with setting ABORT bit in status register. Identify device command and Identify device DMA command returns the LBA/CYL which is set via this command as a default value.

This command implement SET Max security extension commands as subcommands. But regardless of Feature register value, the case this command is immediately preceded by a Read Native Max Address command, it is interpreted as a Set Max Address command.

The Read Native Max Address command should be issued and completed immediately prior to issuing Set Max Address command. Otherwise this command is interpreted as a Set Max security extension command which is destinated by feature register. If Set Max security mode is in the Locked or Frozen, the Set Max Address command is aborted.

For more information, see “5.9.2 Set Max security extension commands” on Page 5.

In CHS mode, LBA High, LBA Mid specify the max cylinder number. The Head number of Device and LBA Low are ignored. The default value(See default CHS in Identify device information) is used for that.

In LBA mode, the Head number of Device, LBA High, LBA Mid and LBA Low specify the max LBA. This command sets this LBA as the max LBA of the device.

After a successful command completion, Identify Device response words (61:60) shall reflect the maximum address set with this command.

If the 48-bit Address feature set is supported, the value placed in Identify Device response words (103:100) shall be the same as the value placed in words (61:60). However, if the device contains greater than 268,435,455 sectors, the capacity addressable with 28-bit commands, and the address requested is 268,435,455, the max address shall be changed to the native maximum address, the value placed in words (61:60) shall be 268,435,455 and the value placed in words (103:100) shall be the native maximum address.

If a host protected area has been established by a Set Max Address Ext command, the device shall return command aborted.

Output Parameters To The Device

FeatureDestination code for this command

01h SET MAX SET PASSWORD

127/167

Page 127
Image 127
Hitachi HTS541616J9SA00, HTS541640J9SA00, HTS541680J9SA00, HTS541660J9SA00, HTS541612J9SA00 manual Set Max Address F9h