Hitachi hard disk drive specifications
93
9.18.3 SCT Command Set
9.18.3.1 SCT Write Same (action code : 0002h)
Inputs: (Key Sector)
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”.
Repeat Write Pattern (Background Operation)
Repeat Write Sector (Background Operation)
Repeat Write Pattern (Blocking Operation)
Repeat Write Sector (Blocking Operation)
Number of sectors to fill
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
Table 50 SCT Write Same (Inputs)
Outputs: (TF Data)
Command Block Input Registers (Success)
Number of sectors to transfer (LSB) = 01h
Number of sectors to transfer (MSB) = 00h
Table 51 SCT Write Same (Outputs)
The SCT Write Same 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.