 
EduQuest Advanced Diagnostics Document
 
No part of this publication may be reproduced, transmitted,
transcribed, stored in a retrieval system, or translated into any
language in any form by any means without the written permission of
the International Business Machines Corp.
 
June, 1994.
Version 1.44
 
 
 
1. What is the EduQuest Advanced Diagnostics Program?
 
Welcome to the EduQuest Advanced Diagnostics (EQAD) program.
The EQAD program runs on the EduQuest Thirty, Thirty-cs, Forty, Fifty,
Fifty-cs, Thirty-five and Fifty-five only.  It will not run on any other
brand of hardware. The diagnostics are designed by module so you can
test each hardware component individually.
 
The diagnostic program consists of several files:
 
EQAD.EXE - The EQAD program file.
EAUTO.INF - The auto test procedure file.
EHELP.DAT - The help message file.
ERROR.REC - The error record file.
README.TXT - This documentation addendum.
 
 
 
2. How To Load The Diagnostic Program
 
2.1.	Preparation
 
Before testing, you may need the following:
 
	Math coprocessor -- Needed to test the coprocessor.
 
	Blank Diskette -- Needed to test the diskette drive.
 
	External Serial Loopback Connector -- Needed to test the serial
port(s).  See Appendix A for the loopback diagram.
 
	External Parallel Loopback Connector -- Needed to test the
parallel port.  See Appendix A for the loopback diagram.
 
	External SCSI Loopback Connector -- Needed to test the SCSI
port.  See Appendix A for the loopback diagram.
 
	Parallel Printer -- Needed to test the printer.
 
 
2.2.	Installation
 
You may run the diagnostic program from diskette or from fixed disk.
If you want to run it from the diskette, insert EQAD program diskette
into the diskette drive and boot the machine.  If you want to the
run it from fixed disk, create the directory for diagnostic program,
copy all files from the diagnostic program diskette to the directory,
and launch the program from the fixed disk.  When you run the diagnostic
program from the diskette, make sure you have a backup copy.
 
 
2.3.	Running from Fixed Disk
 
1) Remove any programs or device drivers running in upper memory.
This is necessary to test the processor.  Also, install the mouse
driver if you wish to test mouse functionality.
 
2) From the drive that has the diagnostic program, type "EQAD" and
press [Enter].  An informational dialog box will appear.

*** EQAD Options ***
     
    C:\EQAD> EQAD /?
	 
    Use only for EduQuest Thirty, Thirty-cs, Forty, Fifty, Fifty-cs,
    Thirty-five and Fifty-five.
       ͻ
                  Usage : EQAD [/f<file_name>] [/?]             
       ͼ

       <Command>
         /f : Auto test procedure file name <default:EAUTO.INF>
         /? : Help message

 
2.4.	Main Menu Selection
 
The EQAD is a full-screen diagnostics program with pull-down menu
support. You can start the tests by either pressing the [F10] or [Alt]
key and selecting the appropriate menu item.
 
 
 
3. Running the Tests
 
The tests are designed to be run against each hardware component of
the system.  If a test fails, the failure count for that component
will be incremented in the main display area -- if the component
passes, the pass count will be incremented.  Also, any time an error
is encountered, you are given the option to log it in the ERROR.REC
file.  This file contains a running history of logged errors and can
be displayed at any time.
 
The following sections describe each of the main menu items.
 
 
3.1.	SysInfo Menu
 
 
3.1.1. Configuration
 
When this function is selected the following will be displayed at the
center of the screen:
 
DOS version
EMS version
ROM BIOS Corporation
BIOS date
Processor type
Processor speed
Math coprocessor
ROM disk version
Base memory and available size
Extended memory and available size
Expanded memory and available size
Floppy drive A: and B:
Fixed disk type C: and D:
RS232C serial port base address
Parallel port base address
Video Adapter base address
RAM size, BIOS segment
Keyboard type
Mouse type
 
 
3.1.2. Display Errors
 
This function displays errors that have occurred during test.  For
each error the serial numbers, error codes, error descriptions, and
time of occurrence is displayed.
 
 
3.1.3. Initialize ERROR.REC
 
This function initializes the ERROR.REC file -- creating the file if
it does not exist, removing the entries if it does.
 
 
3.1.4. Run All Tests
 
Run all tests in auto test procedure file.
 
3.1.5. About
 
This function displays a dialog box with information about the EQAD
program.
 
 
3.2.    System Menu
 
