[Top] [Prev] [Next] [Bottom]
Chapter 9
Token-Ring (Dual)
Diagnostic Program
This chapter describes the diagnostic program for the dual token-ring interface card. It includes the following sections:
General Description
Executing the Diagnostic Program 211
General Description
The diagnostic program for the dual token-ring interface card includes the following groups of tests:
Figure 9-1 illustrates the menu flow for the dual token-ring diagnostic program. For information on error logging and error statistics, refer to Chapter 2.
Port Configuration
You can configure ports 0 and 1 differently for certain tests. If this is the case, the applicable port number appears above the prompt. When a port number does not appear above the prompt, your entry applies to both ports.

Figure 9¯1 Dual Token-Ring Diagnostic Menu Flow

Executing the Diagnostic Program
To run the dual token-ring diagnostic program, boot the router diagnostic program. Chapter 1 provides the boot procedure.
Once the router diagnostic program boots, the screen displays the Mode Menu. Select the Use automatic mode of operation option to automatically run all of the diagnostic programs. Or, select the Use manual mode of operation option to run the diagnostic programs individually. Chapter 1 provides additional information on automatic and manual mode.
To display the main menu for the dual token-ring diagnostic program:
- 1. After the router diagnostic program boots, the console displays the Mode Menu. Select the Use manual mode of operation option and the Main Menu appears.
- 2. From the Main Menu, select the Execute Diagnostics option. This displays the Diagnostic Execution Menu.
- 3. If the dual token-ring interface card has been added to the system configuration using the router diagnostic program, it appears as a menu item on the Diagnostic Execution Menu with a number in the parentheses. Enter the menu item number that lists the dual token-ring interface card. The console displays the following message followed by the main menu for the dual token-ring diagnostic program:
CNX Dual Token Ring Standalone Diagnostic Version #.#
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------I/O Base Address: # Slot Number: #
- 4. If the dual token-ring interface card is not listed on the Diagnostic Execution Menu and/or a number is not in the parentheses, refer to page 15.
- 5. Figure 9-2 summarizes the main menu items for the dual token-ring diagnostic program.
|
Menu Item
|
Function
|
|
5. Adapter Initialization and Selftest
|
Downloads and checks the adapter MAC software, tests the communications processor (CP), protocol handler (PH), and bring-up diagnostics (BUD), and loads the initialization block.
|
|
6. Interrupt Logic Test Group
|
Checks the interrupt logic between the token-ring interface card and the host system using the interrupt bit in the CONFIG register.
|
|
7. CAM Initialization and Adapter Interface Test
|
Initializes the CAM and checks the CAM adapter interface.
|
|
8. All of the Above
|
Runs all of the tests listed above this menu item.
|
|
9. CAM Integrity Test Group
|
Tests the integrity of the CAM chips using a write, read, and compare sequence.
|
|
10. Loopback Test Group
|
Checks the open, transmit, and receive functions of the token-ring interface card when it is not connected to a network.
|
|
11. TMS380SRA Test Group
|
Checks the integrity of the MERLIN chip. This test connects the port to a private ring and configures the MERLIN chip to capture source routed frames. The port generates source routed traffic to the MERLIN chip and checks that this traffic is received by the token-ring interface card.
|
|
12. Network Test Group
|
Checks the transmit, receive, and echoing capabilities of the dual token-ring interface card when it is connected to a network.
|
|
A. Toggle Diagnostic Flags
|
Displays the Router Diagnostic Flow Control Flags Menu.
|
|
B. Setup Diagnostic Parameters
|
Displays the Router Diagnostic Parameters Setup Menu.
|
|
C. Setup Token-Ring Parameters
|
Displays the Setup Token-Ring Parameters Menu.
|
Figure 9¯2 Token-Ring Diagnostic Main Menu
For information on the Router Diagnostic Flow Control Flags Menu and the Router Diagnostic Parameters Setup Menu, refer to Chapter 2. The next section describes the Setup Token-Ring Parameters Menu.
Setting the Token-Ring Parameters
You can set the parameters for some of the diagnostic tests. This option is available if the menu lists Setup Token-Ring Parameters as an item. Figure 9-3 describes the Setup Token-Ring Parameters Menu.
Figure 9¯3 Setup Token-Ring Parameters Menu
Setting the Test Data Patterns
When you run certain tests, the screen displays a Data Pattern Menu to select the data patterns written to the register during the test. Figure 9-4 describes the Data Pattern Menu.
Figure 9¯4 Data Pattern Menu
Host Processor Interface Bus Test Group
This group tests the interface logic between the CPU board and the dual token-ring interface card. Figure 9-5 describes the Host Processor Interface Bus Test Group Menu.
Figure 9¯5 Host Processor Interface Test Group Menu

|
|
Menu Item
|
Function
|
|
0. Return to previous menu
|
Displays the previous menu.
|
|
1. SIFDAT-SIF Data Register
|
SIFDAT is a data register that works with the SIFADR and SIFADX address registers. This test checks the SIFDAT data register function using a write, read, and compare sequence.
|
|
2. SIFDAT/INC-SIF Data/Increment Register
|
SIFDAT/INC is a data register that works with the SIFADR and SIDADX address registers to perform indirect access of the token-ring interface card memory. Following each word access, the address in SIFADX/SIFADR automatically increments by two to point to the next word in memory.
|
|
3. SIFCMD/STS-SIF Command and Status Register
|
SIFCMD is the command register and SIFSTS is the status register. Low-level command and status information is passed via these registers. This test checks bit 0 (INTERRUPT_ADAPTER) and bit 6 (RECEIVE_VALID) of the SIFCMD register using a write, read, and compare sequence.
|
|
4. SIFACL-SIF Adapter Control Register
|
The SIF adapter control register (SIFACL) enables the host processor to control and, to some extent, reconfigure the token-ring interface card under software control. This test writes, reads, and compares bits 7, 9, and 10 and restores the register to its reset value when done. Bits 0, 1, 2, 3, 11 and 15 of this register always read zero and bit 14 always reads one.
|
|
(continues)
|
Figure 9¯6 SIF Registers for LAN Port # Menu
Adapter Memory Test Group
This group tests the memory data and address buses. Figure 9-7 shows the menu flow for the adapter memory test group. Descriptions of the menus follow this figure.

