5.3 Host Commands
(18) READ MULTIPLE (X 'C4')
The READ MULTIPLE command performs the same tasks as the READ
SECTOR(S) command except that this command sends the PIO Setup FIS before
sending data blocks of multiple sectors. The PIO Setup FIS is sent only before the
first data block is transferred, and it is not sent before any subsequent transfer of
sector blocks.
The number of sectors per block is defined by a successful SET MULTIPLE
MODE Command. The SET MULTIPLE MODE command should be executed
prior to the READ MULTIPLE command.
If the number of requested sectors is not divided evenly (having the same number
of sectors [block count]), as many full blocks as possible are transferred, then a
final partial block is transferred. The number of sectors in the partial block to be
transferred is n where n = remainder of ("number of sectors"/"block count").
If the READ MULTIPLE command is issued when the READ MULTIPLE
command is disabled, the device rejects the READ MULTIPLE command with an
ABORTED COMMAND error.
If an uncorrectable disk read error occurs, the read operation stops at the sector
where the error occurred (even if the read operation has not reached the end of the
block). At this time, the number of sectors that have not been transferred
(including the error sector), and either the cylinder, head, and sector addresses of
the error sector (CHS mode) or the logical block address of the error sector (LBA
mode) are set in the Shadow Block Register.
Figure 5.12 shows an example of the execution of the READ MULTIPLE
command.
•
Block count specified by SET MULTIPLE MODE command = 4 (number of
sectors in a block)
•
READ MULTIPLE command specifies;
Number of requested sectors = 9 (Sector Count register = 9)
C141-E269
5-89
Содержание MHY2040BS
Страница 4: ...This page is intentionally left blank ...
Страница 12: ...This page is intentionally left blank ...
Страница 19: ...Contents Glossary GL 1 Acronyms and Abbreviations AB 1 Index IN 1 C141 E269 xv ...
Страница 24: ...This page is intentionally left blank ...
Страница 42: ...This page is intentionally left blank ...
Страница 46: ...This page is intentionally left blank ...
Страница 58: ...This page is intentionally left blank ...
Страница 78: ...This page is intentionally left blank ...
Страница 256: ...Interface Device Host RegHD PIO Setup DATA Figure 5 14 PIO data in command protocol 5 178 C141 E269 ...
Страница 266: ...This page is intentionally left blank ...
Страница 288: ...This page is intentionally left blank ...
Страница 304: ...This page is intentionally left blank ...
Страница 308: ...This page is intentionally left blank ...
Страница 310: ...This page is intentionally left blank ...
Страница 318: ...This page is intentionally left blank ...
Страница 320: ......
Страница 321: ......
Страница 322: ......