13.38 Write Long (32h/33h)
see belowStatus0 0 1 1 0 0 1 RCommand
- - - - 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
- - - - - - - VSector Count0 0 0 0 0 0 0 1Sector 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 133. Write Long command (32h/33h)
The Write Long command transfers the data and the ECC bytes of the designated one sector from the
host to the device, then the data and the ECC bytes are written to the disk media.
After 512 bytes of data have been transferred, the device will keep setting DRQ = 1 to indicate that the
device is ready to receive the ECC bytes from the host. The data is transferred 16 bits at a time and the
ECC bytes are transferred 8 bits at a time. The number of ECC bytes are either 4 or 40 according to
setting of the Set Feature option. The default number after power on is 4 bytes.
Output Parameters To The Device
Sector Count This indicates the number of continuous sectors to be transferred. The Sector
Count must be set to one.
Sector NumberThis indicates the sector number of the 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 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)
Travelstar 48GH, 30GN & 15GN hard disk drive specifications
191