The following options are available under the System Menu
 
 
3.2.1. ROM
 
Running this test will test the checksums of the extended BIOS ROM, ROM disk,
Option ROM and system ROM modules. The test range is (C000:0000 - E000:FFFF)
 
 
3.2.2. Planar Board
 
Running this test will run the following tests:
 
- Coprocessor Test
If a coprocessor is installed, this test initializes the chip, checks
data transfer, checks the status word and the tag word, checks
arithmetic function, checks command function, and tests exception
handling.
 
- CMOS R/W Test
This tests the CMOS RAM (10H - 3FH).  The current values of the CMOS
RAM are saved and then restored after completing the test.
 
- SIO Loopback Test
If COM1 is selected, an internal loopback connector is utilized. The
baud rate is set to 19200, 2400 and all combinations of parity, data bits
and stop bits are tested.
 
If COM2 is selected an external loopback connector must be used.  (See
Appendix A for the loopback diagram) The baud rate is set to 19200, 9600,
1200, and 150 while all combinations of baud rate, parity, data bits
and stop bits are tested.
 
- PIO Loopback Test
This tests internal and external loopback and interrupt lines.  You
must attach the PIO loopback connector before testing.  See Appendix A
for the loopback diagram.
 
- Printer Test
This test the printing functions.  You must attach a printer before
testing.
 
- ECP Test
This test the FDC37C665 and it's function. (ECP port test,
FIFO transfer test, DMA transfer test)
 
 
3.2.3. RAM
 
This selection tests 640K base RAM and extended memory up to 4GB.  You
can terminate the program by using [Esc] key at any time during the
test.
 
 
3.2.4. Speaker Test
 
This selection tests the speaker sound.  You must answer either "Y" or
"N" when the question "Did the speaker respond correctly? (Y/N)"
appears.
 
 
3.2.5. Energy Saving Mode Test
This selection tests the Fixed disk and CRT power on/off function.
 
 
3.3.    Video Menu
 
 
3.3.1. Video Function
 
This selection tests all possible video modes.
 
 
3.3.2. Expansion Video Memory
 
This selection tests EGA/VGA registers, Video RAM, Read Mode 0/1 and
Write Mode 0/1/2.
 
 
3.3.3. RAMDAC
 
This selection tests external palette RAM.
 
 
 
3.4.    Disk Menu
 
 
3.4.1. Diskette
 
This selection will run each of the following tests:
 
- Diskette Drive Reset
Resets the diskette drive and displays the status of the diskette surface.
 
- Read/Write Test
This tests the read/write functions of the drive, independent of
diskette quality.  If a bad sector is found, the sector will be marked
for the next test.
 
- Seeking Test
This tests sequential and random seek function.
 
- Motor Speed Measure
This will test the speed of the diskette drive motor 10 times.
Measured speed will be displayed as maximum and minimum speed in
milliseconds.
 
 
3.4.2. Fixed Disk
 
This selection will run each of the following tests.
 
- HDD Reset
Tests the fixed disk device controller.
 
- Read/Write Test
This tests read/write functionality by saving the current data and
testing part of the track..
 
- Seek Test
This test random and sequential seek functionality of the fixed disk
head.
 
- Scan Test
This scans the surface of the fixed disk and displays the error sector
map.
 
 
3.4.3. SCSI Loopback
 
This selection tests the BIOS Checksum ROM, the control/status
register, bus enable, loopback functionality, interrupts and the
select enable bit. You must attach the SCSI loopback connector before
testing.  See Appendix A for the loopback diagram.
 
 
3.5.	Input Menu
 
3.5.1. Keyboard
 
This selection runs the following tests.
 
- Reset Test
This test resets the keyboard by sending a reset command to the
keyboard processor and checking for the correct return value.
 
- KBDC.BAT
Tests the keyboard controller.
 
- Scan Code Test
Tests all of the possible scan codes returned by pressed keys.  The
keyboard screen will be displayed and whenever a key is pressed, that
key will be blink on the displayed keyboard.  When the test is
finished, press the [Esc] key twice to exit. The program supports
several different keyboard layouts.
 
- 3.5.2. Mouse
This selection tests the movement of the mouse and the function of the
mouse buttons.  The mouse device driver must be installed before
testing.
 
 
3.6.	Quit Menu
 
3.6.1. Exit
 
The Exit selection of the main menu will finish the test and return to
DOS environment.  Reset the system before running any other
application software.
 
 
3.6.2. DOS shell
 
