234
Western Digital Hard Disk Drive OEM Specification
11.40 Security Erase Unit (F4h)
Command Block Output Registers
Command Block Input Registers
Table 203 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 203 on
the page 234.
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.
: Identifier (1-Mater, 0-User)
: Erase mode (1- Enhanced, 0- Normal)
Enhanced mode is not supported
Table 204 Erase Unit Information
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