Hitachi HUA722050CLA330/1 User Manual

Page of 258
Hitachi hard disk drive specifications   
114 
11.4  Download Microcode (92h) 
 
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
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
 
Data
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
Feature
 
SUBCOMMAND(00-07)
 
 
Error
 
...See Below...
 
Sector Count
 
SECTOR_COUNT(00-07)
 
 
Sector Count
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
Sector Number
 
SECTOR_COUNT(08-15)
 
 
Sector Number
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
Cylinder Low
 
BUFFER_OFFSET(00-07) 
 
Cylinder Low
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
Cylinder High
 
BUFFER_OFFSET(08-15)
 
 
Cylinder High
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
Device/Head
 
-
 
-
 
-
 
D
 
-
 
-
 
-
 
-
 
 
Device/Head
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
Command
 
1
 
0
 
0
 
1
 
0
 
0
 
1
 
0
 
 
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
 
0
 
V
 
0
 
0
 
0
 
V
 
0
 
0
 
 
0
 
1
 
0
 
1
 
0
 
0
 
-
 
V
 
Table 75    Download Microcode Command (92h) 
 
Output Parameters To The Device 
Feature 
Subcommand code.   
03h : Download and save microcode with offsets. 
07h : Download and save microcode. 
Other values are reserved. 
Sector Count 
Lower byte of 16-bit sector count value to transfer from the host. 
Sector Number 
Higher byte of 16-bit sector count value to transfer from the host.   
Cylinder 
Buffer offset (only used for Feature = 03h) 
 
This command enables the host to alter the  device's  microcode. The data transferred using the DOWNLOAD 
MICROCODE commands is vendor specific. 
All transfers shall be an  integer multiple of the sector  size.  The size of the data  transfer is determined  by  the 
contents of the Sector Number and Sector Count registers. The Sector Number register is used to extend the 
Sector Count register to create a 16-bit sector count value. The Sector Number register is the most significant 
eight  bits  and  the  Sector  Count  register  is  the  least  significant  eight  bits.  A  value  of  zero  in  both  the  Sector