13.38 Write Multiple (C5h)
see belowStatus1 1 0 0 0 1 0 1Command
- - - - H H H HDevice/Head1 L 1 D H H H HDevice/Head
V V V V V V V VCylinder HighV V V V V V V VCylinder High
V V V V V V V VCylinder LowV V V V V V V VCylinder Low
V V V V V V V VSector NumberV V V V V V V VSector Number
V V V V V V V VSector CountV V V V V V V VSector Count
see belowError
- - - - - - - -
Feature
- - - - - - - -
Data
- - - - - - - -
Data
7 6 5 4 3 2 1 0Register7 6 5 4 3 2 1 0Register
Command Block Input RegistersCommand Block Output Registers
V-0-VVV000V0V000
ERRIDXCORDRQDSCDFRDYBSYAMNT0NABT0IDN0UNCCRC
0123456701234567
Status RegisterError Register
Figure 139. Write Multiple command (C5h)
The Write Multiple command transfers one or more sectors from the host to the device. The data is then
written to the disk media.
Command execution is identical to the Write Sectors command except that an interrupt is generated for
each block as defined by the Set Multiple command instead of for each sector. The sectors are transferred
through the Data Register 16 bits at a time.
Output parameters to the device
Sector Count This indicates the number of continuous sectors to be transferred. If the Sector
Count of zero is specified, 256 sectors will be transferred.
Sector NumberThis indicates the sector number of the first sector to be transferred. (L = 0)
In LBA mode this register contains the LBA bits 0–7. (L = 1)
Cylinder High/Low This indicates the cylinder number of the first sector to be transferred. (L = 0)
In LBA mode this register contains the LBA bits 8–15 (Low) and bits
16–23 (High). (L = 1)
H This indicates the head number of the first sector to be transferred. (L = 0)
In LBA mode this register contains the LBA bits 24–27. (L = 1)
Travelstar 60GH & 40GN hard disk drive specifications
189