5K320 SATA OEM Specification
14.29Security 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
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
CRC | UNC | 0 | IDN | 0 | ABT | T0N | AM |
|
|
|
|
|
|
|
| N |
|
0 | 0 | 0 | V | 0 | V | 0 | 0 |
|
Status Register
7 6 5 4 3 2 1 0 BSY RDY DF DSC DRQ COR IDX ERR
0 | V | 0 | V | - | 0 | 0 | V |
Table 96 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 M ax 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 | |
|
| ||
|
|
|
|
| bit | 1 | Erase mode |
|
|
|
|
| bit | Reserved | |
|
|
| |
Password | (32 bytes) | ||
Reserved |
| ||
|
|
|
|
|
|
|
|
Table 97 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.
129