Travelstar 5K160 (SATA) Hard Disk Drive Specification
154/167
14.48
Write Log Ext (3Fh)
Command Block Output Registers
Command Block Input Registers
Register
7 6 5 4
3
2
1
0 Register
7
6 5 4 3 2 1
0
Data Low
-
-
-
-
-
-
-
- Data Low
-
-
-
-
-
-
-
-
Data High
-
-
-
-
-
-
-
- Data High
-
-
-
-
-
-
-
-
Current
- - - -
-
-
-
- Error
...See
Below...
Feature
Previous
-
-
-
-
-
-
-
-
Current
V V V V V V V V
HOB=0
-
- - - - - -
-
Sector Count
Previous V V V V V V V V
Sector Count
HOB=1
-
- - - - - -
-
Current
V V V V V V V V
HOB=0
-
- - - - - -
-
LBA Low
Previous
- - - -
-
-
-
-
LBA Low
HOB=1
-
- - - - - -
-
Current
V V V V V V V V
HOB=0
-
- - - - - -
-
LBA Mid
Previous V V V V V V V V
LBA Mid
HOB=1
-
- - - - - -
-
Current
-
-
-
-
-
-
-
-
HOB=0
-
-
-
-
-
-
-
-
LBA High
Previous
- - - -
-
-
-
-
LBA High
HOB=1
-
- - - - - -
-
Device
-
-
- -
-
-
-
-
Device
-
- - - - - -
-
Command
0 0 1 1
1
1
1
1 Status
...See
Below...
Error Register
Status Register
7 6 5 4 3 2 1 0
7 6 5 4 3 2 1 0
CRC UNC 0 IDN 0 ABT T0N AMN BSY
RDY DF
DSC
DRQ COR IDX ERR
V V 0 V 0 V 0 0 0 V 0 V - 0 0 V
Figure 103 Write Log Ext Command
This command writes a specified number of 512 byte data sectors to the specific log. The device
shall interrupt for each DRQ block transferred.
Output Parameters To The Device
Sector Count Current
The number of sectors to be written to the specified log low
order, bits (7:0).
Sector Count Previous
The number of sectors to be written to the specified log high
orders, bits (15:8). If the number of sectors is greater than the
number indicated in the Log directory, which is available in Log
number zero, the device shall return command aborted. The log
transferred to the device shall be stored by the device starting at
the first sector in the specified log.
Sector Number Current
The log to be written as described in Figure 51 Log address
definition. If the host attempts to write to a read only log address,
the device shall return command aborted.
Cylinder Low Current
The first sector of the log to be written low order, bits (7:0).
Cylinder Low Previous
The first sector of the log to be written high order, bits (15:8)
If the feature set associated with the log specified in the Sector Number register is not
supported or enabled, or if the values in the Sector Count, Sector Number or Cylinder Low
registers are invalid, the device shall return command aborted. If the host attempts to write
to a read only log address, the device shall return command aborted.