Samsung M8 manual Execute Device Diagnostics 90h, Flush Cache E7h, EAh extended, Format Track 50h

Page 56

8.2.4Execute Device Diagnostics (90h)

This command performs the internal diagnostic tests implemented by the drive. The Diagnostic Code written to the Error register is a unique 8-bit code.

 

Table 8-4 Diagnostic Codes

 

 

Code

Description

01h

No error detected

02h

Formatter device error

03h

Sector buffer error

04h

ECC circuitry error

05h

Controlling microprocessor error

8.2.5Flush Cache (E7h, EAh: extended)

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.

8.2.6Format Track (50h)

This command is obsolete in the ATA7 specification. The supporting of this command is for backward compatibility purpose.

8.2.7Identify Device (ECh)

The Identify Device command enables the host to receive parameter information from the device. When the command is issued, 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. All reserved bits or words will remain to be zero.

Some parameters are defined as a group of bits. A word which is defined as a set of bits is transmitted with the indicated bits on the respective data bus bit (e.g., bit 15 appears on DD15).

Other parameters are defined as a sixteen-bit value. A word which is defined as a sixteen bit value places the most significant bit of the value on bit DD15 and the least significant bit on bit DD0.

Some parameters can be defined as a 32-bit value (e.g., words 57 and 58). Such fields are transferred using two word transfers. The device first transfers the least significant bits, bits 15 through 0 of the value, on bits DD15 through DD0 respectively. After the least significant bits have been transferred, the most significant bits, bits 31 through 16 of the value, are transferred on DD15 through DD0 respectively.

Spinpoint M8 Product Manual REV 2.3

50

Image 56
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