Samsung 3.5" hard disk drives manual Flush Cache E7h, Format Track 50h, Identify Device ECh

Page 65

DISK DRIVE OPERATION

 

Table 6-5Diagnostic Codes

 

 

Code

Description

 

 

01h

No error detected

02h

Formatter device error

03h

Sector buffer error

04h

ECC circuitry error

05h

Controlling microprocessor error

8xh

Drive 1 failed

 

 

6.4.4Flush Cache (E7h)

This command is used by the host to request the drive to flush the write cache. If write is to be flushed, all data cached will be written to the media. The BSY bit will remain set to one until all data has been successfully written or error occurs.

6.4.5 Format Track (50h)

The track address is specified in the Cylinder High and Cylinder Low registers, and the number of sectors is specified in the Sector Count register. When the command is accepted, the drive sets the DRQ bit and waits for the host to fill the sector buffer. When the sector buffer is filled, the drive clears DRQ, sets BSY, and begins command execution. SpinPoint V40 hard disk drives write zeros to the data fields in the sectors on the specified logical track. The ID fields are not written by this command.

In LBA mode, this command formats a single logical track including the specified LBA.

6.4.6 Identify Device (ECh)

The Identify Device command enables the host to receive parameter information from the device. When the command is issued, the device sets the BSY bit, prepares to transfer the 256 words of device identification data to the host, sets the DRQ bit, clears the BSY bit, and generates an interrupt. The host can then transfer the data by reading the Data register. The parameter words in the buffer have the arrangement and meanings defined in Table 6-6. All reserved bits or words shall be zero.

The F/V column indicates if the word or part of a word had fixed (F) contents that do not change, variable

(V)contents that may change depending on the device state or the commands executed by the device, X for words with vendor specific data which may be fixed or variable, and R for reserved words which shall be zero. For removable media devices, the value of fields indicated as fixed (F) may change when media is removed or changed.

SpinPoint V40 Product Manual

57

