11.11 Initialize Device Parameters (91h)
Command Block Output
Register
Data
Feature
Sector Count
Sector Number
Cylinder Low
Cylinder High
Device/Head
Command
Error Register
7
6
5
CRC
UNC
0
0
0
0
Figure 109. Initialize Device Parameters Command (91h)
The Initialize Device Parameters command enables the host to set the number of sectors per track and
the number of heads minus 1 per cylinder. Words 54-58 in Identify Device Information reflect these
parameters.
The parameters remain in effect until the following events occur:
Another Initialize Device Parameters command is received.
The device is powered off.
Soft reset/Hard reset has occurred and the Set Feature option of CCh is set instead of 66h.
Output parameters to the device
Sector Count
The number of sectors per track. Zero means that there are no sectors per track rather
than 256 sectors per track.
The number of heads minus 1 per cylinder. The minimum is 0 and the maximum is 15.
H
The following condition needs to be satisfied to avoid invalid number of cylinders beyond FFFFh:
(Total number of user addressable (sectors)/((Sector Count) x (H+1)) = <FFFFh
The total number of user addressable sectors is described in Identify Device command.
Registers
7 6 5 4 3 2 1 0
- - - - - - - -
- - - - - - - -
V V V V V V V V
- - - - - - - -
- - - - - - - -
- - - - - - - -
1 - 1 D H H H H
1 0 0 1 0 0 0 1
4
3
2
1
IDN
0
ABT
T0N
0
0
V
0
Deskstar 180GXP hard disk drive specifications
Command Block Input
Register
Data
Error
Sector Count
Sector Number
Cylinder Low
Cylinder High
Device/Head
Status
Status Register
0
7
6
AMN
BSY
RDY
DF
0
0
V
129
Registers
7 6 5 4 3 2 1 0
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
- - - - - - - -
see below
5
4
3
2
1
DSC
DRQ
COR
IDX
0
–
–
0
–
0
ERR
V