4.5 ATA Commands
C156-E205-01EN 4-25
4.5.4 FLUSH CACHE (E7h)
Table 4.23 FLUSH CACHE command
Bit
76543210
CM11100111
DHXXXDEVXXXX
CHXXXXXXXX
CLXXXXXXXX
SNXXXXXXXX
SCXXXXXXXX
FRXXXXXXXX
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
76543210
CM11011010
DHXXXDEVXXXX
CHXXXXXXXX
CLXXXXXXXX
SNXXXXXXXX
SCXXXXXXXX
FRXXXXXXXX
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