5.41SYNCHRONIZE CACHE Command (35h)

The SYNCHRONIZE CACHE command ensures that all logical blocks, within the specified range in the drive's cache memory, have their most recent data value recorded on the physical medium. If more recent data for a logical block, within the specified range, exists in the cache memory than on the physical medium, then the logical blocks from the cache memory is written to the physical medium. Logical blocks are not necessarily removed from the cache as a result of the Synchronize Cache operation. The data format and field descriptions are shown in Table 5-201 and Table 5-202 respectively.

Table 5-201SYNCHRONIZE CACHE Command Descriptor Block-Data Format

Bit

7

6

5

 

4

 

3

2

1

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

Operation

Code (35h)

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

 

 

Reserved

 

 

 

Immed

RelAdr

 

 

 

 

 

 

 

 

 

= 0

 

2 - 5

 

 

 

 

Logical Block Address

 

 

 

 

 

 

 

 

 

 

 

 

 

6

 

 

 

 

 

Reserved

 

 

 

 

 

 

 

 

 

 

 

 

7 - 8

 

 

 

 

Number of Blocks

 

 

 

 

 

 

 

 

 

 

 

 

 

9

 

 

 

 

 

Control

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Table 5-202SYNCHRONIZE CACHE Command-Field Descriptions

Field

Description

 

 

Immed

Immediate. Must be 0. The drive returns status after the synchronize cache operation has

been completed.

 

RelAdr

Relative Address. Must be 0. Relative addressing is not supported.

 

 

Logical Block

The address of the first logical sector of the range to be operated upon by this command.

Address

 

 

Specifies the total number of contiguous logical blocks within the range. When set to 0,

 

the drive removes all sectors from the given Logical Block Address on.

Number of

When Number of Blocks and Logical Block Address are both 0, the drive removes all un-

Blocks

written cache sectors to the medium.

 

It is not considered an error when no sectors within the specified range are in the cache

 

memory.

Maxtor Atlas 10K V

5-145

Page 203
Image 203
Maxtor 10K V manual Synchronize Cache Command 35h, 201SYNCHRONIZE Cache Command Descriptor Block-Data Format