5.3 Host Commands
C141-E217
5-23
(3) WRITE SECTOR(S) (X’30’ or X’31’)
This command writes data of sectors from the address specified in the
Device/Head, Cylinder High, Cylinder Low, and Sector Number registers to the
address specified in the Sector Count register. Number of sectors can be specified
from 1 to 256 sectors. A sector count of 0 requests 256 sectors. Data transfer
begins at the sector specified in the Sector Number register. For the DRQ,
INTRQ, and BSY protocols related to data transfer, see Subsection 5.4.2.
If the head is not on the track specified by the host, the device performs an
implied seek. After the head reaches to the specified track, the device writes the
target sector.
If an error occurs when writing to the target sector, retries are attempted
irrespectively of the R bit setting.
The data stored in the buffer, and CRC code and ECC bytes are written to the data
field of the corresponding sector(s). Upon the completion of the command
execution, the command block registers contain the cylinder, head, and sector
addresses of the last sector written.
If an error occurs during multiple sector write operation, the write operation is
terminated at the sector where the error occurred. Command block registers
contain the cylinder, the head, the sector addresses (in the CHS mode) or the
logical block address (in the LBA mode) of the sector where the error occurred.
At command issuance (I/O registers setting contents)
1F7
H
(CM) 0 0 1 1 0 0 0 R
1F6
H
(DH)
x
L
x
DV
Start head No. / LBA [MSB]
1F5
H
(CH)
1F4
H
(CL)
1F3
H
(SN)
1F2
H
(SC)
1F1
H
(FR)
Start cylinder No. [MSB] / LBA
Start cylinder No. [LSB] / LBA
Start sector No. / LBA [LSB]
Transfer sector count
xx
Summary of Contents for MHV2040AH - Mobile - Hard Drive
Page 1: ...C141 E217 01EN MHV2100AH MHV2080AH MHV2060AH MHV2040AH DISK DRIVE PRODUCT MANUAL ...
Page 4: ...This page is intentionally left blank ...
Page 8: ...This page is intentionally left blank ...
Page 10: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 24: ...This page is intentionally left blank ...
Page 38: ...This page is intentionally left blank ...
Page 76: ...This page is intentionally left blank ...
Page 262: ...This page is intentionally left blank ...
Page 266: ...This page is intentionally left blank ...
Page 268: ...This page is intentionally left blank ...
Page 274: ...This page is intentionally left blank ...
Page 276: ...This page is intentionally left blank ...
Page 278: ...This page is intentionally left blank ...
Page 279: ......
Page 280: ......