10.8.31 SET MAX (F9h)
Individual SET MAX commands are identified by the value placed in the Features register. Table
|
|
|
|
|
| Table | |||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Value |
|
|
| Command | |
|
|
|
|
|
| 00h |
|
|
| Obsolete | |
|
|
|
|
|
| 01h |
| SET MAX SET PASSWORD | |||
|
|
|
|
|
| 02h |
|
|
| SET MAX LOCK | |
|
|
|
|
|
| 03h |
|
|
| SET MAX UNLOCK | |
|
|
|
|
|
| 04h |
|
| SET MAX FREEZE LOCK | ||
|
|
|
|
|
|
|
|
| Reserved | ||
10.8.31.1 | Set Max Address |
|
|
|
| ||||||
|
|
|
|
|
|
|
| ||||
| COMMAND CODE |
| 1 1 1 1 1 0 0 1 |
| REGISTER |
| |||||
|
|
| REGISTER SETTING |
|
| NORMAL COMPLETION |
| ||||
| DR |
|
|
| DRIVE No. |
|
| no change |
| ||
| CY |
| Max. cylinder number |
|
| no change |
| ||||
| HD |
| Max. head number |
|
| no change |
| ||||
| SN |
| Max. sector number |
|
| no change |
| ||||
| SC |
| 00H / 01 H | (BITO: reserved bit) |
|
| no change |
| |||
| FT |
|
|
|
|
|
|
|
| no change |
|
| LBA |
|
|
| Max. LBA |
|
| no change |
|
This command specifies the the maximum address in a range of actual drive capacity. The values set in CY, HD, SN registers indicate the maximum address that can be accessed. In CHS mode, the value of Read Native Max Address command should be set in HD, SN register. Otherwise, the value shall be ignored and the value of Read Max Address command will be used. If an LBA bit (DRV / HD register bit 6) is set, the value in LBA mode shall be set. If the address exceeding the set value is accessed , “ ABORT ERROR “ error will be reported. This set value affects the values of WORD 1, 54, 57, 58, 60, 61,
This command shall be immediately preceded by Read Native Max Address command. Otherwise, it will be terminated with “ ABORT ERROR ” .
If this command is issued twice with a volatile bit set to 1 after
If a host protected area has been established by a SET MAX ADDRESS EXT command, this command will be terminated with “ ABORT ERROR ” .
Volatile bit ( SC register bit 0 ) :
If this command is issued with a volatile bit set to 1, the set value of this command is valid after
If this command is issued with a volatile bit cleared to 0, the set value of this command shall be cleared after hard reset or
Toshiba Corporation Digital Media Network Company
Page 93 of 157
© 2005, Copyright TOSHIBA Corporation All Rights Reserved