5.3 Host Commands
C141-E262 5-131
(32) SECURITY ERASE UNIT (X 'F4')
This command erases all user data. This command also invalidates the user
password and releases the lock function.
The host transfers the 512-byte data shown in Table 5.38 to the device. The device
compares the user password or master password in the transferred data with the user
password or master password already set. The device erases user data, invalidates
the user password, and releases the lock function if the passwords are the same.
Although this command invalidates the user password, the master password is
retained.
To recover the master password, issue the SECURITY SET PASSWORD
command and reset the user password.
• Error reporting conditions
(1) An incorrect password is specified (ST = 51h, ER = 04h).
(2) The Security Erase Prepare command did not complete normally beforehand
(ST = 51h, ER = 04h).
(3) The device is in Security Frozen mode (ST = 51h, ER = 04h).
(4) A SATA communication error occurred (ST = 51h, ER = 14h).
At command issuance (Shadow Block Registers setting contents)
CM 1 1 1 1 0 1 0 0
DH x x x x xx
CH
CL
SN
SC
FR
xx
xx
xx
xx
xx
At command completion (Shadow Block Registers contents to be read)
ST Status information
DH x x x x xx
CH
CL
SN
SC
ER
xx
xx
xx
xx
Error information