5.3 Host Commands
•SMART error logging
If the device detects an unrecoverable error during execution of a command received from the host, the device registers the error information in the SMART Summary Error Log (see Table 5.18) and the SMART Comprehensive Error Log (see Table 5.19), and saves the information on media.
The host issues the SMART Read Log Sector
The host issues the SMART Read Log Sector
Table 5.18 Data format of SMART Summary Error Log (1/2)
Byte(hex) |
|
| Item | |
|
|
|
|
|
00 | Version of this function |
|
| |
|
|
|
| |
01 | Pointer for the latest "Error Log Data Structure" | |||
|
|
|
| |
02 to 0D |
| Forth last command data structure | ||
|
|
|
| |
0E to 19 |
| Third last command data structure | ||
|
|
|
| |
1A to 25 |
| Second last command data structure | ||
|
|
|
| |
26 to 31 |
| Last command data structure | ||
|
|
|
|
|
32 |
|
|
| Device Control field value |
|
|
|
|
|
33 |
|
|
| Features field value |
| Error log data |
|
|
|
34 |
|
| Sector Count field value | |
| structure |
|
|
|
35 |
|
| Sector Number field value | |
|
|
| ||
|
| Command data |
|
|
36 |
|
| Cylinder Low field value | |
|
| structure |
|
|
37 |
|
| Cylinder High field value | |
|
|
| ||
|
|
|
|
|
38 |
|
|
| Drive/Head field value |
|
|
|
|
|
39 |
|
|
| Command field value |
|
|
|
|
|
3A to 3D |
|
|
| Elapsed time after the |
|
|
| sequence (unit: ms) | |
|
|
|
| |
|
|
|
|
|