Samsung 3.5" hard disk drives Computer Hardware User Manual


 
DISK DRIVE OPERATION
SpinPoint V40 Product Manual
68
6.4.20 Set Max Address (F9h)
Host Protected Area feature set.
Inputs
Register 7 6 5 4 3 2 1 0
Features Na
Sector Count Na VV
Sector Number Native max address sector number or SET MAX LBA
Cylinder Low SET MAX cylinder low or LBA
Cylinder High SET MAX cylinder high or LBA
Device/Head obs LBA obs DEV
Native max address head number or
SET MAX LBA
Command F9h
Sector Count –
VV (Value volatile). If bit 0 is set to one, the device shall preserve the maximum values over power-
up or hardware reset. If bit 0 is cleared to zero, the device shall revert to the most recent non-volatile
maximum address value setting over power-up or hardware reset.
Sector Number –
Contains the native max address sector number (IDENTIFY DEVICE word 6) or LBA bits (7:0)
value to be set.
Cylinder Low –
Contains the maximum cylinder low or LBA bits (15:8) value to be set.
Cylinder High –
Contains the maximum cylinder high or LBA bits (23:16) value to be set.
Device/Head –
If LBA is set to one, the maximum address value is an LBA value.
If LBA is cleared to zero, the maximum address value is a CHS value.
DEV shall indicate the selected device.
Bits (3:0) contain the native max address head number (IDENTIFY DEVICE word 3 minus one) or
LBA bits (27:24) value to be set.
Normal outputs
Register 7 6 5 4 3 2 1 0
Error Na
Sector Count Na
Sector Number Native max address sector number or LBA
Cylinder Low Native max address cylinder low or LBA
Cylinder High Native max address cylinder high or LBA
Device/Head obs LBA obs LBA Native max address head or LBA
Status BSY DRDY DF na DRQ na na ERR
Sector Number –
Maximum native sector number or LBA bits (7:0) set on the device.
Cylinder Low –
Maximum cylinder number low or LBA bits (15:8) set on the device.
Cylinder High –
Maximum cylinder number high or LBA bits (23:16) set on device.
Device/Head –
DEV shall indicate the selected device.
maximum native head number or LBA bits (27:24) set on the device.
Status register –
BSY shall be cleared to zero indicating command completion.