Figure 9¯7 Adapter Memory Test Group Menus
Figure 9¯8 Adapter Memory Test Group Menu
Figure 9¯9 Adapter Memory Test for LAN Port # Menu
Figure 9¯10 Adapter Memory Data Bits Test Group Menu
Figure 9¯11 Adapter Memory Addressing Test Group Menu
Figure 9¯12 Adapter Memory Chapters # through # Menu
Adapter Driven DMA Test Group
This group tests the DMA functionality of the TMS380C16 COMMprocessor by passing blocks of data between host buffer memory and the token-ring interface card memory. Figure 9-13 describes the Adapter Driven DMA Test Group Menu.
Figure 9¯13 Adapter Driven DMA Test Group Menu
Figure 9¯14 Adapter Driven DMA Test for LAN Port #
Bus Arbitration Test Group
This test group checks whether direct and indirect access of token-ring interface card memory can occur simultaneously. Figure 9-15 shows the menu flow for the bus arbitration test group. Descriptions of the menus follow this figure.

Figure 9¯15 Bus Arbitration Test Group Menus
Figure 9¯16 Bus Arbitration Test Group Menu
Figure 9¯17 Intra-port Arbitration Test for LAN Port # Menu
Figure 9¯18 Inter-port Arbitration Test Menu
Adapter Initialization and Selftest
This test performs the following operations for each port:
- 1. Loads the TMS380C16 MAC firmware.
- 2. Executes the built-in Bring-up Diagnostics (BUD) to confirm the existence and validity of executable code.
- 3. Loads the initialization block containing the MAC code parameters.
- 4. Executes the initialization and checks its completion status.
Figure 9¯19 Adapter Initialization and Selftest Menu
Interrupt Logic Test Group
This group tests the interrupt logic between the token-ring interface card and the host system using the interrupt bit in the CONFIG register.
Figure 9¯20 Interrupt Logic Test Group Menu
Figure 9¯21 Interrupt Logic Tests for LAN Port # Menu
CAM Initialization and Adapter Interface Test
This group initializes the content addressable memory (CAM) and checks the CAM adapter interface. Figure 9-22 shows the CAM Initialization and Adapter Interface Test Menu.
Figure 9¯22 CAM Initialization and Adapter Interface Test Menu
Figure 9¯23 CAM Tests for LAN Port #
CAM Integrity Test Group
This group tests the integrity of CAM using a write, read, and compare sequence. Figure 9-24 shows the CAM Integrity Test Group Menu.
Figure 9¯24 CAM Integrity Test Group Menu
Figure 9¯25 CAM Integrity Tests for LAN Port # Menu
Loopback Test Group
This group tests the transmit and receive capability of the dual token-ring interface card when it is not connected to a network. Figure 9-26 describes the Loopback Test Menu.
Figure 9¯26 Loopback Test Menu

|
|
Menu Item
|
Function
|
|
0. Return to previous menu
|
Displays the previous menu.
|
|
1. Local Loopback Test - Broadcast Address
|
Tests the open, transmit, and receive operations of the dual token-ring interface card using a broadcast address. To run this test, note the following:
¯ If the dual token-ring interface card is connected via an STP media cable, local loopback is done at the end of the cable.
¯ If the dual token-ring interface card is connected via a UTP media cable, the local loopback test requires a media cable connected to a wire center and a switchbox.
|
|
2. Local Loopback Test - Node Address
|
Tests the open, transmit, and receive operations of the dual token-ring interface card using the BIA ROM address. To run this test, note the following:
¯ If the dual token-ring interface card is connected via an STP media cable, local loopback is done at the end of the cable.
¯ If the dual token-ring interface card is connected via a UTP media cable, the local loopback test requires a media cable connected to a wire center and a switchbox.
|
|
(continues)
|
Figure 9¯27 Loopback Tests for LAN Port #
TMS380SRA Test Group
This group tests the functionality of the source routing accelerator. Figure 9-28 describes the TMTMS380SRA Test Menu
Figure 9¯28 TMS380SRA Test Menu
Figure 9¯29 TMS380SRA Tests for LAN Port # Menu
Network Tests Group
This group tests the transmit, receive, and echoing functions of the dual token-ring interface card when it is connected to a network. Before you run the network tests, note the following:
- 1. Select an operational node for testing.
- 2. Set the ARP timers to zero so that the ARP cache does not expire. At the operational node, enter set refresh-timer 0 after the ARP config> prompt. For further information on configuring ARP, refer to the Bridging Router Protocol Configuration Guide, Volume 1.
- 3. Boot the router that is running the diagnostics via the operational node. Chapter 1 provides the boot procedure.
- 4. From the router that is running diagnostics, display the Dual Token-Ring Diagnostic Main Menu and select Network Tests Group. Figure 9-30 describes the Network Tests Group Menu and Table 9-1 lists the steps to run the network tests.
Figure 9¯30 Network Tests Group Menu
Figure 9¯31 LAN Port # (Not Configured) Menu

Figure 9¯32 Network Test Statistics Screen
[Top] [Prev] [Next] [Bottom]
docs@openroute.com
Copyright © 1997, OpenROUTE Networks, Inc. All rights
reserved.