Текст страницы
Error Log Data Structure
Data format of each error log structure is shown below.
Description
Bytes
Offset
1st error log data structure
12
00h
2nd error log data structure
12
0Ch
3rd error log data structure
12
18h
4th error log data structure
12
24h
5th error log data structure
12
30h
Error data structure
30
3Ch
90
Table 239 Error Log Data Structure
Command data structure: Data format of each command data structure is shown below.
Description
Bytes
Offset
Device Control register
1
00h
Features register
1
01h
Sector count register
1
02h
Sector number register
1
03h
Cylinder Low register
1
04h
Cylinder High register
1
05h
Device/Head register
1
06h
Command register
1
07h
Timestamp (milliseconds from Power On)
4
08h
12
Table 240 Command Data Structure
Error data structure: Data format of error data structure is shown below.
Description
Bytes
Offset
Reserved
1
00h
Error register
1
01h
Sector count register
1
02h
Sector number register
1
03h
Cylinder Low register
1
04h
Cylinder High register
1
05h
Device/Head register
1
06h
Status register
1
07h
Extended error data (vendor specific)
19
08h
State
1
1Bh
Life timestamp (hours)
2
1Ch
30
Table 241 Error Data Structure
292
Western Digital Ultrastar DC HC310 SATA Product Manual