Samsung M9T manual Write Multiple Command C5h, 39h extended, Write Sectors 30h, 34h extended

Page 77

This command is obsolete in the ATA7 specification. The supporting of this command is for backward compatibility purpose. The use of this command is beyond the ATA standard and not recommended by the manufacturer.

This command is similar to the Write Sectors command, except that it writes the data and the ECC bytes directly from the sector buffer; the drive does not generate the ECC bytes itself. Only single sector Write Long operations are supported. The transfer of the ECC bytes shall be 8 bits wide and 4 or device native ECC bytes length.

8.2.41 Write Multiple Command (C5h, 39h: extended)

This command is similar to the Write Sectors command. Interrupts are not presented on each sector but on the transfer of a block which contains the number of sectors defined by Set Multiple.

Command execution is identical to the Write Sectors operation, except that the numbers of sectors defined by the Set Multiple command are transferred without intervening interrupts. DRQ qualification of the transfer is required only at the start of the data block, not on each sector.

The block count of sectors to be transferred without intervening interrupts is programmed by the Set Multiple Mode command, which shall be executed prior to the Read Multiple command.

When the Write Multiple command is issued, the Sector Count register contains the number of sectors (not the number of blocks or the block count) requested.

If the number of requested sectors is not evenly divisible by the block count, as many full blocks as possible are transferred, followed by a final, partial block transfer. The partial block transfer is for n sectors, where

n = Remainder (Sector Count / Block Count)

If the Write Multiple command is attempted before the Set Multiple Mode command has been executed, or when Write Multiple commands are disabled, the Write Multiple operation is rejected with an aborted command error.

Disk errors encountered during execution of Write Multiple commands are posted after the attempted disk write of the block. Interrupts are generated when DRQ is set at the beginning of each block or partial block.

The contents of the Command Block registers, following the transfer of a data block which had a sector in error, are undefined. The host should retry the transfer as individual requests to obtain valid error information.

8.2.42 Write Sector(s) (30h, 34h: extended)

This command writes from 1 to 256 sectors, as specified in the Sector Count register (a sector count of zero requests 256 sectors), beginning at the specified sector. Refer to Section 6.7 for the DRQ, IRQ and BSY protocol on data transfers.

If the drive is not already on the desired track, an implied seek is performed. Once at the desired track, the drive searches for the appropriate ID field.

If retries are disabled and two index pulses have occurred without error-free reading of the requested ID, an ID Not Found error is posted.

If retries are enabled, up to a predefined number of attempts may be made to read the requested ID before posting an error.

Spinpoint M9T Product Manual REV 1.0

72

Image 77
Contents M9T Product Manual Page Table of Contents Iii Read Fpdma Queued 60h Read Log Extended 2Fh Read Long 22h Table of Tables Manual Organization ScopeUser Definition Reference SataIntroduction DescriptionKey Features Hardware Requirements Standards and RegulationsSpecification Summary SpecificationsLogical Configurations Physical SpecificationsPerformance Specifications Power consumption Power consumptionPower Requirements RatedEnvironmental Specifications Environmental SpecificationsLinear Shock 1/2 sine pulse Rotational ShockReliability Specifications Space Requirements InstallationMounting Unpacking InstructionsOrientation Mounting DimensionsSata Connectivity Cable ConnectorsVentilation Computer mainboard or Serial ATA host adapter Management PowerHDD Power, Sata Interface, and Factory Jumper Connector SATA-Bus Interface ConnectorDC Power Connector and SATA-Bus Interface Cable Connections Drive InstallationBase Casting Assembly Head / Disk Assembly HDADC Spindle Motor Assembly Disk Drive OperationExploded Mechanical View Head Stack Assembly Disk Stack AssemblyVoice Coil Motor and Actuator Latch Assemblies Air Filtration SystemDisk Controller Digital Signal Process and Interface ControllerDrive Electronics DDR Buffer Control Block Host Interface Control BlockFrequency Synthesizer Disk Control BlockDisk Ldpc Control Block Read/Write IC Power ManagementTime Base Generator Automatic Gain ControlAnalog to Digital Converter ADC and FIR Analog Anti-Aliasing Low Pass FilterRead Channel Servo SystemRead and Write Operations Read Caching Firmware FeaturesWrite Channel Write Caching Automatic Defect Allocation Defect ManagementSmart 6 APMSata Terminology Sata II InterfaceSpinpoint M9T Product Manual REV Signal Descriptions Physical Interface Signal Summary2 I/O Register Address When read When writtenControl Block Register Descriptions RegistersCommand Block Register Descriptions Device Register Ex F6h Command Register Ex F7hStatus Register Ex F7h Device Activity Signal Sata II Feature SETStaggered Spin-up Disable Control Auto-Activate in DMA Setup FISPhy Event Counters Sata Power Management Software Settings PreservationCommand Code Parameters ATA Command DescriptionsCommand Table Smart Check Power Mode E5h Command DescriptionsDevice Configuration Overlay B1h Download Micro Code 92hDevice Configuration Identify data structure Word Content Diagnostic Codes Execute Device Diagnostics 90hFlush Cache E7h, EAh extended Format Track 50hIdentify Device information Content Description=the fields reported in word 88 are valid EXT =Media Card Pass Through command feature set supported WWN Word Content DescriptionIdle Immediate E1h Automatic Standby Timer PeriodsIdle E3h NOP 00h Initialize Device Parameters 91hRead Buffer E4h Read DMA C8h, 25h extendedRead Long 22h Read Multiple Command C4h, 29h extendedRead Log Extended 2Fh Read Verify Sectors 40h, 41h extended Read Native Max Address F8h, 27h extendedRead Sectors 20h, 24h extended Recalibrate 10h Security Disable Password F6hSecurity Erase Prepare F3h Security Erase Unit F4hSecurity Erase Unit Password Word Content Security Set Password F1hSecurity Set Password data content Security Freeze Lock F5hSeek 7xh Set Features EFhSecurity Unlock F2h 12 Transfer Mode Values 11 Set Features Register Definitions13 Set Max Feature Register Values Set Multiple Mode C6hSet Max Address F9h, 37h extended Sleep E6hSmart disable operations D9h 14 Smart Feature Registers ValuesSmart enable/disable attribute auto-save D2h Smart B0hSmart execute off-line immediate D4h Smart enable operations D8h15 Device Smart Data Structure Smart read data D0hByte 16 Smart Attribute Status Flags Bit Name Description18 Off-line Data Collection Status Values 17 Smart Attribute Data List19 Self-test Execution Status Values Self-test execution status byteSmart write log sector D6h Smart read log sector D5hSmart return status DAh Write Buffer E8h Standby Immediate E0hWrite DMA CAh, 35h extended Write Fpdma Queued 61hWrite Sectors 30h, 34h extended Write Multiple Command C5h, 39h extendedSpinpoint M9T Product Manual REV General Information MaintenanceMaintenance Precautions HDD handling guide -Please handle HDD by side surfaces HDD handling guide Prevent Shocks Service and Repair