This shell will bring up a DOS shell.  Type exit in the shell to
return to the test menu.



4. Automatic Test


4.1. Overview
The Automatic Test is designed to perform the tests without any user
interaction in the sequence defined by auto test procedure file
(default: EAUTO.INF).


4.2. About EAUTO.INF

1) EAUTO.INF file defines automatic test sequence step by step.

   Each step has following format:

   0A [100]	   Seeking test	FDD A: (Sequential)
     	    comment
       3rd option : (0,1)
       2nd option : (0,1,2,3)
       1st option : (0,1)
    Test identifier
   * Test identifier ... Numeric identifier of the test item.
   * 1st option      ... Test on(1)/off(0)
   * 2nd option      ... Test drive or port number
   * 3rd option      ... Test sequential(0)/random(1)

2) You can modify first option only in auto test procedure file.


4.3. How to Run the Automatic Test?

1) Copy EAUTO.INF to another file.
     Example)
       --->  C:\EQAD> copy eauto.inf test.inf <

2) Modify first option if necessary.
     Example)
       --->  C:\EQAD> edit test.inf <

3) Use option [/f<file_name>] in EQAD command line.
     Example)
       --->  C:\EQAD> EQAD /ftest.inf <

4) You can terminate the automatic test by using [Ctrl-C] key
   at any time during the test.


 
Appendix A. Loopback Connection Diagram

   - RS232 Serial Port LoopBack

     1) 25 PIN
                                  Ŀ    Ŀ
	(13) (12) (11) (10) (09) (08) (07) (06) (05) (04) (03) (02) (01)
	                  
	  (25) (24) (23) (22) (21) (20) (19) (18) (17) (16) (15) (14)

     2) 9 PIN
	                Ŀ
	   (05)  (04)  (03)  (02)  (01)
	       Ĵ| |||
	      (09)|(08) |(07) |(06) |
	        | ||||||  |
	(* 22) -  |  |  |  |  |  |  - (* 08)
	(* 20) ----  |  |  |  |  ---- (* 06)
	(* 05) -------  |  |  ------- (* 03)
	(* 02) ----------  ---------- (* 04)

	* ... Pin number in 25 pin connector


   - Printer Port LoopBack

	 Ŀ
	(01) (02) (03) (04) (05) (06) (07) (08) (09) (10) (11) (12) (13)
	                    
	      Ŀ            
 	  (14) (15) (16) (17) (18) (19) (20) (21) (22) (23) (24)(25)
	   


   - SCSI LoopBack

     1) 25 PIN
	           Ŀ
	 Ŀ    
	(01) (02) (03) (04) (05) (06) (07) (08) (09) (10) (11) (12) (13)
	      
	  (14)(15) (16) (17) (18) (19) (20) (21) (22) (23) (24) (25)
	      

     2) 50 PIN

     49 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 09 07 05 03 01
           Ŀ
     50 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 08 06 04 02
     | |  |     | |         |
     | ||||         -- (* 17)
     ||||ٳ
      |  |  |     |  |  ---------- (* 05)
      |  |  |     |  ------------- (* 04)
      |  |  |     ----------------- (* 02)
      |  |  ---------------------- (* 15)
      |  ------------------------- (* 01)
      ----------------------------- (* 03)

	* ... Pin number in 25 pin connector



Appendix B. Error Message (Include Error Status)

B.1. RAM (System, CMOS) ... [01??]

   0100  System RAM   08 xx   10H : High address bus short error
                             20H : Data bus short error
                         Ĵ 30H : Data pattern R/W error
                              40H : Even/Odd bank access error
                              50H : Cell test data Error
                             51H : Cell test address Error
                       08 0000H  08 FFFFH (Error block in 64K unit)

   0102  CMOS RAM R/W error  21 04
                                 0000 0100 (Error bit set)
                               Error address (21H register)


B.2. ROMs (BIOS, Extended BIOS, I/O Card) ... [02??]

   0200  BIOS ROM checksum error
   0201  Extended BIOS ROM error      00 AL : Byte checksum Error value
						     - socket on CPU board
   0202  I/O Card ROM error           00 AL : Byte checksum Error value
						     - EGA card BIOS & etc.
   0203  ROM Disk data compare error	xx xx  Data Pattern
					  Error BANK number
   0204  ROM Disk checksum error	xx xx  Checksum byte
					  Error BANK number
   0205  Option ROM bank checksum error xx xx  Checksum byte
					 Error BANK number
					 Error 32K block number


