Deskstar 7K160 Hard Disk Drive Specification
117
10.22.2.2 LBA Segment Access (action code: 0002h)
The LBA Segment Access command will begin writing sectors from Start LBA in incrementing order until Count
sectors have been written. A Count of zero means apply operation from Start LBA until the last user LBA on the
drive is reached. The HPA feature determines the last user LBA. This command will not write over a hidden partition
when hidden partitions are enabled using the Host Protected Area drive capabilities. Automatic sector reassignment
is permitted during the operation of this function.
If Start LBA or Start LBA + Count go beyond the last user LBA then an error is reported and the SCT command is
not executed. Issuing this command with a value of zero for Start LBA and Count will cause all LBAs of the drive
to be written the specified pattern.
Once the key sector has been issued, if the Function Code was 0002h or 0102h and the TF Data indicates that the
drive is ready to receive data, log page E1h should be written to transfer the data.
This command can change the Segment Initialized Flag. If the command writes all the user addressable sectors and
completes without encountering an error or being aborted, then the "Segment Initialized Flag" (bit 0 of the Status
Word Name
Value
Description
0
Action Code
0002h
This action writes a pattern or sector of data
repeatedly to the media. This capability could also be
referred to as “Write All” or “Write Same”.
0001h
Repeat Write Pattern (Background Operation)
0002h
Repeat Write Sector (Background Operation)
0101h
Repeat Write Pattern (Blocking Operation)
1 Function
Code
0102h
Repeat Write Sector (Blocking Operation)
5:2
Start LBA
QWord
First LBA
9:6
Count
QWord
Number of sectors to fill
11:10
Pattern
DWord
If the Function Code is 0001h, this field contains a
32-bit pattern that is written on the media starting at
the location specified in words two through five
255:12 reserved
0000h
Command Block Input Registers (Success)
Error 00h
Sector Count
Reserved
Sector Number
Reserved
Cylinder Low
Number of sectors to transfer (LSB) = 01h
Cylinder High
Number of sectors to transfer (MSB) = 00h
Device/Head reserved
Status 50h
Summary of Contents for Deskstar 7K160
Page 2: ......
Page 18: ...Deskstar 7K160 Hard Disk Drive Specification 4 ...
Page 20: ...Deskstar 7K160 Hard Disk Drive Specification 6 ...
Page 21: ...Deskstar 7K160 Hard Disk Drive specification 7 Part 1 Functional specification ...
Page 22: ...Deskstar 7K160 Hard Disk Drive Specification 8 ...
Page 24: ...Deskstar 7K160 Hard Disk Drive Specification 10 ...
Page 34: ...Deskstar 7K160 Hard Disk Drive Specification 20 ...
Page 55: ...Deskstar 7K160 Hard Disk Drive Specification 41 Part 2 Interface specification ...
Page 56: ...Deskstar 7K160 Hard Disk Drive Specification 42 ...
Page 78: ...Deskstar 7K160 Hard Disk Drive Specification 64 ...
Page 80: ...Deskstar 7K160 Hard Disk Drive Specification 66 ...
Page 88: ...Deskstar 7K160 Hard Disk Drive Specification 74 ...
Page 140: ...Deskstar 7K160 Hard Disk Drive Specification 126 ...
Page 146: ...Deskstar 7K160 Hard Disk Drive Specification 132 ...
Page 288: ...Deskstar 7K160 Hard Disk Drive Specification 274 ...
Page 297: ...Write Buffer 249 Write cache function 93 Write Continuous bit 102 Write DRQ interval time 30 ...