5.3 Host Commands
(47) WRITE LOG EXT (X '3F')
The WRITE LOG EXTEND command writes versatile log data. Versatile log
data includes the Extended SMART Comprehensive Error log, the Extended
SMART Self-test log, and the SMART Selective log; and each log can be partially
written with this command. The effectiveness of the log types depends on
customization. For the protocol concerning data transfers, see Section 5.4.
The number of a log to be written is specified as the Log address. For log data
consisting of multiple sectors, a sector offset can be specified as an instruction so
that data transfer starts from the specified sector. The number of sectors to be
transferred is specified as the Sector count.
If this command is not supported, or if an invalid value is specified for the Log
address, Sector count, or Sector offset, the Aborted Command error occurs.
•
Error reporting conditions
(1) An error was detected during power-on processing (ST = 51h, ER = 04h).
(2) An error was detected during wake-up processing (in cases where wake-up
processing is required before execution of this command) (ST = 51h, ER =
04h).
(3) A write fault was detected while 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) An invalid log sector address or invalid Sector count (number of sectors to be
transferred) is specified (ST = 51h, ER = 04h).
(6) The failure prediction capability is disabled (ST = 51h, ER = 04h).
(7) A check sum error was detected in the data transferred (ST = 51h, ER = 04h).
(8) A SATA communication error occurred (ST = 51h, ER = 0Ch).
C141-E269
5-159
Summary of Contents for MHY2040BS
Page 4: ...This page is intentionally left blank ...
Page 12: ...This page is intentionally left blank ...
Page 19: ...Contents Glossary GL 1 Acronyms and Abbreviations AB 1 Index IN 1 C141 E269 xv ...
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: ......