B.3. Speaker ... [03??]

   0300  Speaker Error


B.4. Mouse ... [04??]

   0400  Mouse test error
   04F0  Mouse not installed error


B.5. NPX (Numeric Processor Extension) ... [05??]

   0500  NPX Initialize test error
   0501  NPX Control word initialize test error   xx xx  Control word
   0502  NPX Status word initialize test error    xx xx  Status word
   0503  NPX Tag word initialize test error       xx xx  Tag word
   0504  NPX 8 stack register Xfer test error
   0505  NPX Status word test error
   0506  NPX IE of status word test error         xx xx  Status word
   0507  NPX DE of status word test error         xx xx  Status word
   0508  NPX ZE of status word test error         xx xx  Status word
   0509  NPX UE of status word test error         xx xx  Status word
   050A  NPX PE and OE of status word test error  xx xx  Status word
   050B  NPX PE of status word test error         xx xx  Status word
   050C  NPX Tag word test error                  xx xx  Tag word
   050D  NPX Tag load, store test error           xx xx  Store value from NPX
   050E  NPX Arithmetic test error                xx xx  Status word
   050F  NPX FSAVE, FRSTOR command test error     xx xx  Status word
   0510  NPX 6 EA Exception test error
   0511  NPX Exception DM test error              xx xx  Status word low byte
                                                    NPX Exception occur byte
   0512  NPX Exception ZM test error              same as above
   0513  NPX Exception UM test error              same as above
   0514  NPX Exception OM test error              same as above
   0515  NPX Exception IM test error              same as above
   0516  NPX Exception PM test error              same as above


B.6. DPMS ... [06??]

   0600  CRT power on/off test error
   0601  Fixed disk power on/off test error


B.7. Keyboard ... [07??]

   0700  Keyboard processor reset error    00 0D  received code other than AAH
   0701  Keyboard controller BAT error
   0702  Keyboard scan code test error


B.8. Video Functions ... [08??]

   0800  Video display test error
   0801  Color attribute test error
   0802  Color character set test error
   0803  80X25 mode test error
   0804  40X25 mode test error
   0805  80X60 mode test error
   0806  100X50 16 color test error
   0807  320X200 palette 0 test error
   0808  320X200 palette 1 test error
   0809  640X200 2 color test error
   080A  640X200 16 color test error
   080B  640X350 16 color test error
   080C  640X480 16 color test error
   080D  720X512 16 color test error
   080E  800X600 16 color test error
   080F  1024X768 16 color test error
   0810  320X200 256 color 1 test error
   0811  320X200 256 color 2 test error
   0812  640X480 256 color test error
   0813  800X600 256 color test error
   0814  1024X768 256 color test error
   0815  1024X768 16 color noninterlace mode test error
   0816  1024X768 256 color noninterlace mode test error
   0830  8 page change test error
   0831  Text scrolling test error
   0832  2 font display test error
   0833  8 font display test error
   0834  Panning/Split screen test error
   0835  Smooth scroll test error


B.9. Expansion Video Memory ... [09??]

   0900  EGA/VGA chip test error
   0901  EGA/VGA general error
   0902  Video base RAM test error
   0903  Video RAM 256K test error
   0904  Video RAM 512K test error
   0905  Video RAM 1M test error
   0906  Read mode 0 test error
   0907  Read mode 1 test error
   0908  Write mode 0 test error
   0909  Write mode 1 test error
   090A  Write mode 2 test error
   090B  Write mode 3 test error
   090C  Switch setting test error
   090D  Reading inactive plane test error
   090E  Reading active plane test error
   090F  Rotation function test error
   0910  Linear address test A0A7 error
   0911  Linear address test A8A15 error
   0912  Cursor address test A0A7 error
   0913  Cursor address test A8A15 error
   0914  Cursor address test A16A17 error
   0915  Bit mask function test error
   0916  Latched data test error
   0917  Even/Odd mode test error
   0918  CRTC/TS/GDC/ATC test error
   0919  Internal register test error
   091A  Ext palette short test error
   091B  Ext palette R/W test error
   091C  Translation ROM data test error
   0970  RAMDAC test error


