7K320 (SATA) OEM Specification
Page 127 of 176
14.29
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
- - - - - -
-
-
LBA
Low
- - - - -
-
-
- LBA
Low
- - - - - -
-
-
LBA
Mid
- - - - -
-
-
- LBA
Mid
- - - - - -
-
-
LBA
High
- - - - -
-
-
- LBA
High
- - - - - -
-
-
Device
- - - - -
-
-
- Device
- - - - - -
-
-
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
AM
N
BSY RDY
DF
DSC DRQ
COR IDX
ERR
0 0 0 V 0 V 0 0
0 V 0 V - 0 0 V
Table 97 Security Erase Unit Command (F4h)
The Security Erase Unit command initializes all user data sectors, 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 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 the following table.
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 Erase, 0-Normal Erase)
bit 2-15
Reserved
01-16 Password
(32
bytes)
17-255 Reserved
Table 98 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 command should be
completed immediately prior to the Security Erase Unit command. If the device receives a Security Erase Unit
command without a prior Security Erase Prepare command the device aborts the security erase unit command.