K6610170
Rev.2
Dec 22, 2004
- 100 -
7.5.37. Set Max Address EXT Command [37h]
Task
File
Register
7 6 5 4 3 2 1 0
Command 37h
Feature Previous
setting
XX
Current
setting
XX
LBA High
Previous setting
Maximum LBA bit 47 - 40
Current
setting
Maximum LBA bit 23 - 16
LBA Mid
Previous setting
Maximum LBA bit 39 - 32
Current
setting
Maximum LBA bit 15 - 8
LBA Low
Previous setting
Maximum LBA bit 31 - 24
Current
setting
Maximum LBA bit 7 - 0
Sector Count
Previous setting
XX
Current
setting
XX
B
Device
X 1 X
DEV
X X X X
The SET MAX ADDRESS EXT command overwrites the maximum 48-bit LBA address of the device in a
range of actual device capacity. Once the device receives this command, all accesses beyond that LBA or
cylinder are rejected. IDENTIFY DEVICE command returns the LBA or Cylinder, which is set via this
command as default.
Bit 0 "B" of Sector Count Register is option bit for selection whether nonvolatile. When B = 1, Maximum LBA
which is set by SET MAX ADDRESS EXT command is preserved over power-on, hardware reset, software
reset. When B = 0, Maximum LBA which is set by SET MAX ADDRESS EXT command will be lost by
power-on or hardware reset. B set to one is not valid when the device is in Address Offset Mode. ABRT is
set if B set to one when the device is in Address Offset mode.
READ NAX ADDRESS EXT command should be issued and completed immediately prior to issuing SET
MAX ADDRESS EXT command. If the device receives SET MAX ADDRESS EXT command without a prior
READ MAX ADDRESS EXT command, the device aborts the SET MAX ADDRESS EXT command. After
successful completion of this command, all accesses beyond that LBA will be rejected with setting ID not
found error. If the device receives a second nonvolatile SET MAX ADDRESS EXT command (B=1) after a
power on or hardware reset, the device reports an ID Not Found error.
If the maximum value to be set exceeds the capacity of the device, or the device is in the Set Max Locked or
Set Max Frozen state, then the device returns command aborted. If a protected area has been established
by a SET MAX ADDRESS command, the device returns command aborted.