Figure 116 Self-Test Log Data Structure; Figure 117 Selective Self-Test Log Data Structure - Hitachi HTS541616J9AT00 - Travelstar 160 GB Hard Drive Specifications

2.5 inch ata/ide hard disk drive
Hide thumbs Also See for HTS541616J9AT00 - Travelstar 160 GB Hard Drive:
Table of Contents

Advertisement

14.39.6 Self-test log data structure
The following defines the 512 bytes that make up the Self-test log sector. All multi-byte fields shown in these data
structures follow the ATA/ATAPI-7 specifications for byte ordering.
Description
Data structure revision
Self-test number
Self-test execution status
Life time power on hours
Self-test failure check point
LBA of first failure
Vendor specific
...
Vendor specific
Self-test log pointer
Reserved
Data structure checksum

Figure 116 Self-test log data structure

The data structure contains the descriptor of Self-test that the device has performed. Each descriptor is 24 bytes long
and the self-test data structure is capable to contain up to 21 descriptors.
After 21 descriptors have been recorded, the oldest descriptor will be overwritten with new descriptor.
Self-test log pointer points the most recent descriptor. When there is no descriptor the value is 0. When there is
descriptor(s) the value is 1 through 21.
14.39.7 Selective self-test log data structure
The Selective self-test log is a log that may be both written and read by the host. This log allows the host to select
the parameters for the self-test and to monitor the progress of the self-test. The following table defines the contents
of the Selective self-test log which is 512 bytes long. All multi-byte fields shown in these data structures follow the
specifications for byte ordering.
Description
Data structure revision
Starting LBA for test span 1
Ending LBA for test span 1
Starting LBA for test span 2
Ending LBA for test span 2
Starting LBA for test span 3
Ending LBA for test span 3
Starting LBA for test span 4
Ending LBA for test span 4
Starting LBA for test span 5
Ending LBA for test span 5
Reserved
Vendor specific
Current LBA under test
Current span under test
Feature flags
Vendor specific
Selective self test pending time
Reserved
Data structure checksum

Figure 117 Selective self-test log data structure

Travelstar 5K160 (PATA) Hard Disk Drive Specification
Note: n is 0 through 20
Bytes
Offset
Read/Write
2
00h
R/W
8
02h
R/W
8
0Ah
R/W
8
12A
R/W
8
1Ah
R/W
8
22h
R/W
8
2Ah
R/W
8
32h
R/W
8
3Ah
R/W
8
42h
R/W
8
4Ah
R/W
256
52h
Reserved
154
152h
Vendor specific
8
1ECh
Read
2
1F4h
Read
2
1F6
R/W
4
1F8h
Vendor specific
2
1FCh
R/W
1
1FEh
Reserved
1
1FFh
R/W
512
163 / 188
Bytes Offset
2
00h
1
n*18h+02h
1
n*18h+03h
2
n*18h+04h
1
n*18h+06h
4
n*18h+07h
15
n*18h+0Bh
2
1FAh
1
1FCh
2
1FDh
1
1FFh
512

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents