Samsung M8 manual Write Long 32h, Write Multiple Command C5h, 39h extended

Page 80

8.2.40 Write Long (32h)

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.

Spinpoint M8 Product Manual REV 2.3

74

Image 80
Contents M8 Product Manual Page Table of Contents Servo System Read and Write Operations Read Fpdma Queued 60h Read Log Extended 2Fh Read Long 22h Table of Tables Manual Organization ScopeUser Definition Sata ReferenceDescription IntroductionKey Features Standards and Regulations Hardware RequirementsSpecifications Specification SummarySpecifications Spindle speed RPM RPM ClassPhysical Specifications Logical ConfigurationsPhysical Specifications Physical dimensionsPerformance Specifications Power consumption Power consumptionPower Requirements RatedEnvironmental Specifications Environmental Specifications15.0 Reliability Specifications Installation Space RequirementsUnpacking Instructions MountingMounting Dimensions OrientationClearance Mounting-Screw ClearanceSata Connectivity Cable ConnectorsVentilation Serial ATA Power ManagementHDD Power, Sata Interface, and Factory Jumper Connector Pin Locations on the Drive Pcba Drive Installation DC Power Connector and SATA-Bus Interface Cable ConnectionsHead / Disk Assembly HDA Base Casting AssemblyDC Spindle Motor Assembly Disk Drive OperationCoverAssembly Disk Stack Assembly Head Stack AssemblyVoice Coil Motor and Actuator Latch Assemblies Air Filtration SystemDisk Controller Digital Signal Process and Interface ControllerDrive Electronics DDR Host Interface Control Block Buffer Control BlockFrequency Synthesizer Disk Control BlockDisk Ldpc Control Block Power Management Read/Write ICTime Base Generator Automatic Gain ControlAnalog Anti-Aliasing Low Pass Filter Analog to Digital Converter ADC and FIRRead Channel Servo SystemRead and Write Operations Read Caching Firmware FeaturesWrite Channel Write Caching Defect Management Automatic Defect AllocationMulti-burst ECC Correction SmartSata II Interface Sata TerminologySpinpoint M8 Product Manual REV Physical Interface Signal Summary Signal DescriptionsWhen read When written 2 I/O Register AddressControl Block Register Descriptions RegistersCommand Block Register Descriptions Features Register and Feature Extended Register Ex F1hError Register Ex F1h Device Control Register ex F6hCommand Register Ex F7h Device Register Ex F6hStatus Register Ex F7h Sata II Feature SET Device Activity SignalStaggered Spin-up Disable Control Auto-Activate in DMA Setup FISPhy. Event Counters Software Settings Preservation Sata Power ManagementCommand Code Parameters ATA Command DescriptionsCommand Table Command Descriptions Check Power Mode E5hDevice Configuration Overlay B1h Device Configuration Overlay Feature Register ValuesCommand Download Micro Code 92hDevice Configuration Identify data structure Word Content Execute Device Diagnostics 90h Diagnostic CodesFlush Cache E7h, EAh extended Format Track 50hContent Description Identify Device information=the fields reported in word 88 are valid EXT =Media Card Pass Through command feature set supported Word Content Description WWNIdle Immediate E1h Automatic Standby Timer PeriodsIdle E3h Initialize Device Parameters 91h NOP 00hRead 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 Security Disable Password F6h Recalibrate 10hSecurity Erase Prepare F3h Security Erase Unit F4hSecurity Set Password F1h Security Erase Unit Password Word ContentSecurity Set Password data content Security Freeze Lock F5hSet Features EFh Identifier Level Command resultSecurity Unlock F2h Seek 7xh11 Set Features Register Definitions 12 Transfer Mode ValuesSet Multiple Mode C6h 13 Set Max Feature Register ValuesSet Max Address F9h, 37h extended Sleep E6h14 Smart Feature Registers Values Smart disable operations D9hSmart enable/disable attribute auto-save D2h Smart B0hSmart enable operations D8h Smart execute off-line immediate D4hSmart read data D0h 15 Device Smart Data StructureData Structure Revision Number Bit Name Description 16 Smart Attribute Status Flags17 Smart Attribute Data List 18 Off-line Data Collection Status ValuesSelf-test execution status byte 19 Self-test Execution Status ValuesSmart write log sector D6h Smart read log sector D5hSmart return status DAh Standby Immediate E0h Write Buffer E8hWrite DMA CAh, 35h extended Write Fpdma Queued 61hWrite Sectors 30h, 34h extended Write Multiple Command C5h, 39h extendedWrite Long 32h Spinpoint M8 Product Manual REV General Information MaintenanceMaintenance Precautions HDD handling guide -Please handle HDD by side surfaces Service and Repair HDD handling guide Prevent Shocks