2 read configuration, Table 6-7 accessing the read configuration command, Table 6-7 – Maxtor D540X-4K User Manual

Page 74: Accessing the read configuration command -11

Advertising
background image

ATA Bus Interface and ATA Commands

6-12

Maxtor D540X-4K 20.4/40.0/60.0/80.0 GB AT

 4'#& %10(+)74#6+10

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.

6CDNG  

Accessing the READ CONFIGURATION Command

0QVG 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.

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.

#&&4'55

8#.7'

&'(+0+6+10

Sector Count

01h

Read Configuration Subcode

Sector Number FFh

Password

Cylinder Low

FFh

Password

Cylinder High

3Fh

Password

Device/Head

AXh
(Drive 0)

Drive Select

BXh
(Drive 1)

Drive Select

Command

F0h

Extended Command Code

Advertising