home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / PROGRAMS / UTILS / HARDWARE / WESTDIGT.ZIP / WESTDIGT.MAN
Encoding:
Text File  |  1987-02-18  |  20.6 KB  |  510 lines

  1.         WD1002S-WX2 WINCHESTER DISK CONTROLLER USERS'S GUIDE
  2.  
  3. INSTALLATION INSTRUCTIONS
  4. ------------ ------------
  5.  
  6. This section contains instructions for installation of the
  7. WD1002S-WX2 (S-WX2) board.  If the disk drive(s) are being installed
  8. internally, it is best to locate the S-WX2 Controller Board in the
  9. closest available expansion slot.
  10.  
  11.                         CAUTION
  12.  
  13.         Handle the controller board by the ends of the board.
  14.         Some of the chips are static sensitive and damage may
  15.         occur if the board is incorrectly handled.
  16.  
  17. At this time, verify that the jumper settings on the controller board
  18. are correct.  Refer to pages XX and XX of this document for
  19. information on the jumper settings.
  20.  
  21. Next, remove the blank expansion slot bracket.  Put the bracket away and
  22. save it for possible future use.  The screw will be used to hold the new
  23. controller board in place.
  24.  
  25. Connect the 34-pin (wide control cable) connector to J1 on the S-WX2
  26. board.  Make sure that Pin 1 of the cable connector goes to Pin 1 on the
  27. controller board.  Pin 1 of the cable connector is typically located on
  28. the color coded side of the cable.
  29.  
  30. Connect the 20-pin (data cable) to J2 (Drive 0 Data Connector) on the
  31. controller board.  Make sure that Pin 1 of the cable connector is
  32. connected to Pin 1 on the controller board.
  33.  
  34. If a second drive is being installed, connect the Drive 1 data cable to
  35. J3 likewise.
  36.  
  37. At this time, also verify that the disk drive(s) is properly installed.
  38. This includes correct placement of drive select jumpers and drive
  39. terminator installation.  Refer to the disk drive installation manual
  40. for further instructions.  DO NOT USE THE RADIAL SELECT OPTION.
  41.  
  42. Install the controller board into the expansion slot.  Make sure that
  43. the board is seated properly by pressing down on both ends of the board.
  44. Secure the board with the bracket screw.
  45.  
  46.                                 CAUTION
  47.  
  48.         When routing the cables, be careful not to pinch them.
  49.         Cables must not get caught between the cover and the
  50.         boards nor should they obstruct any air flow path from
  51.         fans or vents.
  52.  
  53. Install the disk drive(s) per manufacturer's instructions.
  54.  
  55.  
  56. STANDARD BIOS ROM FORMAT INSTRUCTIONS
  57. -------- ---- --- ------ ------------
  58.  
  59. The following procedures are a complete set of instructions for
  60. formatting one or two disk drives when using a WD1002S-WX2 Controller
  61. Board with a standard BIOS ROM.  (P/N 62-0000 42-xxx).
  62.  
  63. Running the DEBUG Utility
  64. ------- --- ----- -------
  65.  
  66. The DEBUG Utility is used to initiate the S-WX2 format program to
  67. physically format the drive.  During execution, the user is prompted to
  68. define the interleave factor.  Please refer to the DOS operating manual
  69. for detailed instructions regarding this utility.
  70.  
  71. Step    Instructions
  72.  
  73. 1.      At the A> prompt, load and run the DOS debug utility by typing
  74.         DEBUG followed by a RETURN.  "CR" stands for carriage return or
  75.         ENTER.
  76.  
  77.                         A> DEBUG CR
  78.  
  79. The next step changes the drive address and sector interleave factor.
  80. If not modified, the drive number will default to 00 and the interleave
  81. factor will default to three.  Proceed with step 2 if there are two hard
  82. disk drives configured into the system and/or the desired interleave
  83. factor is to be other than three.  If neither applies, go directly to
  84. step 3.
  85.  
  86. 2.      At the debug prompt, type the following line to set the target
  87.         drive number and interleave factor.  The debug prompt is the
  88.         hyphen "-".
  89.  
  90.                         - rax CR
  91.         CPU response:
  92.  
  93.         AX 0000
  94.         :
  95.  
  96.         At the colon prompt, enter drive number and interleave factor in
  97.         hexadecimal followed by a RETURN.
  98.  
  99.                         xxyy CR
  100.  
  101.         Where:  xx = the relative drive number
  102.                 yy = the interleave factor
  103.  
  104.         NOTE:  Relative Drive C: = 00, Relative Drive D: = 01.  An
  105.         interleave factor of 03 is standard.  If formatting two
  106.         drives, this operation must be run twice; first with the
  107.         relative drive number = 00 and again with it = 01.
  108.  
  109. 3.      At the debug prompt, initiate the S-WX2 format program by typing
  110.         in the following command line.
  111.  
  112.                         - g=c800:5 CR
  113.  
  114.         The S-WX2 format program will display the following:
  115.  
  116.         WX2 Format Revision 7.0(C) Copyright Western Digital Corp. 1985
  117.                 (AH) = Relative drive number (0-7)
  118.                 (AL) = Interleave factor (S is standard)
  119.         Press "Y" to begin formatting drive XX with interleave YY
  120.  
  121.                                 CAUTION
  122.  
  123.         Before responding, please remember that all data on the
  124.         target drive will be lost during execution of the format
  125.         program.  Hit any other key to abort the format program
  126.         and save the data.
  127.  
  128. 4.      Press "Y" followed by a RETURN to begin formatting the drive.
  129.  
  130.                         Y CR
  131.  
  132.         System responses:
  133.  
  134.         If any key other than "Y" is typed, the program displays the
  135.         following message and returns the operator to DOS.
  136.  
  137.         CPU response:
  138.  
  139.         Nothing done exit
  140.         A>
  141.  
  142.         If "Y" is typed, formatting is initiated.  The format program
  143.         can take up to five minutes.  If there are no resulting errors,
  144.         the program displays the following message and returns the
  145.         operator to DOS.
  146.  
  147.         CPU response:
  148.  
  149.         Format successful
  150.         A>
  151.  
  152.         If an error occurs while formatting, the program will
  153.         immediately terminate, display the following error message, and
  154.         return the operator to DOS.  XX is the hexadecimal S-WX2 BIOS
  155.         completion code.  Refer to page XX.
  156.  
  157.         CPU response:
  158.  
  159.         Error ---- completion code XX
  160.         A>
  161.  
  162.         If a second drive is to be formatted, repeat steps 1 through 5
  163.         with the relative drive number equal to 01.  Otherwise, continue
  164.         with step 5.
  165.  
  166. 5.      Load and execute the FDISK and FORMAT utilities.  Refer to your
  167.         DOS manual for more information on FDISK and FORMAT.
  168.  
  169.  
  170.  
  171. Auto-Config Option
  172. ----------- ------
  173.  
  174. This section contains instructions for performing the low level or
  175. physical format of one or two ST506/ST412 Winchester disk drives when
  176. using Western Digital's WD1002S-WX2 controller board, an Auto-Config
  177. BIOS ROM, and its resident Auto-Config Software.  (P/N 620-0000 43-xxx).
  178.  
  179. Auto-Config has for formatting options as follows:
  180.  
  181. 1.  Format one or two physical drive(s) by entering the drive parameters
  182.     and  bad track list via the keyboard.
  183. 2.  Format one physical drive as two virtual drives by entering the
  184.     drive parameters, cylinder partition values, and bad track list via
  185.     the keyboard.
  186. 3.  Format one or two physical drive(s) by using the drive tables
  187.     selected by SW1.  The bad track list is entered via the keyboard.
  188. 4.  Format one physical drive as two virtual drives by using the drive
  189.     tables.  Virtual cylinder partition values and bad track list are
  190.     entered via the keyboard.
  191.  
  192. Drive Parameters
  193. ----- ----------
  194.  
  195. Drive parameters that have to be established during the format procedure
  196. include the maximum number of cylinders, the maximum number of heads,
  197. cylinder for reduced write current, cylinder for write precompensation,
  198. error burst length, and CCB option byte - step rate.
  199.  
  200. Auto-Config supports keyboard entry of these parameters.  It also supports
  201. the pre-programmed drive table entry of parameters.
  202.  
  203. A single jumper chooses between keyboard entry or the use of drive
  204. tables.  The ability to enter configuration information from the
  205. keyboard may be disabled by placing a jumper on SW1-5 of the controller
  206. board.  If disabled, the drive tables are selected by SW1-1 to SW1-4.
  207. See page XX.
  208.  
  209. Virtual Formatting
  210. ------- ----------
  211.  
  212. Auto-Config supports virtual drive formatting.  Virtual drive formatting
  213. is a method by which one physical drive is split into two logical or
  214. virtual drives.  The virtual drives are referenced as C: and D:.
  215.  
  216. Current versions of DOS allow no more than 32 megabytes per drive.
  217. Therefore, a 40 megabyte drive may be divided into two virtual drives
  218. using the virtual option.  The following table provides an example of
  219. how to calculate drive capacity and establish virtual parameters.
  220.  
  221. -----------------------------------------------------------------
  222. |                                                               |
  223. |  The capacity of a drive can be easily calculated as follows: |
  224. |                                                               |
  225. |               Capacity =                                      |
  226. |       (#Cyl.)(#Heads)(#Sectors/track)(Sector size in bytes)   |
  227. |                                                               |
  228. |  If a drive has 612 cylinders, 8 heads, 17 sectors per track  |
  229. |  and a 512 byte sector size, then calculate the logical split |
  230. |  as follows:                                                  |
  231. |                                                               |
  232. |               Total capacity = 42,614,784 bytes or            |
  233. |                       (612)(8)(17)(512)                       |
  234. |                                                               |
  235. |  To split the drive into 2 logical drives of 30 and 10        |
  236. |  megabytes each of X and Y respectively, do the following     |
  237. |  calculations.                                                |
  238. |                                                               |
  239. |  Because (X)(heads)(sectors/track)(sector size) = 30          |
  240. |  megabytes.                                                   |
  241. |                                                               |
  242. |  Note: 1 megabyte = 2^20 bytes = 1,048,576 bytes.             |
  243. |                                                               |
  244. |               X = (31,457,280)/(8 * 17 * 512)                 |
  245. |                                                               |
  246. |               X = 451.8 = 451                                 |
  247. |                                                               |
  248. |  Note: Round  X down to nearest whole number.                 |
  249. |                                                               |
  250. |  Since Y = Total Capacity - X                                 |
  251. |                                                               |
  252. |               Y = 612 - 451 = 161                             |
  253. |               The split = 451 161                             |
  254. |                                                               |
  255. |---------------------------------------------------------------|
  256. |               LOGICAL FORMAT CALCULATION                      |
  257. -----------------------------------------------------------------
  258.  
  259. If this option is chosen, a second physical drive may not be installed
  260. on the S-WX2 since DOS will only support two drives.  The ability to
  261. virtually configure a drive may be disabled by placing a jumper on SW1-6
  262. (page 9).
  263.  
  264. Low Level Format
  265. --- ----- ------
  266.  
  267. The low level format is run just once on a drive that is to be virtually
  268. configured.  However, the DOS FDISK and FORMAT utilities must be run on
  269. both logical drives.
  270.  
  271. If two physical drives are to be formatted, the low level format is run
  272. on each drive.  As before, the DOS FDISK and FORMAT utilities are run on
  273. each drive.
  274.  
  275. Auto-Config Formatting Procedures
  276. ----------- ---------- ----------
  277.  
  278. The following instructions contain a detailed step by step description
  279. of the actions required to execute the Auto-Config procedures.
  280.  
  281. Step    Instructions
  282.  
  283. 1.      Verify jumper settings.  Refer to pages XX and XX.
  284.  
  285. 2.      Load and execute the debug utility.
  286.  
  287. 3.      At the debug prompt, initiate the S-WX2 format program by typing
  288.         the following command line.  The debug prompt is the hyphen "-".
  289.  
  290.                         -g=c800:5 CR
  291.  
  292. 4.      The S-SX2 format program will display the following message:
  293.  
  294.         WX2 Format Revision T.8 (C) Copyright Western Digital Corp. 1985
  295.         Key in drive no and interleave as follows: d ii where
  296.                 d = relative no (0-1)
  297.                 ii = interleave factor (1-16)
  298.  
  299.         Enter d and ii separated by a space and followed with a RETURN.
  300.  
  301.         EXAMPLE:
  302.  
  303.                         0 03 CR
  304.  
  305.         NOTE:  Drive C: = 0, Drive D: = 1.  An interleave factor of 3 is
  306.         standard.  If formatting two drives, this option must be run
  307.         twice: once with d = 0 and again with d = 1.
  308.  
  309. 5.      The following message will be displayed.
  310.  
  311.         Key in disk characteristics as follows: ccc h rrr ppp ee oo where
  312.         ccc  = total number of cylinders (1-4 digits)
  313.         h    = number of heads (1-2 digits)
  314.         rrr  = starting reduced write cylinder (1-4 digits)
  315.         ppp  = write precomp cylinder (1-4 digits)
  316.         ee   = max correctable error burst length (1-2 digits)
  317.         oo   = CCB option byte (1 hex digit)
  318.  
  319.         Enter each value separated by a space and follow the complete
  320.         entry with a RETURN.
  321.  
  322.         EXAMPLE:
  323.  
  324.                         306 4 128 128 11 5CR
  325.  
  326. 6.      CPU response:
  327.  
  328.         Are you virtually configuring the drive - Answer Y/N
  329.  
  330.         Enter a "Y" and RETURN for yes or "N" and RETURN for no.
  331.  
  332.                         Y CR or N CR
  333.  
  334. 7.      If Yes, the following message is displayed.
  335.  
  336.         Key in virtual drive list as vvvv ...
  337.         where vvvv = virtual drive size (1-4 digits)
  338.  
  339.         Enter two cylinder numbers, separated by a space and followed by
  340.         a RETURN.  See page XX.
  341.  
  342.         NOTE:  The sum of these two numbers cannot exceed the maximum
  343.         number of available cylinders.
  344.  
  345.         EXAMPLE:
  346.                         153 153CR
  347.  
  348.         If no, continue to next step.
  349.  
  350. 8.      The following message will be displayed.
  351.  
  352.         Press "y" to begin formatting drive d with interleave ii.
  353.  
  354.         NOTE: d = relative drive number and ii = interleave factor.
  355.  
  356.         Type "Y" followed by a RETURN.
  357.  
  358.                         Y CR
  359.  
  360. 9.      System responses:
  361.  
  362.         If any key other than "Y" is typed, the program displays the
  363.         following message and returns the operator to DOS.
  364.  
  365.         CPU response:
  366.  
  367.         Nothing done exit - returning to system...
  368.         A>
  369.  
  370.         If an error occurs while formatting, the program will
  371.         immediately terminate, display the following error message, and
  372.         return the operator to DOS.  XX is the hexadecimal S-WX2 BIOS
  373.         completion code.  See page XX.
  374.  
  375.         CPU response:
  376.  
  377.         Error ---- completion code XX
  378.         A>
  379.  
  380.         If "Y" is typed, formatting is initiated.  If there are no
  381.         resulting errors, the program displays the following message.
  382.  
  383.         CPU response:
  384.  
  385.         Do you want to format bad tracks - answer Y/N
  386.  
  387.         The user should type "Y" and a RETURN for yes; "N" and a RETURN
  388.         for no.
  389.  
  390.                         Y CR or N CR
  391.  
  392.         The user is prompted to enter, via the keyboard, a bad track
  393.         list.  This list should be provided by the drive manufacturer.
  394.         However, due to DOS limitations, this procedure is not
  395.         recommended.
  396.  
  397.         Because of the logical addressing used by DOS, marking an entire
  398.         track bad will result in more than one logical address being
  399.         marked bad.  As DOS can only accept a limited number of defects,
  400.         a drive with excessive media defects may cause the FORMAT
  401.         program to terminate with an error.  The displayed error is
  402.         typically, "TRACK 00 BAD - DRIVE UNUSABLE."
  403.  
  404.         As a recommended alternative, execution of the DOS utility
  405.         program FORMAT should correctly locate and deallocate all
  406.         media defects.
  407.  
  408. 10.     If yes, the following message is displayed.
  409.  
  410.         Key in bad track list as follows: ccc h ...
  411.         where
  412.         ccc  = bad track cylinder no (1-4 digits)
  413.         h    = bad track head number (1-2 digits)
  414.  
  415.         Type in the cylinder and head numbers for the bad tracks,
  416.         separate them with spaces, and follow with a RETURN.
  417.  
  418.         EXAMPLE:
  419.  
  420.                 160 1 161 1 304 3 223 4 223 2 CR
  421.  
  422.         The bad track message will be displayed again.  To terminate
  423.         bad track entry, type "N" followed by a RETURN.
  424.  
  425.                         N CR
  426.  
  427. 11.     The following message is displayed.
  428.  
  429.         Format Successful - Returning to system
  430.  
  431. If a second drive is to be formatted, repeat steps 2 through 12 with d =
  432. 01.  Otherwise, continue with step 12.
  433.  
  434. 12.     Load and execute the FDISK and FORMAT utilities.  Refer to your
  435.         DOS manual for further information on these utilities.
  436.  
  437. -------------------------------------------------
  438. | CODES |  COMPLETION CODE SUMMARY              |
  439. -------------------------------------------------
  440. |  01   |  Bad Command                          |
  441. |  02   |  Address Mark Not Found               |
  442. |  04   |  Sector Not Found                     |
  443. |  05   |  Reset Failed                         |
  444. |  07   |  Set Parameters Failed                |
  445. |  09   |  Attempt to DMA Across 64K Boundary   |
  446. |  0B   |  Bad track                            |
  447. |  10   |  Uncorrectable Data Error             |
  448. |  11   |  ECC Error Corrected                  |
  449. |  20   |  Controller Failure                   |
  450. |  40   |  Seek Failure                         |
  451. |  80   |  Time-out                             |
  452. |  BB   |  Undefined Error                      |
  453. |  FF   |  Read Status Failed                   |
  454. -------------------------------------------------
  455.                 S-WX2 Error Codes
  456.  
  457. ---------------------------------------------------------------------------
  458. | BIOS  |   DRIVE 1   |   DRIVE 0   | FORMATTED  |       |      |PRE-COMP |
  459. | TABLE | SW1-1 SW1-2 | SW1-3 SW1-4 | CAPACITY   | HEADS | CYLS |  RWC    |
  460. ---------------------------------------------------------------------------
  461. |   0   | CLOSE CLOSE | CLOSE CLOSE |  20 MB     |   4   |  612 |None(613)|
  462. |       |             |             |            |       |      |         |
  463. |       |             |             |            |       |      |         |
  464. |   1   | OPEN  CLOSE | OPEN  CLOSE |  10 MB     |   2   |  612 |   128   |
  465. |       |             |             |            |       |      |   128   |
  466. |       |             |             |            |       |      |         |
  467. |   2   | CLOSE OPEN  | CLOSE OPEN  |  20 MB     |   4   |  612 |   128   |
  468. |       |             |             |            |       |      |None(613)|
  469. |       |             |             |            |       |      |         |
  470. |   3*  | OPEN* OPEN* | OPEN* OPEN* |  10 MB     |   4   |  306 | All(0)  |
  471. |       |             |             |            |       |      |None(306)|
  472. ---------------------------------------------------------------------------
  473. *Factory Setting                SW1 1 through 4 Settings
  474.  
  475.  
  476. -----------------------------------------------------------------
  477. | POSITION | STATUS | STATE                                     |
  478. -----------------------------------------------------------------
  479. | SW1-8    | OPEN   | Reserved for BIOS ROM                     |
  480. | SW1-7    | OPEN   | Reserved for BIOS ROM                     |
  481. | SW1-6    | OPEN   | Reserved for BIOS ROM Virtual option      |
  482. | SW1-5    | OPEN   | Reserved for BIOS ROM Auto-Config option  |
  483. -----------------------------------------------------------------
  484.                         SW1 5 through 8 Settings
  485.  
  486. ---------------------------------------------------------
  487. | Jumper |   Pin   | Status                             |
  488. ---------------------------------------------------------
  489. |  W1    |   2-1   | NORMAL*                            |
  490. |        |   2-3   | Factory test only                  |
  491. |  W2    |   2-1   | NORMAL*                            |
  492. |        |   2-3   | Factory test only                  |
  493. |  W3    | CLOSED  | BIOS ROM enabled*                  |
  494. |        |  OPEN   | BIOS ROM disabled                  |
  495. |  W4    |   2-3   | Device address 320H*               |
  496. |        |   2-1   | Device address 324H                |
  497. |  W5    |   2-1   | BIOS ROM size 32K or 64K*          |
  498. |        |   2-3   | BIOS ROM size 16K                  |
  499. |  W6    |   2-3   | REDUCED WRITE CURRENT (8 heads)*   |
  500. |        |   2-1   | HEAD SEL 3 (16 heads)              |
  501. |  W7    |   2-1   | INTRQ to INTRQ5 on host connector**|
  502. |        |   2-3   | INTRQ to INTRQ2 on host connector  |
  503. ---------------------------------------------------------
  504. CLOSED = Jumper is installed
  505. OPEN = Jumper is not installed
  506. * - As shipped - Jumper is installed
  507. ** - As shipped - Instead of jumper, pins 1 and 2 are joined via an etch
  508.         on the PCB.  To change, the etch must be carefully cut and a
  509.         jumper installed.
  510.