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

Page 237
Image 237
Fujitsu MHY2100BS, MHY2160BS, MHY2200BS, MHY2120BS, MHY2040BS, MHY2080BS, MHY2060BS manual Write LOG EXT X 3F