Hitachi 7K320 Specifications - Page 108

Read Log Ext2Fh

Page 108 highlights

7K320 (SATA) OEM Specification 14.17 Read Log Ext(2Fh) Command Block Output Registers Command Block Input Registers Register 7 6 5 4 3 2 1 0 Register 76543210 Data Low Data Low -------- Data High Data High -------- Feature Current R- Error ...See Below... Previous Sector Count Current V V V V V V V V Sector Count HOB=0 Previous V V V V V V V V HOB=1 LBA Low Current V V V V V V V V LBA Low HOB=0 Previous HOB=1 LBA Mid Current V V V V V V V V LBA Mid HOB=0 Previous V V V V V V V V HOB=1 LBA High Current LBA High HOB=0 Previous HOB=1 Device Device -------- Command 0 0 1 0 1 1 1 1 Status ...See Below... Error Register 7 65432 1 CRC UNC 0 IDN 0 ABT T0N V V0V0V 0 Table 73 Read Log Ext Command (2Fh) 0 AMN 0 Status Register 7 654 3 2 1 0 BSY RDY DF DSC DRQ COR IDX ERR 0 V0V - 0 0 V This command returns the specified log to the host. The device shall interrupt for each DRQ block transferred. Output Parameters To The Device R Phy Event Counter Reset bit. When Log address is 11h (Phy Event Counter) and this bit is set to 1, all Phy Event Counter values are reset to 0 after sending the current counter valules. Sector Count Current The number of sectors to be read from the specified log low order, bits (7:0). The log transferred by the drive shall start at the sector in the specified log at the specified offset, regardless of the sector count requested. Sector Count Previous The number of sectors to be read from the specified log high orders, bits (15:8). LBA Low Current The log to be returned as described in the following table. LBA Mid Current The first sector of the log to be read low order, bits (7:0). LBA Mid Previous The first sector of the log to be read high order, bits (15:8). Log address 00h 03h 07h 10h Content Log directory Extended Comprehensive SMART error log Extended SMART self-test log Command Error 11h Phy Event Counter 80h-9Fh Host vendor specific Table 74 Log address definition Feature set N/A SMART error logging SMART self-test Native Command Queuing Phy Event Counter SMART Type Read Only Read Only Read Only Read Only Read Only Read/Wri te Page 108 of 176

  • 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
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176

7K320 (SATA) OEM Specification
Page 108 of 176
14.17
Read Log Ext(2Fh)
Command Block Output Registers
Command Block Input Registers
Register
7
6
5
4
3
2
1
0 Register
7
6
5
4
3
2
1
0
Data Low
-
-
-
-
-
-
-
-
Data Low
-
-
-
-
-
-
-
-
Data High
-
-
-
-
-
-
-
-
Data High
-
-
-
-
-
-
-
-
Current
-
-
-
-
-
-
-
R- Error
...See Below...
Feature
Previous
-
-
-
-
-
-
-
-
Current
V V V V V
V
V
V
HOB=0
-
-
-
-
-
-
-
-
Sector Count
Previous
V V V V V
V
V
V
Sector Count
HOB=1
-
-
-
-
-
-
-
-
Current
V V V V V
V
V
V
HOB=0
-
-
-
-
-
-
-
-
LBA Low
Previous
-
-
-
-
-
-
-
-
LBA Low
HOB=1
-
-
-
-
-
-
-
-
Current
V V V V V
V
V
V
HOB=0
-
-
-
-
-
-
-
-
LBA Mid
Previous
V V V V V
V
V
V
LBA Mid
HOB=1
-
-
-
-
-
-
-
-
Current
-
-
-
-
-
-
-
-
HOB=0
-
-
-
-
-
-
-
-
LBA High
Previous
-
-
-
-
-
-
-
-
LBA High
HOB=1
-
-
-
-
-
-
-
-
Device
-
-
-
-
-
-
-
-
Device
-
-
-
-
-
-
-
-
Command
0
0
1
0
1
1
1
1 Status
...See Below...
Error Register
Status Register
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
CRC
UNC
0
IDN
0
ABT
T0N
AMN
BSY
RDY
DF
DSC
DRQ COR
IDX
ERR
V
V
0
V
0
V
0
0
0
V
0
V
-
0
0
V
Table 73 Read Log Ext Command (2Fh)
This command returns the specified log to the host. The device shall interrupt for each DRQ block
transferred.
Output Parameters To The Device
R
Phy Event Counter Reset bit.
When Log address is 11h (Phy Event Counter) and this
bit is set to 1, all Phy Event Counter values are reset to 0 after sending the current
counter valules.
Sector Count Current
The number of sectors to be read from the specified log low order, bits (7:0). The log
transferred by the drive shall start at the sector in the specified log at the specified
offset, regardless of the sector count requested.
Sector Count Previous
The number of sectors to be read from the specified log high orders, bits (15:8).
LBA Low Current
The log to be returned as described in the following table.
LBA Mid Current
The first sector of the log to be read low order, bits (7:0).
LBA Mid Previous
The first sector of the log to be read high order, bits (15:8).
Log
address
Content
Feature set
Type
00h
Log directory
N/A
Read Only
03h
Extended Comprehensive SMART
error log
SMART
error
logging
Read Only
07h
Extended SMART self-test log
SMART self-test Read Only
10h
Command Error
Native Command
Queuing
Read Only
11h
Phy Event Counter
Phy Event Counter Read Only
80h-9Fh
Host vendor specific
SMART
Read/Wri
te
Table 74 Log address definition