Toshiba MK4006GAH Computer Drive User Manual


 
Toshiba Corporation Digital Media Network Company
Page 91 of 153
© 2003, Copyright TOSHIBA Corporation All Rights Reserved
11.8.31 SET MAX (F9h)
Individual SET MAX commands are identified by the value placed in the Features register. Table 11.8-6 shows
these Features register values. But regardless of Feature register value, the case this command is immediately
proceded by a Read Native Max ADRESS comamnd, it is interpreted as a Set Max ADDRESS command.
Table 11.8-6 SET MAX Features register values
Value Command
00h Obsolete
01h SET MAX SET PASSWORD
02h SET MAX LOCK
03h SET MAX UNLOCK
04h SET MAX FREEZE LOCK
05h-FFh Reserved
11.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 00
H
/ 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, 100-103 of IDENTIFY DEVICE command.
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 power-up or hardware reset, “ID Not Found
error” will be reported.
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 power-up or
hardware reset.
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 power-on and the maximam value shall be the last value with a volatile bit set to 1.