HPACommandsState Diagram
1. HPANotSetState Diagram
- HPA is said to be Open or Eliminated when a SET MAX ADDRESS (EXT) is done at NATIVE MAX (EXT)
- To redefine maximum addressSET MAX ADDRESS (EXT) command shall be immediately preceded by a READ NATIVE MAX (EXT) command.If these commands are not immediately preceded by a READ NATIVE MAX (EXT) command, they will be aborted (ABRT).
- To provide optional security extensions SET MAX SET PASSWORD, SET MAX LOCK, SET MAX UNLOCK, SET MAX FREEZE LOCK commands shall not be immediately preceded by a READ NATIVE MAX (EXT) command. If these commands are immediately preceded by a READ NATIVE MAX (EXT) command, they shall be interpreted as a SET MAX ADDRESS (EXT) command.
- Only one SET MAX ADDRESS non-volatile allowed per power cycle
- Volatile state means no non-volatile SET MAX ADDRESS (EXT) command has been issued after a volatile one.
- Non-Volatile 1 state means a non-volatile SET MAX ADDRESS (EXT) command wasissuedafter power cycle.
- Non-Volatile 2 state means no non-volatile SET MAX ADDRESS (EXT) command was issued after power cycle
- Maximum device capacity addressable by 28 bit commands is defined by MAX28 (268,435,455 sectors)
- Maximum number of failed password attempts is defined by MAX_BAD (3 attempts)
2. HPA Set (28) State Diagram
3. HPA Set (48) State Diagram
4. HPA Locked (28) State Diagram
5. HPA Locked (48) State Diagram
HPANotSetState Diagram
H0:No HPA No Password: This state shall be entered when the device is powered on and when any of the following conditions is true:
- New Hard Disk Drive (HDD) without HPA
- Hard Disk Drive without HPA
- Open HPA
- Eliminated HPA
Transition H0:H1—When SET MAX SET PASSWORD command is received, the device shall make a transition to H1:No HPA state.
Transition H0:HS1—When SET MAX ADDRESS command is received in a volatile state (non-volatile bit set to 0), this command shall be executed and the device shall make a transition to the HS1: HPA SET (Volatile) No Password state.
Transition H0:HES1—When SET MAX ADDRESS EXT command is received in a volatile state (non-volatile bit set to 0), this command shall be executed and the device shall make a transition to the HES1: HPA SET (Volatile) No Password state.
Transition H0:HES2—When SET MAX ADDRESS EXT command is received in a non-volatile state (non-volatile bit set to 1), this command shall be executed and the device shall make a transition to the HES2: HPA SET (Non-Volatile 1) No Password state.
Transition H0a:HS2—When SET MAX ADDRESS command is received in a non-volatile state (non-volatile bit set to 1), this command shall be executed and the device shall make a transition to the HS2: HPA SET (Non-Volatile 1) No Password state.
Transition H0a:H0—When SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition H0b:H0—When SET MAX ADDRESS (Native Max) command is received and if the HDD size is less than MAX28, the device shall remain in the same state.
Transition H0b:HS2—When SET MAX ADDRESS (Native Max) command is received and if the HDD size is greater than MAX28, the device shall make a transition to the HS2: HPA LOCKED (Non-Volatile 1) state.
Transition H0c:H0—When the hardware is reset or power cycled, the device shall remain in the same state.
H1:No HPA Password SetWhen SET MAX SET PASSWORD is received in the H0 state, the device transitions to the H1: No HPA Password state.
Transition H1:H0—When the system is power cycled, the device shall make a transition to the H0: No HPA No Password state.
Transition H1:HS4—When SET MAX ADDRESS command is received in a volatile state, the device shall make a transition to the HS4:HPA SET (Volatile) Password Set state.
Transition H1:HES4—When SET MAX ADDRESS EXT command is received in the volatile state, the device shall make a transition to the HES4:HPA Set (Volatile) Password Set state.
Transition H1:HES5—When the SET MAX ADDRESS EXT command is received in the non-volatile state, the device shall make a transition to the HES5:HPA SET (Non-Volatile 1) Password Set state.
Transition H1a:H1—When SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition H1a:HS5—When SET MAX ADDRESS command is received in a non-volatile state, the device shall make a transition to the HS5:HPA SET (Non-Volatile 1) Password Set state.
Transition H1b:H1—When SET MAX ADDRESS (Native Max) command is received and the HDD size is less then MAX 28, the device shall remain in the same state.
Transition H1b:HS5—If the SET MAX ADDRESS (Native Max) command is received and the HDD size is greater than MAX 28, the device shall make a transition to the HS5:HPA SET (Non-Volatile 1) Password Set state.
Transition H1c:H1—When SET MAX PASSWORD command is received, the device shall remain in the same state.
Transition H1d:H1—If the hardware is reset, the device shall remain in the same state.
HPA Set (28) State Diagram
HS1:HPA SET (Volatile) No Password: This state shall be entered when the device receives SET MAX ADDRESS (Volatile) command.
Transition HS1:HS2—When SET MAX ADDRESS command is received in non-volatile state, the device shall make a transition to HS2: HPA SET (Non-Volatile 1) No Password state.
Transition HS1:HS4—When SET MAX SET PASSWORD command is received, the device transitions to the HS4:HPA SET (Volatile) Password Set state.
Transition HS1a:H0—When the hardware is reset or if the system is power cycled, the device shall make a transition to the H0: No HPA No Password state.
Transition HS1b:H0—When SET MAX ADDRESS (Native Max) command is received, the device shall make a transition to H0: No HPA No Password state.
Transition HS1c:HS1—When SET MAX ADDRESS EXT, SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the command and the device will remain in the same state.
HS2:HPA SET (Non-Volatile 1) No Password: This state shall be entered when the device receives SET MAXADDRESS (Non-Volatile) command.
Transition H0:HS2—When SET MAX ADDRESS command is received in the non-volatile state, the device shall make a transition to HS2: HPA SET (Non-Volatile 1) No Password state.
Transition HS2:H0—When SET MAX ADDRESS (Native Max) command is received, the device shall make a transition to H0: No HPA No Password state.
Transition HS2:HS5—When SET MAX PASSWORD command is received, the device shall make a transition to HS5:HPA SET (Non-Volatile 1) Password Set state.
Transition HS2a:HS2—When SET MAX ADDRESS EXT, SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HS2b:HS2—If the hardware is reset, the device shall remain in the same state.
Transition HS2c:HS2—When SET MAX ADDRESS command is received in non-volatile state, the device will abort the commands and the device shall remain in the same state.
Transition HS2d:HS2—When SET MAX ADDRESS command is received in volatile state, the device shall make a transition to HS2: HPA SET (Non-Volatile 1) No Password state.
HS3:HPA SET (Non-Volatile 2) No Password: Device shall enter this state when the device is power cycled from HS2 or HS6 states.
Transition HS3:HS0—When SET MAX ADDRESS (Native Max) command is received, the device will transition to H0: No HPA No Password state.
Transition HS3:H2—When SET MAX ADDRESS command is received in a non-volatile state, the device shall transition to HS2: HPA LOCKED (Non-Volatile 1) state.
Transition HS3:HS6—When SET MAX SET PASSWORD command is received, the device shall make a transition to HS6:HPA SET (Non-Volatile 2) Password Set state.
Transition HS3a:HS3—When SET MAX ADDRESS EXT, SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HS3b:HS3—When the hardware is reset or when the system is power cycled, the device shall transition to HS3: HPA SET (Non-Volatile 2) No Password state.
Transition HS3d:HS3—When SET MAX ADDRESS command is received in a volatile state, the device shall transition to HS3:HPA SET (Non-Volatile 2) No Password state.
HS4: HPA SET (Volatile) Password Set—When SET MAX ADDRESS SET PASSWORD (Volatile) command is received, the device shall enter this state.
Transition H1:HS4—When SET MAX ADDRESS command is received, the device shall transition to HS4: HPA SET (Volatile) Password Set state.
Transition HL1:HS4—When SET MAX UNLOCK command is received, the device shall transition to HS4: HPA SET (Volatile) Password Set state.
Transition HS4:H0—When the system is power cycled, the device shall transition to H0: No HPA No Password state.
Transition HS4:HS5—When SET MAX ADDRESS command is received in non-volatile state, the device shall transition to HS5:HPA SET (Non-Volatile 1) Password Set state.
Transition HS4a:HS1—When the hardware is reset, the device shall transition to HS1: HPA SET (Volatile) No Password state.
Transition HS4a:HS4—When SET MAX ADDRESS EXT, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HS4b:H1—When SET MAX ADDRESS (Native Max) command is received, the device shall transition to H1:No HPA state.
Transition HS4c:HS4—When SET MAX SET PASSWORD command is received, the device shall transition to HS4:HPA SET (Volatile) Password Set state.
Transition HS4d:HS4—When SET MAX ADDRESS command is received in volatile state, the device shall transition to HS4:HPA SET (Volatile) Password Set state.
HS5: HPA SET (Non-Volatile 1) Password Set—When SET MAX ADDRESS SET PASSWORD (Non-Volatile) command is received, the device shall enter this state..
Transition H1:HS5—When SET MAX ADDRESS command is received in non-volatile state, the device shall transition to HS5:HPA SET (non-volatile 1) Password Set state.
Transition HL2:HS5—When SET MAX UNLOCK command is received, the device shall transition to HS5:HPA SET (Non-Volatile 1) Password Set state.
Transition HS5:H1—When SET MAX ADDRESS (Native Max) command is received, the device shall transition to H1:No HPA state.
Transition HS5:HL2—When SET MAX LOCK command is received, the device shall transition to HL2:HPA LOCKED (Non-Volatile 1).
Transition HS5:HS3—When the system is power cycled, the device shall transition to HS3:HPA SET (Non-Volatile 2) No Password state.
Transition HS4dHS4—When SET MAX PASSWORD command is received, the device shall remain in the same state.
Transition HS4e:HS4—When SET MAX ADDRESS command is received in volatile state, the device shall transition to HS4:HPA SET (Volatile) Password Set state.
Transition HS5a:HS5—When SET MAX ADDRESS EXT, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HS5b:H5—When the hardware is reset, the device shall transition to the HS5:HPA SET (Non-Volatile 1) Password Set state.
Transition HS5c:H5—When SET MAX ADDRESS command is received in non-volatile state, the device aborts the command and the device shall remain in the same state.
HS6: HPA SET (Non-Volatile 2) Password Set—When SET MAX UNLOCK command is received in the HL3 state or when SET MAX SET PASSWORD is received in HS3 state, the device enters this state.
Transition HL3:HS6—When SET MAX UNLOCK command is received, the device transitions to HS6:HPA SET (Non-Volatile 2 Password Set state.
Transition HS6:H5—When SET MAX ADDRESS command is received in non-volatile state, the device transitions to HS5:HPASET (Non-Volatile 1) Password Set state.
Transition HS6:H1—When SET MAX ADDRESS (Native Max) command is received, the device shall transition to H1: No HPA state.
Transition HS6:HL3—When SET MAX LOCK command is received, the device shall transition to HL3:HPA LOCKED (non-volatile 2) state.
Transition HS6a:HS6—When SET MAX ADDRESS EXT, SET MAX UNLOCK, or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HS6b:H3—When the system is power cycled, the device shall transition to HS3:HPA SET (Non-Volatile 2) No Password state.
Transition HS6b:HS6—When the hardware is reset, the device shall remain in the same state.
Transition HS6d:HS6—When SET MAX ADDRESS command is received in the volatile state, the device shall remain in the same state.
Transition HS6eHS6—When SET MAX SET PASSWORD command is received, the device shall remain in the same state.
HPA Set (48) State Diagram
HES1:HPA SET (Volatile) No Password: This state shall be entered when the device receives SET MAX ADDRESS EXT (Volatile) command.
Transition HES1:HES2—When SET MAX ADDRESS command is received in non-volatile state, the device shall make a transition to HES2: HPA SET (Non-Volatile 1) No Password state.
Transition HES1:HES4—When SET MAX SET PASSWORD command is received, the device transitions to the HES4:HPA SET (Volatile) Password Set state.
Transition HES1a:H0—When the hardware is reset or if the system is power cycled, the device shall make a transition to the H0: No HPA No Password state.
Transition HES1b:H0—When SET MAX ADDRESS (Native Max) command is received, the device shall make a transition to H0: No HPA No Password state.
Transition HES1c:HES1—When SET MAX ADDRESS EXT, SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the command and the device will remain in the same state.
HS2:HPA SET (Non-Volatile 1) No Password: This state shall be entered when the device receives SET MAXADDRESS EXT (Non-Volatile) command.
Transition HES2:H0—When SET MAX ADDRESS (Native Max) command is received, the device shall make a transition to H0: No HPA No Password state.
Transition HES2:HES5—When SET MAX PASSWORD command is received, the device shall make a transition to HES5:HPA SET (Non-Volatile 1) Password Set state.
Transition HES2a:HES2—When SET MAX ADDRESS EXT, SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HES2b:HES2—If the hardware is reset, the device shall remain in the same state.
Transition HES2c:HES2—When SET MAX ADDRESS command is received in non-volatile state, the device will abort the commands and the device shall remain in the same state.
Transition HES2d:HES2—When SET MAX ADDRESS command is received in volatile state, the device shall remain in the same state.
HES3:HPA SET (Non-Volatile 2) No Password: Device shall enter this state when the device is power cycled from HES2 or HES6 states.
Transition HES3:H0—When SET MAX ADDRESS (Native Max) command is received, the device will transition to H0: No HPA No Password state.
Transition HES3:HES2—When SET MAX ADDRESS EXT (Non-Volatile) command is received in a non-volatile state, the device shall transition to HES2: HPA SET (Non-Volatile 1) state.
Transition HES3:HES6—When SET MAX SET PASSWORD command is received, the device shall make a transition to HES6:HPA SET (Non-Volatile 2) Password Set state.
Transition HES3a:HES3—When SET MAX ADDRESS EXT, SET MAX LOCK, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.
Transition HES3b:HES3—When the hardware is reset or when the system is power cycled, the device shall remain in the same state.
Transition HES3d:HES3—When SET MAX ADDRESS EXT (Volatile) command is received in a volatile state, the device shall remain in the same state.
HES4: HPA SET (Volatile) Password Set—When SET MAX ADDRESS EXT SET PASSWORD (Volatile) command is received, the device shall enter this state.
Transition HES4:H0—When the system is power cycled, the device shall transition to H0: No HPA No Password state.
Transition HES4:HES5—When SET MAX ADDRESS command is received in non-volatile state, the device shall transition to HES5:HPA SET (Non-Volatile 1) Password Set state.
Transition HES4a:H1—When the hardware is reset, the device shall transition to H1: No HPA Password SET state.
Transition HES4a:HES4—When SET MAX ADDRESS EXT, SET MAX UNLOCK or SET MAX FREEZE LOCK command is received, the device will abort the commands and the device shall remain in the same state.