Hitachi HTS541680J9SA00 Specifications - Page 103

Phy Event Counter

Page 103 highlights

Travelstar 5K160 (SATA) Hard Disk Drive Specification 6 LBA High 7 Device 8 LBA Low Previous 9 LBA Mid Previous 10 LBA High Previous 11 Reserved 12 13 14 - 255 256 - 510 511 Figure 58 Command Error information Sector Count Sector Count Previous Reserved Vendor Unique Data Structure Checksum The TAG field (Byte 0 bits 4-0) contains the tag number corresponding to a queued command, if the NQ bit is cleared. The NQ field (Byte 0 bit 7) indicates whether the error condition was a result of a non-queued or not. If it is cleared, the error information corresponds to a queued command specified by the tag number indicated in the TAG field. The bytes 1 to 13 correspond to the contents of Shadow Register Block when the error was reported. The Data Structure Checksum (Byte 511) contains the 2's complement of the sum of the first 511 bytes in the data structure. The sum of all 512 bytes of the data structure will be zero when the checksum is correct. 14.16.5 Phy Event Counter Phy Event Counters are a feature to obtain more information about Phy level events that occur on the interface. The counter values are not retained across power cycles. The counter values are preserved across COMRESET and software resets. 14.16.5.1 Counter Reset Mechanisms There are 2 mechanisms by which the host can explicitly cause the Phy counters to be reset. The first mechanism is to issue a BIST Activate FIS to the drive. The second mechanism uses the Read Log Ext command. When the drive receives a Read Log Ext command for log page 11h and bit 0 in Feature register is set to one, the drive returns the current counter values for the command and then resets all Phy event counter values. 14.16.5.2 Counter Identifiers Each counter begins with a 16-bit identifier. The following table defines the counter value for each identifier. For all counter descriptions, "transmitted" refers to items sent by the drive to the host and "received" refers to items received by the drive from the host. Bits 14:12 of the counter identifier convey the number of significant bits that counter uses. All counter values consumes a multiple of 16-bits. The valid values for bit 14:12 and the corresponding counter size are: 1h 16-bit counter 2h 32-bit counter 3h 48-bit counter 4h 64-bit counter 103/167

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167

Travelstar 5K160 (SATA) Hard Disk Drive Specification
103/167
6
LBA High
7
Device
8
LBA Low Previous
9
LBA Mid Previous
10
LBA High Previous
11
Reserved
12
Sector Count
13
Sector Count Previous
14 – 255
Reserved
256 – 510
Vendor Unique
511
Data Structure Checksum
Figure 58 Command Error information
The TAG field (Byte 0 bits 4-0) contains the tag number corresponding to a queued command, if the
NQ bit is cleared.
The NQ field (Byte 0 bit 7) indicates whether the error condition was a result of a non-queued or not.
If it is cleared, the error information corresponds to a queued command specified by the tag number
indicated in the TAG field.
The bytes 1 to 13 correspond to the contents of Shadow Register Block when the error was reported.
The Data Structure Checksum (Byte 511) contains the 2’s complement of the sum of the first 511
bytes in the data structure.
The sum of all 512 bytes of the data structure will be zero when the
checksum is correct.
14.16.5
Phy Event Counter
Phy Event Counters are a feature to obtain more information about Phy level events that occur on
the interface. The counter values are not retained across power cycles. The counter values are
preserved across COMRESET and software resets.
14.16.5.1
Counter Reset Mechanisms
There are 2 mechanisms by which the host can explicitly cause the Phy counters to be reset. The
first mechanism is to issue a BIST Activate FIS to the drive. The second mechanism uses the Read
Log Ext command. When the drive receives a Read Log Ext command for log page 11h and bit 0 in
Feature register is set to one, the drive returns the current counter values for the command and then
resets all Phy event counter values.
14.16.5.2
Counter Identifiers
Each counter begins with a 16-bit identifier.
The following table defines the counter value for each
identifier.
For all counter descriptions, “transmitted” refers to items sent by the drive to the host and “received”
refers to items received by the drive from the host.
Bits 14:12 of the counter identifier convey the number of significant bits that counter uses. All
counter values consumes a multiple of 16-bits. The valid values for bit 14:12 and the corresponding
counter size are:
1h
16-bit counter
2h
32-bit counter
3h
48-bit counter
4h
64-bit counter