0% found this document useful (0 votes)
30 views3 pages

March 2, 2009 T13/2015-D Revision 1a Table 7 - Block Size by Command Command Words Transferred Per Block

Uploaded by

zilongliang22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views3 pages

March 2, 2009 T13/2015-D Revision 1a Table 7 - Block Size by Command Command Words Transferred Per Block

Uploaded by

zilongliang22
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

March 2, 2009 T13/2015-D Revision 1a

Table 7 — Block Size By Command (part 2 of 2)


Command Words Transferred per Block
READ FPDMA QUEUED IDENTIFY DEVICE data words (118:117)
READ LOG EXT 256
READ LOG DMA EXT 256
READ MULTIPLE IDENTIFY DEVICE data words (118:117)
READ MULTIPLE EXT IDENTIFY DEVICE data words (118:117)
READ SECTOR(S) IDENTIFY DEVICE data words (118:117)
READ SECTOR(S) EXT IDENTIFY DEVICE data words (118:117)
READ STREAM DMA EXT IDENTIFY DEVICE data words (118:117)
READ STREAM EXT IDENTIFY DEVICE data words (118:117)
READ VERIFY SECTOR(S) IDENTIFY DEVICE data words (118:117)
SECURITY DISABLE PASSWORD 256
SECURITY ERASE UNIT 256
SECURITY SET PASSWORD 256
SECURITY UNLOCK 256
SET MAX SET PASSWORD 256
SET MAX SET PASSWORD DMA 256
SET MAX UNLOCK 256
SET MAX UNLOCK DMA 256
SMART READ DATA 256
SMART READ LOG 256
SMART WRITE LOG 256
TRUSTED RECEIVE 256
TRUSTED RECEIVE DMA 256
TRUSTED SEND 256
TRUSTED SEND DMA 256
WRITE BUFFER 256
WRITE BUFFER DMA 256
WRITE DMA IDENTIFY DEVICE data words (118:117)
WRITE DMA EXT IDENTIFY DEVICE data words (118:117)
WRITE DMA FUA EXT IDENTIFY DEVICE data words (118:117)
WRITE DMA QUEUED IDENTIFY DEVICE data words (118:117)
WRITE DMA QUEUED EXT IDENTIFY DEVICE data words (118:117)
WRITE DMA QUEUED FUA EXT IDENTIFY DEVICE data words (118:117)
WRITE FPDMA QUEUED IDENTIFY DEVICE data words (118:117)
WRITE LOG EXT 256
WRITE LOG DMA EXT 256
WRITE MULTIPLE IDENTIFY DEVICE data words (118:117)
WRITE MULTIPLE EXT IDENTIFY DEVICE data words (118:117)
WRITE MULTIPLE FUA EXT IDENTIFY DEVICE data words (118:117)
WRITE SECTOR(S) IDENTIFY DEVICE data words (118:117)
WRITE SECTOR(S) EXT IDENTIFY DEVICE data words (118:117)
WRITE STREAM DMA EXT IDENTIFY DEVICE data words (118:117)
WRITE STREAM EXT IDENTIFY DEVICE data words (118:117)

Working Draft ATA/ATAPI Command Set - 2 (ACS-2) 43


T13/2015-D Revision 1a March 2, 2009

4.14 Long Physical Sector (LPS) feature set


The Long Physical Sector (LPS) feature set allows a device to indicate that there are multiple logical sectors per
physical sector. See figure 10.
Long Physical Sector Alignment Error Reporting Control (see 7.52.20) and the LPS Mis-alignment log (see A.10)
are optional for devices implementing the LPS feature set.

1) Conventional logical sector example: 512 bytes per LBA


512 Bytes 512 Bytes 512 Bytes 512 Bytes 512 Bytes 512 Bytes 512 Bytes

LBA 0 LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA 6 ...

2) Long logical sector example: 524 bytes per LBA


524 Bytes 524 Bytes 524 Bytes 524 Bytes 524 Bytes 524 Bytes 524 Bytes

LBA 0 LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA 6 ...

3) Long physical sector example: 512 bytes per LBA, 1,024 bytes per physical sector
512 Bytes 512 Bytes 512 Bytes 512 Bytes 512 Bytes 512 Bytes 512 Bytes

