Toshiba MK6017MAP manual Device/Head Register, DEV HS3 HS2 HS1 HS0

Models: MK6017MAP

1 126
Download 126 pages 58.41 Kb
Page 54
Image 54

360014937

10.7.7.2 SMART commands

This register should be set to C2h for SMART commands

10.7.8 Device/Head Register

- CS0

DA2-DA0 : 6

Read / Write

The value of this register is used to select the drive, Master or Slave, and head. On multiple sector read/write operation that requires to cross track boundaries, the head select bit will be updated to reflect the currently selected head number.

1

L

1

DEV

HS3

HS2

HS1

HS0

Bit 7

Reserved (recommended to set 1)

Bit 6

L (Select LBA mode) L=0: CHS mode. L=1: LBA mode.

Bit 5

Reserved (recommended to set 1)

Bit 4

DEV (Device Select):

 

- (Master/Slave mode) This bit is used to select the drive. DEV= 0 indicates the first fixed disk drive

 

(Master), and DEV= 1 indicates the second (Slave).

 

- (Single mode) should be 0. If this is 1, a drive is not selected but 00h shall be returned to status

 

register.

Bit 3 -

HS3-HS0(Head Select Bits) -- Bits 3 through 0 determine the required read/write head. Bit 0 is the

Bit 0

least-significant bit. If the L bit is equal to one (LBA Mode), the HS3 through HS0 bits contain bits 27

 

through 24 of the LBA.

Copyright ©2000 Toshiba corporation. All rights reserved.

- 554 -

Page 54
Image 54
Toshiba MK6017MAP manual Device/Head Register, DEV HS3 HS2 HS1 HS0