This is a reference for the ENET diagnostic program Version 2.10 (ENETDiag Ver. 2.10). With the proper setup, this program can test the following network peripherals: a) ReadyLINK Multi-media Concentrator b) ReadyLINK 10 BASE-T Concentrator TP2000 c) COMPEX ENET Repeater d) ReadyLINK ENET16/U e) ReadyLINK ENET16-COMBO f) ReadyLINK ENET16-TP g) ReadyLINK ENET/U This appendix will be divided into three sections: a) "Starting up": It tells you how to start the program. b) "Menus and Options": It provides guild-lines to each menu item and dialogue box. It is arranged in the order that the menus appear on the screen. c) "Setup for testing": It tells you how to setup the system to test different network peripherals. A) Starting up You can run the ENETDiag Ver. 2.10 in the DOS environment only. By typing ENETDiag [option] at the DOS prompt, the diagnostic program will be invoked. The command-line options are case-insensitive and are -t , -f(filename) or /t, /f. By default, the AUI (attachment unit interface) cable and coaxial cable modes are selected. The option, -t, sets the program for using twisted-pair cable in the network. NOTE: The type of medium you have selected is displayed on the top right-hand corner of the main menu. The option, -f(filename), causes the diagnostic program to load the configuration file as the initial settings for the cards. NOTE: The argument, (filename), should include the full pathname, where applicable. B) Menus and Options The arrangement of the menus and options are shown below. Main ³ ÚÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ ³ ³ ³ Setup Test View Exit ³ ³ ³ ³ ÃEdit ÃInitialization ÃTest Log ÃResume ³ ³ ³ ³ ÃLoad ÃRAM ÃJumper ÀExit to DOS ³ ³ ³Setting ÀSave ÃIRQ ³ ³ ÀCard ID ÃLoopback ³ ÀTx and Rx Setup Menu ***************************************************************** This menu appears on the top left of the menu bar. It lets you set up the test environment. You can load a file storing the settings used before and can save the current setup in the file for further use. The menu provides you with three commands: Edit, Load and Save. ÚÄÄÄÄÄÄ¿ ³ Edit ³ ÀÄÄÄÄÄÄÙ This command allows you to configure each card to be tested. The maximum number of cards supported by the program is four (4). In this menu, you can use Left and Right arrow keys ( <- and -> ) to choose different card and use Up and Down arrow keys (  and  ) to choose the option of a card. If you want to change the setting of an option, you can press "ENTER" key when the selection bar is over the option. Then a small selection menu will appear on the top left hand corner. Use the arrow keys to choose the setting you like and press "ENTER" to confirm the change. The setting is updated on the "Edit" screen immediately after leaving the selection menu. Sometimes, the settings of other options are changed if the setting of a related option is altered. For example, the option "RAM Address" is changed to "NA" (not applicable") if you change the mode to "NE2000XT". Press "ESC" key to quit from the selection menu. Pressing it again in the "Edit" screen, lets you quit from the "Edit" menu. This menu provides the following options: a) Status: The status of any card you want to test has to be set to "SELECT" before the program will recognize the card and test it. Any card with status, "UNSELECT", will be regarded as un-installed even it is installed in your system. b) Type: This program supports two types of ethernet network adapters: 16-bit adapters including: i) ReadyLINK ENET16/U; ii) ReadyLINK ENET16-COMBO & iii) ReadyLINK ENET16-TP) and one 8-bit adapter including: i) ReadyLINK ENET/U. c) Mode: Our network adapters can emulate different working modes in order to support the device drivers provided by other companies such as Western Digital. For an 8-bit network adapter, two modes are supported: i) WD8 (8-bit) mode: This is the Western Digital mode. ii) NE1000 mode: This mode is software-compatible with the Novell NE1000 network adapter. For a 16-bit adapter, it emulates up to five modes: i) CPX16 (16-bit) mode: This is the Compex mode. ii) WD-Plus: An adapter configured in this mode is software-compatible with the Western Digital Ethercard Plus16 adapter. iii) NE1000: If the card is plugged in a 8-bit or 16-bit slot and is programmed to NE1000 mode, it works exactly as ENET/U in NE1000 mode. NOTE: This mode is supported only if the network adapter uses the COMPEX ASIC chip EN90293-118. iv) NE2000XT: An adapter configured in this mode is software-compatible with the Novell NE2000 card. This mode is used if you want to use the NE2000 mode and the card is plugged in a 8-bit slot. v) NE2000AT: This mode is the same as NE2000XT except that the card is installed in a 16-bit slot. d) RAM size: This option allows you to specify the size of RAM on the adapter. On an 8-bit adapter, 8K or 32K RAM can be chosen. Size of RAM on the 16-bit adapter is either 16K or 64K. e) RAM address: With the exception of the Novell mode, the memory on the adapter is mapped to the system memory map by the diagnostic program. This option specifies the base address on the system memory map. Except WD-Plus mode, which occupies 16K system memory spaces, all modes only use 8K memory spaces. NOTE: Please remove the BOOT ROM from the network adapter when testing your card(s) because it will occupy the system memory spaces. NOTE: Before setting this option, MAKE SURE that the base address does not conflict with addresses occupied by other adapters. If two adapters use same memory spaces, the program MAY HANG. f) I/O address: A set of registers on the adapter are configured by the diagnostic program. You use this option to specify the base I/O address of each card. NOTE: Before setting this option, CHECK the base I/O addresses of other adapters carefully. g) IRQ number: Each adapter occupies one system interrupt line. NOTE: CHECK this option carefully before starting the test, otherwise the system MAY HANG. When the program is invoked, all cards have their default options but their status are set to "UNSELECT". All settings of options you changed in the program will not be saved automatically when you exit. If you want to use the same set of settings again, you can use option, "Save", to store them in a file. ÚÄÄÄÄÄÄ¿ ³ Load ³ ÀÄÄÄÄÄÄÙ The configuration file contains the information about the settings of each card. This file is not a text file and can not be edited by the user. It is protected by the stored checksum. The file is corrupted if the calculated checksum is different from the stored one. The command lets you load a configuration file from the diskette. After loading it, the settings on the "Edit" menu will be overwritten. The length of filename (including the pathname) is restricted to 30 letters only. ÚÄÄÄÄÄÄ¿ ³ Save ³ ÀÄÄÄÄÄÄÙ This menu lets you save the current settings on the "Edit" menu. The diagnostic program calculates a checksum to ensure integrity of the configuration file. Similarly, the length of the filename (including the pathname) is also limited to 30 letters. Test Menu ***************************************************************** After preparing all settings of the cards, you can start the tests in this menu. Five tests are available for you to test the functionality of different parts of the network adapter. However, you should NOTE that sometimes the test results of a test may depend on results of other test. For this reason, you SHOULD follow the test sequence on the menu, otherwise, the test results may be INVALID. The layout of the test menus are similar and are designed for four cards. Only the test results of the cards under the test will be shown on the screen. An message, "UNSELECT" is displayed if the card is not under the test. In each menu, there are several options for you to choose. They are listed as follows: a) Iteration: You can specify the number of iterations the test performs. If the iteration is greater than 30000, then the program will run infinite times. The duration of the test depends the numbers of the cards under the test and the iterations. By default, the iteration counter is set to 100. b) Test Mode The test mode specify how to stop the test when the test finds any error. In this option, "Test Mode", you can choose one of the following: i) Stop if errors In this mode, the test will be stopped when a error is found, even if the iteration count is not completed. The program shows the count of successful iterations during the test and shows the test result, either "Passed" or "Failed" when the test is stopped. If an error is found, the cause of the error will be shown on the screen for debugging purpose. ii) Continue: If you want to obtain the failure rate (failed iterations / total iterations) of a test, you can choose this mode. Under this mode, the test will be stopped only at the end of the test according to the iteration count specified. During the test, the program updates the counts of the successive and failed iterations according to the test results. You should note that the program does not provide the causes of the errors in this mode. You can stop the test at any time manually by pressing the any key. NOTE: DON'T press the keys too frequently after starting the test. c) Start This command starts the test at any time. Once you start the test, the test results will be shown on the screen. If you want to re-start a test, this command can be used. But the program will request you to confirm that you wish to clear the previous test results before starting a new test on all installed cards. Moreover, this command will start initialization test on the cards automatically at the first time that you test the card(s). d) View This command lets you view the causes of error(s) of the card(s) in the latest test. During the test, the error messages for each card will be shown in a message box and will be erased from the screen if you continue the test on the other cards. You can use this command to review these error messages on all cards after the test. This command is supported only in "Stop if errors" mode. e) Exit In the test menu, you can quit only when you choose this option. In order to let you start the test properly, the following paragraphs will describe the setup and the function of each test. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Initialization ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ a) Initialization Test This test should be done before starting any test. You can start the test in this menu manually or the program will start it automatically before other tests start in other test menus. In this test, all registers will be tested and verified. If a card passes this test, the card ID will be shown on the screen. Other tests will not check a card that has FAILED in this test. You should plug OUR network adapter in the proper slot and set the base address of I/O map to the correct location. ÚÄÄÄÄÄ¿ ³ RAM ³ ÀÄÄÄÄÄÙ b) RAM Test The program checks every memory module on the network adapter by the read-after-write tests. These tests can verify the address and data paths and the memory modules separately. You should choose a proper base address on the system memory map for the memory on the network adapter. A wrong base address will cause the data crashes and the system to halt. Moreover, the size of RAM should be correctly stated. ÚÄÄÄÄÄ¿ ³ IRQ ³ ÀÄÄÄÄÄÙ c) IRQ Test This test checks the interrupt line between the network adapter and the system board. The test initializes the transmission of frames through the adapter and then checks the interrupt line on the system. You can proceed with this test even if the adapter fails in the RAM Test. You should choose a interrupt line that DOES NOT conflict with other adapters' settings, otherwise the system MAY HANG. Moreover, the adapter must be properly terminated. ÚÄÄÄÄÄÄÄÄÄÄ¿ ³ Loopback ³ ÀÄÄÄÄÄÄÄÄÄÄÙ d) Loopback Test This test checks the loopback circuits on the adapter. It can't be proceeded if either RAM and IRQ Tests failed. You should terminate the adapter properly. ÚÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Tx and Rx ³ ÀÄÄÄÄÄÄÄÄÄÄÄÙ e) Transmit (Tx) and Receive (Rx) Test Unlike the other tests, this test requires at least two inter-connected network adapters. The test will initialize the transmission of frames from every card to the others at any time. Its objective is to test the functionality of the network adapter under the network traffic conditions. In this test, the card is fully tested. A card that has passed all above tests, can then proceed with this test. View Menu ***************************************************************** This menu enables you to check the latest test results, the card's configuration and the card identification code. ÚÄÄÄÄÄÄÄÄÄÄ¿ ³ Test Log ³ ÀÄÄÄÄÄÄÄÄÄÄÙ In each test menu, you can only view the test results for a card under that test. If you want all test results for a card, you can use this menu. In this menu, all test results of the five tests will be shown. For different test mode, the display format is different. If a test on the card uses "Continue" mode, the "Passed" or "Failed" message will be shown only. If "Stop at any error" mode is used, both counts of successive and failed iterations are displayed together. The count of successive iterations is shown on the left hand side. The program will search for a card tested before and shows its test results. If you have not started any tests before, the menu shows nothing. You should NOTE that all test results will be cleared if you change the setting in the "Setup-Edit" menu. You can use the "Choose" command to view the test results of another card provided that the card has been tested. ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿ ³ Jumper Setting ³ ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ This command lets you to check that the jumper settings on the network adapter board are correctly matched to the settings you have chosen in the "Setup-Edit" menu. Three sets of jumpers: a) mode and memory size b) I/O base address c) IRQ can be checked here. This command is used before installing the network adapters on the system. So you should use this command to verify the jumper settings on the adapter after making any changes. The settings of any card with status "SELECT" will be shown in the menu. You can view another by using "Choose" command. However, you can not change the jumper settings in this menu. ÚÄÄÄÄÄÄÄÄÄ¿ ³ Card ID ³ ÀÄÄÄÄÄÄÄÄÄÙ Each card has a unique identification (ID) code, called card ID. During the Initialization Test, this ID is read from the card and is shown on the screen if it can pass the test. This command lets you to view cards's ID that have passed the Initialization Test. C) Setup for testing This diagnostic program can test two types of network peripherals: concentrator (or repeater) and network adapter. Before testing the network adapters, you should carefully set all jumper settings and use "View-Jumper Setting" in ENETDiag to check the settings. Then install them on your system and connect them through the appropriate cables. If coaxial cable is used, you should check all terminations to ensure that all of them are connected TIGHTLY. Then you can start the diagnostic program. For testing of the concentrators or repeaters, the setup procedures are similar. But the way to interpret the results are different. If you have confirmed that the network adapters that are used to test the repeaters/concentrators are OK, then the test results are referring to the ports on the repeater/concentrator instead. NOTE: If you want to test a concentrator or repeater using more than one station, you should not start the Interrupt Test or the Tx-and-Rx Test while any one of the stations is running the Loopback Test.