IBM IC35L040AVVN07-0 Hard Drive Specifications - Page 110

PIO Data In commands

Page 110 highlights

10.1 PIO Data In commands These commands are ! Device Configuration Identify ! Identify Device ! Read Buffer ! Read Long ! Read Multiple ! Read Sectors ! S.M.A.R.T. Read Attribute Values ! S.M.A.R.T. Read Attribute Thresholds ! S.M.A.R.T. Read Log Sector Execution includes the transfer of one or more 512 byte (>512 bytes on Read Long) sectors of data from the device to the host. 1. The host writes any required parameters to the Features, Sector Count, Sector Number, Cylinder, and Device/Head Registers. 2. The host writes the command code to the Command Register. 3. For each sector of data to be transferred a. The device sets BSY=1 and prepares for data transfer. b. When a sector of data is available for transfer to the host, the device sets BSY=0, sets DRQ=1, and interrupts the host. c. In response to the interrupt the host reads the Status Register. d. The device clears the interrupt in response to the Status Register being read. e. The host reads one sector of data via the Data Register. f. The device sets DRQ=0 after the sector has been transferred to the host. 4. For the Read Long command a. The device sets BSY=1 and prepares for data transfer. b. When the sector of data is available for transfer to the host, the device sets BSY=0, sets DRQ=1, and interrupts the host. c. In response to the interrupt the host reads the Status Register. d. The device clears the interrupt in response to the Status Register being read. e. The host reads the sector of data including ECC bytes via the Data Register. f. The device sets DRQ=0 after the sector has been transferred to the host. The Read Multiple command transfers one block of data for each interrupt. The other commands transfer one sector of data for each interrupt. Note that the status data for a sector of data is available in the Status Register before the sector is transferred to the host. Deskstar 120GXP hard disk drive specifications 96

  • 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
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211

10.1 PIO Data In commands
These commands are
!
Device Configuration Identify
!
Identify Device
!
Read Buffer
!
Read Long
!
Read Multiple
!
Read Sectors
!
S.M.A.R.T. Read Attribute Values
!
S.M.A.R.T. Read Attribute Thresholds
!
S.M.A.R.T. Read Log Sector
Execution includes the transfer of one or more 512 byte (>512 bytes on Read Long) sectors of data from
the device to the host.
1.
The host writes any required parameters to the Features, Sector Count, Sector Number, Cylinder,
and Device/Head Registers.
2.
The host writes the command code to the Command Register.
3.
For each sector of data to be transferred
a.
The device sets BSY=1 and prepares for data transfer.
b.
When a sector of data is available for transfer to the host, the device sets BSY=0, sets DRQ=1,
and interrupts the host.
c.
In response to the interrupt the host reads the Status Register.
d.
The device clears the interrupt in response to the Status Register being read.
e.
The host reads one sector of data via the Data Register.
f.
The device sets DRQ=0 after the sector has been transferred to the host.
4.
For the Read Long command
a.
The device sets BSY=1 and prepares for data transfer.
b.
When the sector of data is available for transfer to the host, the device sets BSY=0, sets DRQ=1,
and interrupts the host.
c.
In response to the interrupt the host reads the Status Register.
d.
The device clears the interrupt in response to the Status Register being read.
e.
The host reads the sector of data including ECC bytes via the Data Register.
f.
The device sets DRQ=0 after the sector has been transferred to the host.
The Read Multiple command transfers one block of data for each interrupt. The other commands transfer
one sector of data for each interrupt.
Note that the status data for a sector of data is available in the Status Register
before
the sector is trans-
ferred to the host.
Deskstar 120GXP hard disk drive specifications
96