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

Page 65
Image 65
Samsung 3.5 hard disk drives, spinpoint v40 manual Flush Cache E7h, Format Track 50h, Identify Device ECh