Datasheet
Z5K500 OEM Specifications
61
3. Advanced usage using protected area
The data in the protected area is accessed by following.
Issue Read Native Max Address command to get the real device max LBA/CYL. Returned value
shows that native device Max LBA is 0FFFFFh regardless of the current setting.
Make entire device be accessible including the protected area by setting device Max LBA as
0FFFFFh via Set Max Address command with volatile option. By using this option, unexpected
power removal or reset will not make the protected area remained accessible.
Read information data from protected area.
Issue POR to inhibit any access to the protected area.
12.9.2 Set Max security extension commands
The Set Max Set Password command allows the host to define the password to be used during the
current power on cycle. This password is not related to the password used for the Security Mode Feature
set. When the password is set the device is in the Set Max Unlocked mode.
This command requests a transfer of a single sector of data from the host. The table shown below defines
the content of this sector of information. The password is retained by the device until the next power cycle.
When the device accepts this command the device is in Set Max Unlocked mode.
Word Content
0 Reserved
1-16 Password (32 bytes)
17-255 Reserved
Table 37 Set Max Set Password data content
The Set Max Lock command allows the host to disable the Set Max commands (except Set Max Unlock
and Set Max Freeze Lock) until the next power cycle or the issuance and acceptance of the Set Max
Unlock command. When this command is accepted the device is in the Set Max Locked mode.
The Set Max Unlock command changes the device from the Set Max Locked mode to the Set Max
Unlocked mode.
This command requests a transfer of a single sector of data from the host. The Table shown above
defines the content of this sector of information. The password supplied in the sector of data transferred is
compared with the stored Set Max password. If the password compare fails, then the device returns
command aborted and decrements the unlock counter. On the acceptance of the Set Max Lock command,
this counter is set to a value of five and is decremented for each password mismatch when Set Max
Unlock is issued and the device is locked. When this counter reaches zero, then the Set Max Unlock
command returns command aborted until a power cycle.
The Set Max Freeze Lock command allows the host to disable the SET Max commands (including Set
Max Unlock) until the next power cycle. When this command is accepted the device is in the Set Max
Frozen mode.
The password, the Set Max security mode and the unlock counter don’t persist over a power cycle but
does persist over a COMRESET or software reset.
Note that If this command is immediately preceded by a Read Native Max Address command regardless
of Feature register value, it shall be interpreted as a Set Max Address command.