Device Configuration Restore (Subcommand C0H) - Western Digital Ultrastar DC HC310 Specifications

3.5 inch serial ata hard disk drive
Table of Contents

Advertisement

11.3.1

Device Configuration Restore (Subcommand C0h)

The Device Configuration Restore command disables any setting previously made by a Device Configuration Set
command and returns the content of the Identify Device or Identify Packet Device command response to the original
settings as indicated by the data returned from the execution of a Device Configuration Identify command.
11.3.2
Device Configuration Freeze Lock (Subcommand C1h)
The Device Configuration Freeze Lock command prevents accidental modification of the Device Configuration
Overlay settings. After successful execution of a Device Configuration Freeze Lock command, all Device
Configuration Set, Device Configuration Freeze Lock, Device Configuration Identify, and Device Configuration
Restore commands are aborted by the device. The Device Configuration Freeze Lock condition shall be cleared by a
power-down. The Device Configuration Freeze Lock condition shall not be cleared by hardware or software reset.
11.3.3
Device Configuration Identify (Subcommand C2h)
The Device Configuration Identify command returns a 512 byte data structure via PIO data-in transfer. The content
of this data structure indicates the selectable commands, modes, and feature sets that the device is capable of
supporting. If a Device Configuration Set command has been issued reducing the capabilities, the response to an
Identify Device or Identify Packet Device command will reflect the reduced set of c apabilities, while the Device
Configuration Identify command will reflect the entire set of selectable capabilities.
The format of the Device Configuration Overlay Data structure is shown on next page.
11.3.4
Device Configuration Set (Subcommand C3h)
The Device Configuration Set command allows a device manufacturer or a personal computer system manufacturer
to reduce the set of optional commands, modes, or feature sets supported by a device as indicated by a Device
Configuration Identify command. The Device Configuration Set command transfers an overlay that modifies some of
the bits set in words 63, 82, 83, 84, and 88 of the Identify Device command response. When the bits in these words
are cleared, the device no longer supports the indicated command, mode, or feature set. If a bit is set in the overlay
transmitted by the device that is not set in the overlay received from a Device Configuration Identify command, no
action is taken for that bit.
The format of the overlay transmitted by the device is described in the table on next page. The restrictions on
changing these bits are described in the text following that table. If any of the bit modification restrictions described is
violated or any setting is changed with Device Configuration Set command, the device shall return command aborted.
At that case, error reason code is returned to sector count register, invalid word location is returned to cylinder high
register, and invalid bit location is returned to cylinder low register. The Definition of error information is shown on
page 129.
Error Information Example 1:
After establish a protected area with Set Max address, if a user attempts to change maximum LBA address (Device
Configuration Set or Device Configuration Restore), device shall abort that command and return error reason code
as below.
Cylinder high
:
03h
Cylinder low
:
00h
Sector Number
:
00h
Sector count
:
06h
Error Information Example 2:
When device is enabled the Security feature set, if user attempts to disable that feature, device abort that command
and return error reason code as below.
Cylinder high
:
07h
Cylinder low
:
00h
Sector Number
:
08h
= word 3 is invalid
this register is not assigned in this case
this register is not assigned in this case
= Protected area is now established
= word 7 is invalid
= bit 8-15 are valid
= bit 3 is invalid
Western Digital Hard Disk Drive OEM Specification
127

Advertisement

Table of Contents
loading

Table of Contents