4.5 ATA Commands

4.5.4 FLUSH CACHE (E7h)

 

 

Table 4.23 FLUSH CACHE command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

CM

1

1

1

0

0

1

1

1

 

 

 

 

 

 

 

 

 

 

DH

X

X

X

DEV

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

CH

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

CL

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

SN

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

SC

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

FR

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

The FLUSH CACHE command writes unwritten data in the cache memory in the data buffer to the media.

4.5.5 GET MEDIA STATUS (DAh)

 

 

Table 4.24 GET MEDIA STATUS command

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

7

6

5

4

 

3

2

1

0

 

 

 

 

 

 

 

 

 

 

CM

1

1

0

1

1

0

1

0

 

 

 

 

 

 

 

 

 

 

DH

X

X

X

DEV

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

CH

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

CL

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

SN

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

SC

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

FR

X

X

X

X

 

X

X

X

X

 

 

 

 

 

 

 

 

 

 

The GET MEDIA STATUS command respond with the ODD status.

The command ends abnormally in either of the conditions given below and sets the value shown in Table 4.25 in the Error register.

!

!

When no media is inserted

When media is exchanged

C156-E205-01EN

4-25

Page 97
Image 97
Fujitsu MCJ3230AP manual Flush Cache E7h, GET Media Status DAh, Flush Cache command, GET Media Status command