5K320 SATA OEM Specification
14.31Security Set Password (F1h)
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 | 0 |
| 0 |
| 1 |
| 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 | 0 | 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 | - | - | 0 | 0 | V |
Table 99 Security Set Password Command (F1h)
The Security Set Password command enables security mode feature (device lock function), and sets the master password or the user password.
The security mode feature (device lock function) is enabled by this command, and the device is not locked immediately. The device is locked after next COMRESET with Software Setting Preservation disabled or power on reset. When the MASTER password is set by this command, the master password is registered internally, but the device is NOT locked after next power on reset.
This command requests a transfer of a single sector of data from the host including the information specified in the following table.
The data transferred controls the function of this command.
Word
00
01
17
Description
Control word
bit 0 | : Identifier |
|
|
bit | : Reserved |
|
|
bit 8 | : Security level (1 |
| |
|
|
bit | : Reserved |
| |
|
|
Password (32 bytes)
Master Password Revision Code
(valid if Word 0 bit 0 = 1)
Reserved
Table 100 Security Set Password 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. |
132