Hitachi DK23EA Specifications - Page 50

Flush Cache [E7h]

Page 50 highlights

6.3.2.5.8 Flush Cache [E7h] The Flush Cache command is to check the device if write cache data were written on the disk or not. BSY is set until all write cache data are written on the disk or a write error is occurred. Maximum time to write the cache data on the disk is 30 seconds. Task File Registers Command Cylinder High Cylinder Low Device/Head Sector Number Sector Count Features DRV : Device selection bit 76543210 E7h XX XX - X - DRV XX XX XX XX 0 : DRV0 1:DRV1 In case of Write Fault, the command is aborted and Status Register bit 5 DWF(Device Write Fault) is set to one. For Device/Head Register bit 6 LBA=0(CHS mode), a logical CHS address, which had the first error during write cache, is reported on Task File Register. For Device/Head Register bit 6 LBA=1(LBA mode), a LBA address, which had the first error during write cache, is reported on Task File Register. K6602637 Rev.3 02.27.01 - 50 -

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104

K6602637
Rev.3
02.27.01
- 50 -
6.3.2.5.8 Flush Cache [E7h]
The Flush Cache command is to check the device if write cache data were written on the disk or not.
BSY is set until all write cache data are written on the disk or a write error is occurred. Maximum time to
write the cache data on the disk is 30 seconds.
Task File Registers
7
6
5
4
3
2
1
0
Command
E7h
Cylinder High
XX
Cylinder Low
XX
Device/Head
-
X
-
DRV
XX
Sector Number
XX
Sector Count
XX
Features
XX
DRV : Device selection bit
0 : DRV0
1:DRV1
In case of Write Fault,
the command is aborted and Status Register bit 5
DWF(Device Write Fault) is set to
one. For Device/Head Register bit 6 LBA=0(CHS mode),
a logical CHS address,
which had the first error
during write cache, is reported
on Task File Register. For Device/Head Register bit 6 LBA=1(LBA mode),
a
LBA
address,
which had the first error during write cache, is reported
on Task File Register.