Maxtor D740X-6L 20.0 AT Product Manual page 78

Hard disk drives
Table of Contents

Advertisement

ATA Bus Interface and ATA Commands
        4 ' # & % 1 0 ( + ) 7 4 # 6 + 1 0
The READ CONFIGURATION command displays the configuration of the drive.
Like the SET CONFIGURATION command, this command is secured to prevent
accidentally accessing it. To access the READ CONFIGURATION command, you
must write the pattern shown in Table 6-7 to the Command Block Registers. The first
byte, 01h, is a subcode to the extended command code, F0h.
6 C D N G  
# & & 4 ' 5 5
Sector Count
Sector Number FFh
Cylinder Low
Cylinder High
Device/Head
Command
0 Q V G 
A 512-byte data field is associated with the READ CONFIGURATION command.
A 512-byte read sequence sends this data from the drive to the host. The information
in this data field represents the current settings of the configuration parameters. The
format of the READ CONFIGURATION command data field is similar to that for
the data field of the SET CONFIGURATION command, shown in Table 6-8.
However, in the READ CONFIGURATION command, bytes 0 through 31 of the
data field are not KEY information, as they are in the SET CONFIGURATION
command. The drive reads these bytes as Maxtor CONFIGURATION, followed by
eleven spaces. Users can read the configuration into a buffer, then alter the
configuration parameter settings.
6-12 Maxtor D740X-6L 20.0/40.0/60.0/80.0GB AT
Accessing the READ CONFIGURATION Command
8 # . 7 '
01h
FFh
3Fh
AXh
(Drive 0)
BXh
(Drive 1)
F0h
In Table 6-7:
Only the value in address 1F2h of the Command Block Registers
is different from the SET CONFIGURATION command.
Registers 1F2h through 1F5h must contain the exact values
shown in Table 6-7. These values function as a key. The drive
responds by setting the ABRT bit in the Error register if the key
is not entered correctly.
To select the drive for which the configuration is to be read, set
register 1F6h. For execution of the command to begin, load
register 1F7h with F0h.
& ' ( + 0 + 6 + 1 0
Read Configuration Subcode
Password
Password
Password
Drive Select
Drive Select
Extended Command Code

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents