Interface
5-34
C141-E262
(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 fields to the
address specified in the Sector Count field. 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 field. For the protocols
related to data transfer, see Subsection 5.4.3.
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 shadow block registers
contain the cylinder, head, and sector addresses of the last sector written.
If an disk error occurs during multiple sector write operation, the write operation
is terminated at the sector where the error occurred. Shadow 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.
•
Error reporting conditions
(1) A specified address exceeds the range where write operations are allowed
(after a transfer of dummy data, ST = 51h, ER = 10h).
(2) The range where write operations are allowed will be exceeded by an address
during a write operation (after a transfer of dummy data, ST = 51h, ER = 10h).
(3) A write fault was detected when the write cache was disabled
(ST = 71h, ER = 10h).
(4) While the write cache is enabled, if the status indicating a completed transfer
(STS = 50h) is returned and a data write operation failed because a write fault
was detected during the data write operation, Abort will be returned for all
subsequent ATA commands (ST = 71h, ER = 04h). This state is cleared the
next time that the device is turned on.
(5) A SATA communication error occurred (ST = 51h, ER = 14h).
(6) An error other than the above errors occurred (ST = 51h, ER = 04h).
Summary of Contents for MHY2040BH
Page 4: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 19: ...Contents C141 E262 xv Glossary GL 1 Acronyms and Abbreviations AB 1 Index IN 1 ...
Page 24: ...This page is intentionally left blank ...
Page 42: ...This page is intentionally left blank ...
Page 46: ...This page is intentionally left blank ...
Page 58: ...This page is intentionally left blank ...
Page 78: ...This page is intentionally left blank ...
Page 266: ...This page is intentionally left blank ...
Page 288: ...This page is intentionally left blank ...
Page 304: ...This page is intentionally left blank ...
Page 308: ...This page is intentionally left blank ...
Page 310: ...This page is intentionally left blank ...
Page 318: ...This page is intentionally left blank ...
Page 320: ......
Page 321: ......
Page 322: ......