Текст страницы
Security Erase Unit (F4h)
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
-
-
-
-
-
-
-
-
Error
…See Below…
Sector Count
-
-
-
-
-
-
-
-
Sector Count
-
-
-
-
-
-
-
-
Sector Number
-
-
-
-
-
-
-
-
Sector Number
-
-
-
-
-
-
-
-
Cylinder Low
-
-
-
-
-
-
-
-
Cylinder Low
-
-
-
-
-
-
-
-
Cylinder High
-
-
-
-
-
-
-
-
Cylinder High
-
-
-
-
-
-
-
-
Device/Head
1
-
1
D
-
-
-
-
Device/Head
-
-
-
-
-
-
-
-
Command
1
1
1
1
0
1
0
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
0
0
V
0
V
0
0
0
V
0
V
-
0
-
V
Table 205 Security Erase Unit Command (F4h)
The Security Erase Unit command initializes all user data sectors, and then disables the device lock function.
Note that the Security Erase Unit command initializes from LBA 0 to Native MAX LBA. Host MAX LBA set by
Initialize Drive Parameter, Device Configuration Overlay, or Set MAX Address command is ignored. So the
protected area by Set MAX Address command is also initialized.
This command requests to transfer a single sector data from the host including information specified in Table 205
on the page 251.
When security is disabled and the Identifier bit is set to User, then the device shall return command aborted.
If the password does not match, then the device rejects the command with an Aborted error.
Word
Description
00
Control word
bit 0
: Identifier (1-Mater, 0-User)
bit 1
: Erase mode (1- Enhanced, 0- Normal)
Enhanced mode is not supported
bit 2-15
: Reserved
01-16
Password
(32 bytes)
17-255
Reserved
Table 206 Erase Unit Information
Identifier
Zero indicates that the device should check the supplied password against the user password stored
internally. One indicates that the device should check the given password against the master
password stored internally.
The Security Erase Unit command erases all user data and disables the security mode feature (device lock
function). So after completing this command, all user data will be initialized to zero with write operation. At this time,
it is not verified with read operation whether the sector of data is initialized correctly. Also, the defective sector
information and the reassigned sector information for the device are not updated. The security erase prepare
251
Western Digital Ultrastar DC HC310 SATA Product Manual