ATA Long Physical Sector Clarification
Total Page:16
File Type:pdf, Size:1020Kb
e05167r0 Oct 3, 2005 ATA Long Physical Sector Clarification
To: T13 Technical committee From: Joseph Chen Samsung Phone: (408) 544-5766 Email: [email protected] Date: October 3, 2005
Revision History: R0: Initial Created on 10/3/2005
1 Introduction
This proposal is to clarify the ATA Long Physical Sector Feature Set for Non-Packet Device command description. The Table 5 in the section 4.22 of the ATA8-ACS (ATA Command Set) document describes the commands behavior under the Long Logical Sector Function. In this table there are few commands missing:
1. CFA WRITE SECTORS WITHOUT ERASE (OP Code 38h) 2. WRITE DMA FUA EXT (OP Code 3Dh) 3. Write DMA Queued FUA EXT (OP Code 36h) 4. WRITE MULTIPLE FUA EXT (OP Code CEh)
In addition, there are commands list with the “Words Per Sector Transfer” specified incorrectly. These commands are corrected on the following table.
2 Proposal
Proposal A: Make the following changes on the Table 5: e05167r0 Oct 3, 2005 2.1.1 Long Logical Sector Feature Set for Non-Packet Devices The purpose of the long logical sector feature set is to allow additional data words per sector for server applications. Sectors with 520 or 528 bytes are typical. Devices with long logical sectors set IDENTIFY DEVICE data word 106 bit 13 to 1. The Long Logical Sector length is described by IDENTIFY DEVICE data words 117-118. Devices that implement the Long Logical Sector Feature set are not backward compatible with applications that use 256 word logical sectors, e.g. desktop and laptop system. Table 1 - Long Logical Sector Function 11 Command Words Per Sector Transferred CFA ERASE SECTORS - CFA REQUEST EXTENDED ERROR CODE - CFA TRANSLATE SECTOR IDENTIFY DEVICE data words 117-118 CFA WRITE MULTIPLE WITHOUT ERASE IDENTIFY DEVICE data words 117-118 CFA WRITE SECTORS WITHOUT ERASE IDENTIFY DEVICE data words 117-118- CHECK MEDIA CARD TYPE - CHECK POWER MODE - CONFIGURE STREAM - DEVICE CONFIGURATION - DEVICE RESET - DOWNLOAD MICROCODE 256 EXECUTE DEVICE DIAGNOSTIC - FLUSH CACHE - FLUSH CACHE EXT - GET MEDIA STATUS - IDENTIFY DEVICE 256 IDENTIFY PACKET DEVICE - IDLE - IDLE IMMEDIATE - MEDIA EJECT - MEDIA LOCK - MEDIA UNLOCK - NOP - PACKET - READ BUFFER 256 READ DMA IDENTIFY DEVICE data words 117-118 READ DMA EXT IDENTIFY DEVICE data words 117-118 READ DMA QUEUED IDENTIFY DEVICE data words 117-118 READ DMA QUEUED EXT IDENTIFY DEVICE data words 117-118 READ LOG EXT 256 READ MULTIPLE IDENTIFY DEVICE data words 117-118 READ MULTIPLE EXT IDENTIFY DEVICE data words 117-118 READ NATIVE MAX ADDRESS - READ NATIVE MAX ADDRESS EXT - READ SECTOR(S) IDENTIFY DEVICE data words 117-118 READ SECTOR(S) EXT IDENTIFY DEVICE data words 117-118 READ STREAM DMA EXT IDENTIFY DEVICE data words 117-118 READ STREAM EXT IDENTIFY DEVICE data words 117-118 READ VERIFY SECTOR(S) IDENTIFY DEVICE data words 117-118 READ VERIFY SECTOR(S) EXT - SECURITY DISABLE PASSWORD 256 (continued) e05167r0 Oct 3, 2005 Table 1 - Long Logical Sector Function (continued)11 Command Words Per Sector Transferred SECURITY ERASE PREPARE - SECURITY ERASE UNIT 256 SECURITY FREEZE LOCK - SECURITY SET PASSWORD 256 SECURITY UNLOCK 256 SEEK - SERVICE - SET FEATURES - SET MAX SET PASSWORD 256 SET MAX LOCK - SET MAX FREEZE LOCK - SET MAX UNLOCK 256 SET MAX ADDRESS - SET MAX ADDRESS EXT - SET MULTIPLE MODE - SLEEP - SMART DISABLE OPERATIONS - SMART ENABLE/DISABLE AUTOSAVE - SMART ENABLE OPERATIONS - SMART EXECUTE OFF-LINE IMMEDIATE - SMART READ DATA 256 SMART READ LOG 256 SMART RETURN STATUS - SMART WRITE LOG 256 STANDBY - STANDBY IMMEDIATE - WRITE BUFFER 256 WRITE DMA IDENTIFY DEVICE data words 117-118 WRITE DMA EXT IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE DMA FUA EXT IDENTIFY DEVICE data words 117-118 WRITE DMA QUEUED IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE DMA QUEUED EXT IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE DMA QUEUED FUA EXT IDENTIFY DEVICE data words 117-118 WRITE LOG EXT 256 WRITE MULTIPLE IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE MULTIPLE EXT IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE MULTIPLE FUA EXT IDENTIFY DEVICE data words 117-118 WRITE SECTOR(S) IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE SECTOR(S) EXT IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE STREAM DMA EXT IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 WRITE STREAM EXT IDENTIFY DEVICE data words 117- 118IDENTIFY DEVICE data word 117 (concluded) Table 1 describes the command behavior of drives that have been manufactured with long logical sectors. Data transfer commands transfer either the long logical sector length or 256 words depending on the e05167r0 Oct 3, 2005 command. For example, Read and Write Extended commands transfer data in long logical sectors while READ LOG EXT and WRITE LOG EXT commands transfer 256 words per sector, regardless of the logical sector length. Error: Reference source not found example 2 shows a diagram of a device formatted with long logical sectors. e05167r0 Oct 3, 2005
Proposal B:
Refer to SATA-IO to study the requirement of the Long Physical Sector consistency for SATA command OP Code 60h and 61h.
End of Document