14.16.2.1
The value of this version shall be 01h.
14.16.2.2
This indicates the error log data structure representing the most recent error. If there have been no
error log entries, it is cleared to 0. Valid values for the error log index are 0 to 4.
14.16.2.3
An error log data structure shall be presented for each of the last four errors reported by the device.
These error log data structure entries are viewed as a circular buffer. The fifth error shall create an
error log structure that replaces the first error log data structure. The next error after that shall
create an error log data structure that replaces the second error log structure, etc.
Unused error log data structures shall be filled with zeros.
Data format of each error log structure is shown below.
Description
1
command data structure
st
2
command data structure
nd
3
command data structure
rd
4
command data structure
th
5
command data structure
th
Error data structure
Figure 53 Extended Error log data structure
Command data structure:
Description
Device Control register
Features register (7:0) (see Note)
Features register (15:8)
Sector count register (7:0)
Sector count register (15:8)
Sector number register (7:0)
Sector number register (15:8)
Cylinder Low register (7:0)
Cylinder Low register (15:8)
Cylinder High register (7:0)
Cylinder High register (15:8)
Device register
Command register
Reserved
Timestamp (milliseconds from Power-on)
Note: bits (7:0) refer to the most recently written contents of the register. Bits (15:8) refer to the
contents of the register prior to the most recent write to the register.
Figure 54 Command data structure
Error data structure:
Description
Reserved
Travelstar 5K160 (SATA) Hard Disk Drive Specification
Error Log version
Error log index
Extended Error log data structure
Data format of each command data structure is shown below.
Data format of error data structure is shown below.
100/167
Bytes Offset
18
00h
18
12h
18
24h
18
36h
18
48h
34
5Ah
124
Bytes Offset
1
00h
1
01h
1
02h
1
03h
1
04h
1
05h
1
06h
1
07h
1
08h
1
09h
1
0Ah
1
0Bh
1
0Ch
1
0Dh
4
0Eh
18
Bytes Offset
1
00h