home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 15 / CD_ASCQ_15_070894.iso / vrac / findat10.zip / FIND-ATA.DOC < prev    next >
Text File  |  1994-06-01  |  14KB  |  302 lines

  1. June 1, 1994
  2.    _ _ _
  3.   / / (_)
  4.  _\ \ \
  5. (_)_/_/  Find-ATA v1.0 - An ATA interface identify drive utility.
  6.  
  7. Seagate Technology, Inc.
  8. B-5 Technical Support
  9. 920 Disc Drive
  10. Scotts Valley, CA 95066
  11.  
  12. Usage: FIND-ATA [P or S] [M or S] [optional: R or D]  or....
  13.        FIND-ATA /filename.ATA
  14.  
  15. switches:
  16. P or S        -  Primary or Secondary Port Address (these default to
  17.                  1F0h and 170h)
  18.  
  19. M or S        -  Master or Slave drive
  20.  
  21. The optional R and D switches will only work if the Port and Drive
  22. switches are also set on the command line.  ex: Find-ATA P M D
  23.  
  24. R             -  allow command line redirection (this feature is
  25.                  useful for redirecting the output to a printer or a
  26.                  file)
  27.  
  28. D             -  dump the Identify binary data to <filename>.ATA (this
  29.                  allows a copy to be saved that can be studied at a
  30.                  later time. A "collection" of various drive files
  31.                  might be useful for reference purposes.)
  32.  
  33.  
  34. /filename.ATA -  load a previously saved Identify data dump.
  35.  
  36. (no switches) -  program will prompt for Port and Drive info
  37.  
  38.  
  39. Find-ATA is designed for the support of users with Seagate disc drives.
  40.  
  41.  
  42. A little background:
  43.  
  44. The ATA interface has evolved rapidly since its initial design by
  45. Compaq Corporation.  After refining the basic ATA interface concepts
  46. and circuitry, Compaq Corporation worked with Imprimis (now a part of
  47. Seagate) to build the first ATA interface drive.  At this stage, the
  48. interface was far from being an accepted standard.  However, it was a
  49. natural extension of the ATA I/O bus, and gained industry-wide
  50. acceptance because most of the necessary framework needed for the
  51. implementation was already present in the host machine.
  52.  
  53. Initially, there were no industry-wide standards for implementing the
  54. ATA interface, leaving manufacturers free to extend and improve upon
  55. it.  In the latter part of 1988, a Common Access Method (CAM)
  56. committee was established to develop such standards.  Their results
  57. were adopted by the American National Standards Institute (ANSI) with
  58. the intent of creating a common ATA command specification.
  59.  
  60. The ANSI standard for the ATA interface now provides specifications
  61. for mandatory commands, signal conventions, register descriptions and
  62. other information necessary for basic compatibility across
  63. manufacturers and platforms.  The current ANSI specification includes
  64. provisions for extended features such as caching and power management,
  65. while also providing options for vendor-specific enhancements.
  66.  
  67. The "Identify Drive" command is defined for the ATA interface.  This
  68. valuable command, when executed, will return to the host 512 bytes
  69. which describe the drive and its available features.  It is very
  70. similar to the original Identify drive developed for the older ESDI
  71. interface and is analogous to the SCSI interface's Mode Sense command,
  72. albeit with less detail.  Find-ATA is a simple utility which helps
  73. organize the data in a readable form.
  74.  
  75. The following screen print shows the Identify Drive bytes that
  76. correspond to the Find-ATA field names.
  77.  
  78. ╒══════════════════════════════╡ Find-ATA v1.0 ╞═════════════════════════╕
  79. │                                                                        │
  80. │     Drive: 27-46                                      Port:            │
  81. │  Serial #: 10-19                 CMOS Type:        Unit:               │
  82. │  Firmware: 23-26                                                       │
  83. │            Hardware       DOS            Current          Max ECC: 22  │
  84. │ Cylinders: 1                             54                            │
  85. │     Heads: 3                             55                            │
  86. │   Sectors: 6                             56                            │
  87. │  Capacity:                               57-58                         │
  88. │                                                                        │
  89. │                     Available  Information                             │
  90. │ R/W Multiple Mode:  47.7-0                 Current: 59.7-0             │
  91. │          LBA Mode:  49.9       total sectors 60-61                     │
  92. │          DMA Mode:  49.8       Single: 62         Multi: 63            │
  93. │ Advanced PIO Mode:  64.7-0               +,-IORDY: 68,67               │
  94. │                                                                        │
  95. │  Default PIO Mode:  51.15-8                                            │
  96. │                                                                        │
  97. │  Buffer: 21   - Type: 20                                               │
  98. │                                                                        │
  99. │                                                                        │
  100. ╘═══════╡ Copyright 1994 Seagate Technology, Inc. All rights reserved. ╞═╛
  101.  
  102. IDENTIFY DRIVE command
  103.  
  104. The Identify Drive command (command code ECh) transfers information
  105. about the drive to the host.  When the command is issued, the drive
  106. sets BSY, prepares to transfer a single 512-byte block of data, sets
  107. DRQ, and generates an interrupt.  The host then reads the data from
  108. the drive.  The data is organized as shown in the table below.  All
  109. reserved bits or words are zero.
  110.  
  111. Words 53 to 49 and 62 to 63 change depending on the current operating
  112. mode of the drive.  All other words are constant for a particular
  113. drive.
  114.  
  115. An asterisk (*) indicates words for which a value of 0000h indicates
  116. parameter not specified.
  117.  
  118. The following table is organized in words.  When a lower order of
  119. detail is required, the bits under consideration are placed after a
  120. period.  For example word 49 bit 8 would be expressed as 49.8.  If a
  121. range of bits within a word is needed, a hyphen is placed between the
  122. hi-lo range.  For example word 49 bits 7 to 0 is written as 49.7-0.
  123.  
  124. Word.Bit      Description
  125. ==========================
  126. 0.15      0 = reserved for non magnetic drives
  127. 0.14      1 = format speed tolerance gap required
  128. 0.13      1 = track offset option available
  129. 0.12      1 = data strobe offset option available
  130. 0.11      1 = rotational speed tolerance is > 0.5%
  131. 0.10      1 = disc transfer rate > 10 Mbit/sec
  132. 0.9       1 = disc transfer rate <= 10 Mbit/sec but > 5 Mbit/sec
  133. 0.8       1 = disc transfer rate <= 5 Mbit/sec
  134. 0.7       1 = removable cartridge drive
  135. 0.6       1 = fixed drive
  136. 0.5       1 = spindle motor control option implemented
  137. 0.4       1 = head switch time > 15 usec
  138. 0.3       1 = not MFM encoded
  139. 0.2       1 = soft sectored
  140. 0.1       1 = hard sectored
  141. 0.0       0 = ATA reserved (should be zero)
  142. 1         Number of user-addressable cylinders in the default
  143.           translation mode.  When the formatted capacity of the drive
  144.           exceeds 528 MB this field is set to 1024.
  145. 2         ATA reserved (should be zero)
  146. 3         Number of user-addressable heads in the default translation
  147.           mode.  When the formatted capacity of the drive exceeds 528
  148.           MB this field is set to 16.
  149. 4         Number of unformatted bytes per track
  150. 5         Number of unformatted bytes per sector
  151. 6         Number of user addressable sector in the default translation
  152.           mode.  When the formatted capacity of the drive exceeds 528
  153.           MB this field is set to 63.
  154. 7-9       ATA reserved (should be zero)
  155. 10-19  *  Serial number (20 ASCII characters and padded with spaces).
  156. 20     *  Buffer type.
  157.           0000h = not specified
  158.           0001h = a single-ported, single sector buffer which is not
  159.                   capable of simultaneous data transfers to or from
  160.                   the host and the disc.
  161.           0002h = a dual ported multisector buffer capable of
  162.                   simultaneous data transfers to or from the host and
  163.                   the disc.
  164.           0003h = a dual ported multisector buffer capable of
  165.                   simultaneous transfers with a read caching
  166.                   capability.
  167.           0004h through FFFFh are reserved.
  168. 21     *  Buffer size in 512-byte increments
  169. 22     *  Number of ECC bytes available on read/write long commands.
  170. 23-26  *  Firmware revision (8 ASCII characters and padded with spaces
  171.           [20h]).
  172. 27-46  *  Model number (40 ASCII characters and padded with spaces
  173.           [20h]).
  174. 47.15-8   Seagate reserved.
  175. 47.7-0    00h = Read/Write multiple commands not implemented;
  176.           xxh = Maximum number of sectors that can be transferred per
  177.                 interrupt on read and write multiple commands.
  178. 48        0000h = cannot perform double-word I/O
  179.           0001h = can perform double-word I/O.  (included for
  180.                   backwards compatible use)
  181. 49        Capabilities
  182. 49.15-13  ATA reserved (should be zero)
  183. 49.12     ATA reserved for advanced PIO mode support (should be one)
  184. 49.11     1 = IORDY supported (required for PIO modes > 2)
  185.           0 = IORDY may be supported
  186. 49.10     1 = IORDY can be disabled
  187. 49.9      1 = LBA mode supported
  188. 49.8      1 = DMA mode supported
  189. 49.7-0    Seagate reserved.
  190. 50        ATA reserved
  191. 51.15-8   PIO data transfer cycle timing mode
  192. 51.7-0    Seagate reserved.
  193. 52.15-8   DMA data transfer cycle timing mode
  194. 52.7-0    Seagate reserved.
  195. 53.15-2   ATA reserved
  196. 53.1      1 = the fields reported in words 64 - 70 are valid
  197.           (required for PIO modes > 2 or multiword DMA modes > 0)
  198.           0 = the fields reported in words 64 - 70 are not valid
  199. 53.0      1 = the fields reported in words 54 - 58 are valid
  200.           0 = the fields reported in words 54 - 58 are not valid
  201. 54        Number of current cylinders
  202. 55        Number of current heads
  203. 56        Number of current sectors per track
  204. 57        Current capacity in sectors HI-word
  205. 58        Current capacity in sectors LO-word
  206. 59.15-9   ATA reserved.
  207. 59.8      1 = Multiple sector setting is valid
  208. 59.7-0    xxh = Current setting for number of sectors that can be
  209.           transferred per interrupt with Read/Write multiple commands
  210. 60        Total number of user addressable sectors HI-word (LBA mode
  211.           only)
  212. 61        Total number of user addressable sectors LO-word (LBA mode
  213.           only)
  214. 62.15-8   Single word DMA transfer mode active
  215. 62.7-0    Single word DMA transfer modes supported
  216. 63.15-8   Multiword DMA transfer mode active
  217. 63.7-0    Multiword DMA transfer modes supported
  218. 64.15-8   ATA reserved.
  219. 64.7-0    Advanced PIO transfer modes supported (bit significant
  220.           field: 00000001 means PIO mode 3 supported, bits 7-1 are
  221.           reserved for future use)
  222. 65        Minimum multiword DMA transfer cycle time per word in
  223.           nanoseconds
  224. 66        Manufacturer's recommended  multiword DMA transfer cycle
  225.           time per word in nanoseconds during a single sector host
  226.           transfer while performing a multiple sector Read DMA or
  227.           Write DMA command over all locations on the media under
  228.           nominal conditions. If a host attempts to run at a faster
  229.           cycle rate by operating at a cycle time of less than this
  230.           value, the drive may be forced to negate DMARQ to prevent
  231.           data corruption.  The rate at which DMARQ is negated could
  232.           result in reduced throughput despite the faster cycle rate.
  233. 67        Minimum PIO transfer cycle time without flow control in
  234.           nanoseconds (required for PIO modes > 2)
  235. 68        Minimum PIO transfer cycle time with IORDY flow control in
  236.           nanoseconds (required for PIO modes > 2
  237. 69-70     ATA reserved for advanced PIO mode support
  238. 71-127    ATA reserved.
  239. 128-159   Seagate reserved.
  240. 160-255   ATA reserved.
  241.  
  242. Note: The definition of each of the Identify Drive bytes is subject to
  243. change by the ATA review committee. Typically, once a definition is in
  244. place it will not be changed.  Fields which are listed as "ATA
  245. reserved" are the ones to watch for change.
  246.  
  247. =====Rev=Hist===============
  248. Written with Borland Pascal v6.0 by B.Rudock, R.Dimick and R.Stacy.
  249.  
  250. Revision History:
  251.  
  252.         6/94   v1.0    Public release.
  253.  
  254. =====Legal=Disclaimer=======
  255.  
  256.                           LICENSE AGREEMENT
  257.  
  258. Seagate provides the accompanying object code software ("Software")
  259. and nonexclusively licenses its use on the following terms and
  260. conditions. The Software is copyrighted by Seagate.  YOU ASSUME FULL
  261. RESPONSIBILITY FOR THE SELECTION OF THE SOFTWARE TO ACHIEVE YOUR
  262. INTENDED PURPOSES, FOR THE PROPER INSTALLATION AND USE.  SEAGATE DOES
  263. NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS, THAT THE
  264. SOFTWARE IS FIT FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE
  265. SOFTWARE WILL BE ERROR FREE.  SEAGATE EXPRESSLY DISCLAIMS ALL
  266. WARRANTIES, WHETHER ORAL OR WRITTEN, EXPRESSED OR IMPLIED, INCLUDING
  267. WITHOUT LIMITATION WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A
  268. PARTICULAR PURPOSE.  IN NO EVENT WILL SEAGATE BE LIABLE TO YOU, YOUR
  269. CUSTOMERS OR OTHER USERS FOR ANY INDIRECT, INCIDENTAL, CONSEQUENTIAL,
  270. SPECIAL OR EXEMPLARY DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE
  271. USE OR INABILITY TO USE THE SOFTWARE.
  272.  
  273. End of License agreement.
  274.  
  275. =====Other==================
  276. Available on the Seagate Tech Support BBS (408)438-8771 and many fine
  277. and helpful BBS's around the world:
  278.  
  279. Specifications and jumper drawings for all Seagate Disc Drives and
  280. Controllers.
  281.  
  282. Reprints of Installation Guides.
  283.  
  284. Troubleshooting essays.
  285.  
  286. FINDTYPE - Utility which displays bios drive type table and matches a
  287. Seagate model to the best drive type.  Also prints complete
  288. specifications lists and much more!
  289.  
  290. FINDINIT - Utility for Seagate controllers and host adapters that have
  291. onboard bios. Queries the system to determine bios memory address and
  292. initiates low-level format.
  293.  
  294. DESK REFERENCE - Hypertext data system for all Seagate products,
  295. troubleshooting, other OEM phone numbers and much, much more. A must
  296. for dealers who do a fair amount of support for Seagate products.
  297.  
  298. SEAGATE FORMAT - A lo-level and mid-level formatting utility for AT
  299. systems (286+) which supports MFM, RLL, ESDI and ATA interface drives.
  300.  
  301. -=EOF: FIND-ATA.DOC=-
  302.