B.10. Diskette ... [0A??]

   0A00  FDD Reset test error   d0 00  d : Error drive   (0/1)
   0A02  FDD R/W test error     xx xx
                                  h00s ssss  s : Error sector  (1 - 12H)
                                                  h : Error head    (0 / 1)
                                 dttt tttt  t : Error track   (0 - 4FH)
                                                   d : Error drive   (0 / 1)
   0A03  FDD R/W data test error
   0A04  FDD Seeking error      xx dttttttt  d,t : Drive(0/1),track(0-4FH)
                                 d : Error drive   (0 / 1)
   0A05  FDD Motor speed error  d1 96  196 : Time for one rotation
                                 d : Error drive   (0 / 1)
   0A06  Diskette too many times accessed error
   0AF0  Drive not exist error
   0AF1  Drive not ready error  d0 xx  : BIOS(INT13H, AH)
                                 d : Error drive   (0 / 1)
   0AF2  Diskette is unusable error


B.11. Fixed Disk ... [0B??]

   0B00  HDD Reset error      d000 0000 0000 0000  d : Error drive (0 / 1)
   0B02  HDD R/W test error   dhhh h0tt tttt tttt
                                t : Error track (0 - 1023)
                                 h : Error head  (0 - 15)
                               d : Error drive (0 / 1)
   0B03  HDD Seeking error    d000 00tt tttt tttt  t : Error track (0 - 1023)
                               d : Error drive (0 / 1)
   0B05  HDD Scanning test error
   0B06  HDD Reset in seeking test error
                              xx xx  No meaning
                               BIOS(13H) error code(AH)
   0B10  SCSI ROM test
   0B11  SCSI RAM test
   0B12  SCSI Control/Status register test
   0B13  SCSI Data path test
   0B14  SCSI Bus enable bit test
   0B15  SCSI Loopback test
   0B16  SCSI Interrupt enable bit test
   0BF0  Drive not selected error


B.12. Parallel Port Test ... [0C??]

   0C00  PIO Internal data port R/W test error
         0p xx
            Error bit set
           Error port# (LPT 0/1)
   0C01  PIO Internal control port R/W test error
         0p xx
            Error bit set
           Error port# (LPT 0/1)
   0C02  PIO External Loopback test error
         0p xx
            0 0 0 1 1 1 1 1      Error pin combination
                                              (02)(15)
           Error port# (LPT 0/1)          (01)(13)
                                             (12)(14)
                                            (10)(16)
                                           (11)(17)
   0C03  PIO Interrupt test error
         0p xx
            No meaning
           Error port# (LPT 0/1)
   0C04  Printing test error
         0p xx
            No meaning
           Error port# (LPT 0/1)
   0C10  ECP port test error
   0C11  ECP port is not valid error  00 xx  Readed ECR reg
   0C12  ECP FIFO transfer test error
   0C13  FIFO interrupt test error
   0C14  FIFO read test error
   0C15  FIFO compare test error
   0C16  ECP DMA transfer test error
   0C17  DMA interrupt test error
   0C18  DMA read test error
   0C19  DMA compare test error
   0CF0  Port not selected error


B.13. Serial Port Test ... [0D??]

   0D00  SIO Modem control port test error  xx xx
                                              Test pattern
   0D01  SIO Interrupt test error
   0D02  SIO Baudrate test error            0p xx  no meaning
                                              Error port# (COM 1/2)
   0D03  SIO RxD     INT test error  Ŀ
   0D04  SIO TxD     INT test error    0p xx
   0D05  SIO Break   INT test error           no meaning
   0D06  SIO DCD/CTS INT test error          Error port# (COM 1/2)
   0D07  SIO DSR/RI  INT test error   
   0D08  SIO Overrun INT test error  
   0D09  SIO Data Send/Receive test error   0p xx  Send ASCII
                                              Error port# (COM 1/2)
   0D0A  SIO Loopback status test error
                               xx xx     ¿
      bbb pp s dd     bbb : 000  110 baud
                              Ŀ     001  150  "
    xxxc tfpo                       pp : x0 none             010  300  "
         o: Overrun  Error          01 odd              011  600  "
         p: Parity   Error          11 even             100 1200  "
         f: Framing  Error                  101 2400  "
         t: Timeout  Error     s  : 0   1 stop bit       110 4800  "
        c: Error Port              1   2 stop bit       111 9600  "
                 (COM 0/1)          
                                    dd : 10  7 bit  data
                                         11  8 bit  data
   0D0B  SIO Interrupt test timeout error
   0D0C  SIO Interrupt baudrate timeout error
   0D0D  SIO Loopback timeout error
   0DF0  Port not exist Error
