5.4 Command Protocol
5.4.5 DMAThe DMA
•WRITE DMA (EXT) (FUA EXT)
•WRITE LOG DMA EXT
The DMA mechanism transfers data of more than one block from the host to the device. The completion of the command is reported by an interruption.
An outline of this protocol is as follows:
1)The device receives the DMA
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 sends the DMA Active FIS to the host.
4)The device receives the Data FIS from the host.
5)When all data has been transferred, the device sends the RegDH FIS (with 1 set in the I bit) to complete execution of the command. If any data remains to be received by the device, this protocol is repeated starting from step 3). (The maximum data size is 8 KB.)
|
|
|
|
|
|
| RegHD |
|
|
|
|
|
|
|
|
|
|
| |
Host |
| DMA Active |
| Device |
|
|
| ||
|
|
|
| |
|
| DATA |
|
|
|
|
|
|
|
|
|
|
| |
|
| RegDH |
|
|
|
|
|
|
|
|
|
|
|
|
Figure 5.17 DMA