Technical information

HGST Ultrastar C15K600 Hard Disk Drive Specification
297
18.64
WRITE SAME (32) - (7F/0D)
Table 272 WRITE SAME (32) - (7F/0D)
Byte
Bit
7
6
5
4
3
2
1
0
0
Command Code = 7Fh
1
VU = 0
Reserved = 0
FLAG
LINK
2-5
Reserved = 0
6
Reserved = 0
Group Number = 0
7
Additional CDB Length = 18h
8 - 9
Service Action = 000Dh
10
WRPROTECT Reserved = 0 PBDATA=0 LBDATA=0 Reserved =0
11
Reserved = 0
12 - 19
(MSB)
Logical Block Address
(LSB)
20 - 23
(MSB)
Expected Initial Logical Block Reference Tag
(LSB)
24 - 25
(MSB)
Expected Logical Block Application Tag
(LSB)
26 - 27
(MSB)
Logical Block Application Tag Mask
(LSB)
28 - 31
(MSB)
Number of Blocks
(LSB)
The WRITE SAME command requests that the drive write a single block of data transferred from the initiator to disk
for a number of sequential logical blocks. This command is useful for writing large data areas with the same data,
without sending all of the data over the interface. Each logical block transferred includes user data and may include
protection information, based on the WRPROTECT field and the drive format. Each logical block written includes
user data and, if the drive is formatted with protection information enabled, protection information.
If the drive is formatted with type 2 protection (PROT_EN=1 and P_TYPE=001b in the READ CAPACITY (16)
parameter data), then this command will be processed normally. Any other protection types will result in Check
Condition status to be returned with sense key of Illegal Request and additional sense code of Invalid Command
Operation Code