Image 65
Contents Spinpoint SpinPoint V40 Product Manual Table of Contents Smart Ervo S Ystem EAD and W Rite O PerationsIrmware F Eatures Timing Programming RequirementsProtocol Overview Service and Repair Maintenance Precautions107 General InformationTable of Figures Page Scope User DefinitionManual Organization Terminology and Conventions Commands and MessagesComputer Message Format C/SReference Description Key FeaturesIntroduction Hardware Requirements Standards and RegulationsSpecifications Specification SummaryLogical Configurations Physical SpecificationsPerformance Specifications 28.71 Power RequirementsSV6003H SV6014H SV8004H Environmental SpecificationsMtbf POH Reliability SpecificationsSpace Requirements InstallationOrientation Unpacking InstructionsMounting 2Mounting Dimensions in Millimeters 3Mounting-Screw Clearance ClearanceDC Power Connector Cable ConnectorsAT-Bus Interface Connector VentilationSpinPoint V40 Product Manual Jumper Block Configurations Options for Jumper Block Configuration 7DC Power Connector and AT-Bus Interface Cable Connections Drive InstallationParameter System Startup ProcedureSystem Setup Base 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 SystemAT Disk Controller Digital Signal Process and Interface ControllerDrive Electronics 2SID2001 AT Controller Block Diagram Host Interface Control Block Disk Control Block Buffer Control BlockSpinPoint V40 Product Manual Read/Write IC Power ManagementDisk ECC Control Block Frequency SynthesizerAutomatic Gain Control Time Base GeneratorAsymmetry Correction Circuitry ASC Analog Anti-Aliasing Low Pass Filter3Read/Write 88C5200 Read Channel Servo SystemRead and Write Operations Read Caching Firmware FeaturesWrite Channel Write Caching Automatic Defect Allocation Defect ManagementMulti-burst ECC Correction SmartBlank Physical Interface Signal ConventionsSignal Summary Signal Descriptions Dmarq DMA Request DMACK- DMA AcknowledgeIntrq Drive Interrupt IOCS16- Drive 16-bit I/OIordy I/O Channel Ready PDIAG- Passed DiagnosticsRESET- Drive Reset SD4 SD8 SD6 SD9 SD5SD3 SD2Drive Host DriveDIR General Logical InterfaceBit Conventions EnvironmentSpinPoint V40 Product Manual 2 I/O Register Address Command Block RegistersControl Block Registers N N N A a aAlternate Status Register 3F6h Control Block Register DescriptionsDrive Address Register 3F7h Device Control Register 3F6hFeatures Register 1F1h Command Block Register DescriptionsError Register 1F1h Data Register 1F0hSector Count Register 1F2h Command Register 1F7hCylinder High Register 1F5h Cylinder Low Register 1F4hBSY Drdy DWF DSC DRQ Corr IDX ERR Status Register 1F7hAt Command Register Descriptions Command Parameter Used SpinPoint V40 Product Manual Download Micro Code 92h Check Power Mode 98h, E5hExecute Device Diagnostics 90h Identify Device ECh Flush Cache E7hFormat Track 50h Xxxx Word Content DescriptionCapabilities Command set supported 95-128 0000h Reserved 129-159 Vendor specific 160-255 Initialize Device Parameters 91h Idle 97h,E3hIdle Immediate 95h,E1h Read Long 22hwith retry, 23h without retry Read Buffer E4hRead Multiple Command C4h Read Sectors 20hwith retry, 21hwithout retry Read Native Max Address F8hSeek 7xh Read Verify Sectors 40hwith retry, 41hwithout retryRecalibrate 1xh Mode Set Features EFhLBA InputsNormal outputs BSY Drdy DRQ ERRDescription Sleep 99h, E6h Set Multiple Mode C6hSmart B0h Smart disable operation D9hStandby 96h,E2h Smart execute off-line immediate D4h Smart enable/disable attribute autosave D2hSmart enable operations D8h Byte Descriptions Smart read data D0hOff-line data collection capability Value DefinitionSmart read log sector D5h Smart capabilitySmart return status DAh Smart save attribution value D3hStandby Immediate 94h, E0h Standby 96h, E2hWrite Buffer E8h Write DMA CAhWrite Sectors 30hwith retry, 31hwithout retry Write Multiple Command C5hSpinPoint V40 Product Manual Programming Requirements Reset ResponseError Posting BBK Command Error Register Status RegisterSleep mode Power ConditionsStandby mode Idle modeNormal mode Protocol Overview PIO Data in CommandsPIO Read Aborted Command PIO Data Out CommandsPIO Read Command PIO Write Aborted Command PIO Write CommandBSY=0 DRDY=1 BSY=1 BSY=0 DRQ=1 BSY=1 DRQ=0Non-Data Commands DMA Data Transfer Commands BSY=1 BSY=0 Aborted DMA Command Initialize DMA Reset DMA StatusBSY=0 BSY=1 Register transfers TimingDIOR-/DIOW Write PIO data transfers PIO timing parameters ModeAddr valid See note T1 t2 DIOR-/DIOW DIOR-/DIOW Multiword DMA data transferMultiword DMA timing parameters Mode Initiating an Ultra DMA data in burst Ultra DMA data transfer19Ultra DMA data burst timing requirements Ultra DMA data burst timing requirements5Sustained Ultra DMA data in burst Sustained Ultra DMA data in burst6Host pausing an Ultra DMA data in burst Host pausing an Ultra DMA data in burst7Device terminating an Ultra DMA data in burst 100 Device terminating an Ultra DMA data in burst8Host terminating an Ultra DMA data in burst Host terminating an Ultra DMA data in burst9Initiating an Ultra DMA data out burst 102 Initiating an Ultra DMA data out burst10Sustained Ultra DMA data out burst Sustained Ultra DMA data out burst11Device pausing an Ultra DMA data out burst 104 Device pausing an Ultra DMA data out burst12Host terminating an Ultra DMA data out burst Host terminating an Ultra DMA data out burst13Device terminating an Ultra DMA data out burst 106 Device terminating an Ultra DMA data out burstGeneral Information Maintenance PrecautionsService And Repair