LBA 0 LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA 6 ...

Physical Sector 0 Physical Sector 1 Physical Sector 2 ...

4) Long logical and Long physical sector example: 524 bytes per LBA, 1,048 bytes per physical sector
524 Bytes 524 Bytes 524 Bytes 524 Bytes 524 Bytes 524 Bytes 524 Bytes

LBA 0 LBA 1 LBA 2 LBA 3 LBA 4 LBA 5 LBA 6 ...

Physical Sector 0 Physical Sector 1 Physical Sector 2 ...

Figure 10 — LLS and LPS Example

If the device reports a LPS and a smaller logical sector, the device may report the alignment of the first logical
sector (LBA 0) within the first physical sector. Example 1, 2, and 3 give examples of logical/physical sector
alignments.
Example 1:
In Figure 11 there are 2 logical sectors within one physical sector, and the first logical sector is in the first half.
The offset is: 0, and the value in IDENTIFY DEVICE data word 209 is 4000h.
physical sector 0 physical sector 1
logical sector 0 logical sector 1 logical sector 2 logical sector 3

Figure 11 — Alignment 0

Example 2:

44 Working Draft ATA/ATAPI Command Set - 2 (ACS-2)


March 2, 2009 T13/2015-D Revision 1a

In Figure 12 there are 2 logical sectors within one physical sector, and the first logical sector is in the second half.
The offset is: 1, and the value in word 209 is 4001h.
physical sector 0 physical sector 1
(inaccessible) logical sector 0 logical sector 1 logical sector 2

Figure 12 — Alignment 1

Example 3:
In Figure 13 there are 4 logical sectors within one physical sector, and the first logical sector is in the second half.
The offset is: 3, and the value in word 209 is 4003h.
physical sector 0 physical sector 1
(inaccessible) (inaccessible) (inaccessible) logical 0 logical 1 logical 2 logical 3 logical 4
Figure 13 — Alignment 3

4.15 Media Card Pass Through Command feature set


The Media Card Pass Through commands are implemented by a Media Pass Through device. A device
implementing the Media Card Pass Through Command feature set is a bridge to one or more types of media
card storage devices. The bridge device responds to the same command set as described in 4.2 and to the
commands included in this feature set.
The Media Card Pass Through Command feature set uses the command codes D1h, D2h, D3h, and D4h and
bits in IDENTIFY DEVICE data word 84 and IDENTIFY DEVICE data word 87. The command codes D2h
through D4h are reserved for the Media Card Pass Through Command feature set if this feature set is enabled
by the CHECK MEDIA CARD TYPE command. This feature set embeds small-format flash memory card
commands inside the ATA commands. The host adapter’s firmware passes the embedded memory card’s
command to the memory card unmodified from the ATA command. The Media Card Pass Through Command
feature set reduces the number of commands required for this feature set regardless of the number or type of
memory card commands.
The commands unique to the Media Card Pass Through Command feature set are:
a) CHECK MEDIA CARD TYPE
b) Command codes D2h through D4h
The CHECK MEDIA CARD TYPE command returns the supporting status of the device to this feature set. The
CHECK MEDIA CARD TYPE command also enables and disables the device from running the Media Card Pass
Through Command feature set. A device shall disable the Media Card Pass Through Command feature set
during the processing of a power-on reset, a hardware reset, or a software reset.
The definitions of the commands D2h-D4h are media card type dependent. Table 8 lists the Media card types
and their associated reference document.

Table 8 — Media Card type references


Media Card Type Reference Document
SD Card SD Card ATA Command Extension (SDA 3C)

4.16 Native Command Queuing (NCQ) feature set


4.16.1 Overview
The optional NCQ feature set provides support for devices that implement the Serial Transport (see ATA8-AST).
The NCQ feature set allows commands within this feature set to be accepted even though the device has not
reported command completion for one or more previously accepted commands in the NCQ feature set. A device
reports command completion for commands in the NCQ feature set by returning a transport dependent indicator
(see ATA8-AST). The following commands are mandatory for devices implementing the NCQ feature set:
a) READ FPDMA QUEUED

Working Draft ATA/ATAPI Command Set - 2 (ACS-2) 45

You might also like