5.4 Command Protocol
5.4.3 PIO data-out command protocol
Execution of the following commands involves data transfers from the host system
to the device:
• WRITE SECTOR (S) (EXT)
• SMART WRITE LOG SECTOR
• SECURITY SET PASSWORD
• SET MAX UNLOCK
• DOWNLOAD MICROCODE
Data of one or more sectors is transferred from the host to the device.
1) The device receives a PIO data-out command with the RegHD FIS.
• WRITE MULTI (EXT) (FUA EXT)
• WRITE BUFFER
• WRITE VERIFY
• SECURITY DISABLE PASSWORD
• SECURITY ERASE UNIT
• SECURITY UNLOCK
• SET MAX SET PASSWORD
• WRITE LOG EXT
• DEVICE CONFIGRATION SET
An outline of this protocol is as follows:
2) If an error remaining in the device prevents command execution, the device
sends the RegDH FIS with 1 set in the I bit.
3) When the device is ready to receive data, it sets 0 in the BSY bit and 1 in the
DRQ bit of the Status field of the PIO Setup FIS. At this time, the device sets
0 in the I bit of the Status field of the PIO Setup FIS for a data transfer to the
first sector, while it sets 1 in the I bit for a data transfer to any sector other
than the first sector. Then, it sends this FIS to the host. In the E_Status field,
the device sets 1 in the BSY bit and 0 in the DRQ bit.
C141-E269 5-179