[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
0. Return to previous menu Displays the previous menu.
1. Host Processor Interface Bus Test Group Checks the interface between the CPU board and the dual token-ring interface card. A write, read, and compare is done to the 16-bit diagnostic register on the interface card. If the actual and expected values do not match, the console displays an error message. This menu item displays a Data Pattern Menu (Figure 9-4).
2. Adapter Memory Test Group Checks the integrity of DRAM on the dual token-ring interface card. A write, read, and compare is done to the available memory space on the token-ring interface card. If the actual and expected values do not match, the console displays an error message. This menu item displays a Data Pattern Menu (Figure 9-4).
3. Adapter Driven DMA Test Group Checks the DMA functionality of the TMS380C16 COMMprocessor by passing blocks of data between host buffer memory and the token-ring interface card memory.
4. Bus Arbitration Test Group Checks whether direct and indirect access of the token-ring interface card memory can be done simultaneously.
(continues)

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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
C. Set Source Node Address Reads the address from BIA ROM as the source node address and displays the following prompt:
Input port # token-ring source address
[xx:xx:xx:xx:xx:xx]:.

D. Set Destination Node Address Displays the following prompt to enter a destination node address:
Input port # token-ring destination 			address [xx:xx:xx:xx:xx:xx]:.

(continues)

Menu Item Function
E. Set Ring Transmission Speed (4/16 Mbps) Displays the following prompt to set the media transfer rate as 4 or 16 Mbps:
Please enter desired ring speed for port # 	(4/16)[#]:.

F. Set Media (UTP/STP) Displays the following prompt to set the media type as UTP or STP:
Please enter desired media type for 
port #(UTP/STP) [xxx]:.

G. Set User Defined Data Displays the following prompt:
Enter a data pattern (0 <= pattern <= 
FFFF)[#]:.

H. Set Number of Installed CAMS Displays the following prompt to specify the number of installed CAMS:
Enter the number of installed CAMs
(0 <= number CAMs <= 2 [#]:

I. Display Dual Token-Ring Parameters Displays the following information:

Token-Ring Adapter Settings:
*Port # Source Address:
*Port # Destination Address:
*Port # Ring Transmission Speed:
*Port # Media Type:
*Port # has # CAMs installed
*User data = #

Type 'c' to continue

J. Start DDT Starts the DDT debugger.

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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. All Zeros Writes all zeros to the register.
2. All Ones Writes all ones to the register.
3. Alternating Zeros and
Ones
Writes alternating zeros and ones to the register.
4. Alternating Ones and
Zeros
Writes alternating ones and zeros to the register.
5. Walking Zero Writes a word pattern of ones with a zero moving through the word.
6. Walking One Writes a word pattern of zeros with a one moving through the word.
7. All of the Above Runs all of the tests listed above this menu item.
8. User Specified Data
Pattern
Displays the following prompt to enter a data pattern in hexadecimal format:
Enter a data pattern in HEX (0 <=
pattern <= FFFFFFFF) [ ]:
A. Toggle Diagnostic
Flags
Displays the Router Diagnostic Flow Control Flags 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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. MODID Register Test Reads the ID register of the token-ring interface card and checks that the value read is equal to the expected value of 0x6. The screen then displays the ECO level of the token-ring interface card.
2. STATUS Register Test Reads the STATUS register and displays the status of the physical port on the token-ring interface card.
3. CONFIG Register Test Checks the interface between the CPU board and the dual token-ring interface card. A write, read, and compare is done to the 16-bit diagnostic register on the interface card. If the actual and expected values do not match, the console displays an error message.
4. SIF Registers for LAN
Port 0
Displays the SIF Registers for LAN Port # Menu (Figure 9-6) to check the system interface (SIF) registers for port 0.
5. SIF Registers for LAN
Port 1
Displays the SIF Registers for LAN Port # Menu (Figure 9-6) to check the system interface (SIF) registers for port 1.
6. All of the Above Runs all of the tests listed above this menu item.
(continues)
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¯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)

Menu Item Function
5. SIFADR-SIF Address Register (LSByte) This test checks the SIFADR register using a write, read, and compare sequence.
6. SIFADX-SIF Address
Register (MSByte)
This test checks the SIFADX register using a write, read, and compare sequence.
7. All of the Above Runs all of the tests listed above this menu item.
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¯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

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Memory Test Group for LAN Port 0 Checks the integrity of DRAM on the token-ring interface card and the address lines of memory for port 0. This item displays the Adapter Memory Test for LAN Port # Menu (Figure 9-9).
2. Adapter Memory Test Group for LAN Port 1 Checks the integrity of DRAM on the token-ring interface card and the address lines of memory for port 1. This item displays the Adapter Memory Test for LAN Port # Menu (Figure 9-9) to test the memory data bits and addressing.
3. All of the Above Runs all of the tests listed above this menu item.
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¯8 Adapter Memory Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Memory Data Bits Test Group Tests the integrity of DRAM on the dual token-ring interface card using a write, read, and compare sequence. This item displays the Adapter Memory Data Bits Test Group Menu (Figure 9-10).
2. Adapter Memory Addressing Test Group Tests the address lines of the token-ring interface card. This item displays the Adapter Memory Addressing Test Group Menu (Figure 9-11) to test chapters 0 through 1 and chapters 2 through 7.
3. All of the Above Runs all of the tests listed above this menu item.
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¯9 Adapter Memory Test for LAN Port # Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Memory Chapters 0 through 1 Tests the integrity of DRAM for chapters 0 and 1 using a write, read, and compare sequence. Chapter 0 reserves bytes for the burned-in address (BIA), code buffers, and MAC code. Chapter 1 reserves bytes for the interrupt vectors, internal chip registers, external address checker chip, and data storage. This item displays a Data Pattern Menu to select the data patterns written to the register during the test.
2. Adapter Memory Chapters 2 through 7 Tests the integrity of DRAM for chapters 2 through 7 using a write, read, and compare sequence. Chapters 2 through 7 are code or data memory addresses. This item displays a Data Pattern Menu to select the data patterns written to the register during the test.
3. All of the Above Runs all of the tests listed above this menu item.
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¯10 Adapter Memory Data Bits Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Memory Chapters 0 through 1 Tests memory in a write, read, and compare sequence for Chapters 0 and 1. Chapter 0 reserves bytes for the burned-in address (BIA), code buffers, and MAC code. Chapter 1 reserves bytes for the interrupt vectors, internal chip registers, external address checker chip, and data storage. This menu item displays the Adapter Memory Chapters # through # Menu (Figure 9-12).
2. Adapter Memory Chapters 2 through7 Tests memory in a write, read, and compare sequence. Chapters 2 through 7 are code or data memory addresses. This menu item displays the Adapter Memory Chapters # through # Menu
(
Figure 9-12).
3. All of the Above Runs all of the tests listed above this menu item.
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¯11 Adapter Memory Addressing Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Use SIFDAT Register Writes the address of available adapter memory into a corresponding location starting from low memory to high memory. The contents of each location are read back and the contents are checked. The test sequence repeats except that the write starts from high memory and goes to low memory.
2. Use SIFDAT/INC for WRITE only Tests whether the SIFDAT/INC register increments properly when it writes a block of data to the token-ring interface card memory.
3. Use SIFDAT/INC for READ only Tests that the SIFDAT/INC register increments properly when it reads a block of data from the token-ring interface card memory.
4. All of the Above Runs all of the tests listed above this menu item.
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¯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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Driven DMA Test Group for LAN Port 0 Checks the DMA functionality of the TMS380C16 COMMprocessor for port 0. This item displays the Adapter Driven DMA Test for LAN Port # Menu
(
Figure 9-14).
2. Adapter Driven DMA Test Group for LAN Port 1 Checks the DMA functionality of the TMS380C16 COMMprocessor for port 1. This item displays the Adapter Driven DMA Test for LAN Port # Menu
(
Figure 9-14).
3. All of the Above Runs all of the tests listed above this menu item.
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¯13 Adapter Driven DMA Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. DMA - Host to Adapter Data Transfer Using DMA, transfers data blocks of different sizes with specific data patterns from token-ring interface card memory to host buffer memory. The contents of host buffer memory are then read and verified.
2. DMA - Adapter to Host Data Transfer Using DMA, transfers data blocks of different sizes with unique data patterns from host buffer memory to the token-ring interface card memory. The contents of the token-ring interface card memory are then indirectly read and verified.
3. DMA - Host to Adapter to Host Transfer Using DMA, transfers data blocks of different sizes with specific data patterns from host buffer memory to the token-ring interface card memory and back to host buffer memory. The contents of the token-ring interface card memory are then indirectly read and verified.
4. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
(continues)
Menu Item Function
C. Setup Token-Ring Parameters Displays the Setup Token-Ring Parameters Menu.
D. Modify DMA Parameters Displays the following prompts to modify the DMA parameters. The numbers in the brackets are the system defaults.
Enter host starting address 
(E00000 <= address <= E7FFFE)
[E00000]:


Enter adapter starting address
(103FE <= address <= 7FFFE
[20000]:


Enter DMA transfer count (in
words, 32 to 16384) [16384 ]:


Enter DMA burst Size (in words, 1
to 32000)[16]:

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

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Intra-port Arbitration Test for LAN Port 0 Checks the arbitration of the adapter bus internal to the TMS380 for LAN port 0. This item displays the Intra-port Arbitration Test for LAN Port # Menu
(
Figure 9-17).
2. Intra-port Arbitration Test for LAN Port 1 Checks the arbitration of the adapter bus internal to the TMS380 for LAN port 1. This item displays the Intra-port Arbitration Test for LAN Port # Menu
(
Figure 9-17).
3. Inter-port Arbitration Test This item displays the Inter-port Arbitration Test Menu (Figure 9-18).
4. All of the Above Runs all of the tests above this menu item.
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¯16 Bus Arbitration Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. BMI Bus Arbitration with DMA Host to Adapter Writes a block of data to the token-ring interface card memory, starts a DMA read and during the read indirectly accesses the token-ring interface card memory.
2. BMI Bus Arbitration with DMA Adapter to Host Writes to a part of the token-ring interface card memory via DMA. While waiting for the DMA write to complete, a write by indirect access is done to another portion of the interface card memory.
3. All of the Above Runs all of the tests above this menu item.
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.
(continues)

Menu Item Function
D. Modify DMA Parameters Displays the following prompts to modify the DMA parameters. The numbers in the brackets are the system defaults.
Enter host starting address 
E00000 <= address <= E7FFFE)
[E00000]:

Enter adapter starting address
(103FE <= address <= 7FFFE [20000]:

Enter DMA transfer count (in words,
32 to 16384) [16384]:

Enter DMA burst Size (in words, 1 to
32000)[16]:

Figure 9¯17 Intra-port Arbitration Test for LAN Port # Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. DMA LAN Port 0, Slave Accesses LAN Port 1 Performs a DMA transfer on LAN port 0 and generates slave cycles by repetitive accesses to the LAN port 1 SIF status register.
2. DMA LAN Port 1, Slave Accesses LAN Port 0 Performs a DMA transfer on LAN port 1 and generates slave cycles by repetitive accesses to the LAN port 0 SIF status register.
3. Maximum Bus Contention: 1 16-bit word burst Performs DMA on ports 0 and 1 while repetitive slave accesses occur on both ports. The DMA burst size is 1.
4. Maximum Bus Contention: increasing burst Performs DMA on ports 0 and 1 while repetitive slave accesses occur on both ports. The DMA burst size is from 1 to 64K and increases by the power of 2.
5. All of the Above Runs all of the tests listed above this menu item.
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¯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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Initialization and Selftest for LAN Port 0 Initializes and tests LAN port 0.
2. Adapter Initialization and Selftest for LAN Port 1 Initializes and tests LAN port 1.
3. All of the Above Runs all of the tests listed above this menu item.
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¯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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Interrupt Logic Tests for LAN Port 0 Tests the interrupt logic between the token-ring interface card and the host system on port 0. This item displays the Interrupt Logic Tests for LAN Port # Menu (Figure 9-21).
2. Interrupt Logic Tests for LAN Port 1 Tests the interrupt logic between the token-ring interface card and the host system on port 1. This item displays the Interrupt Logic Tests for LAN Port # Menu (Figure 9-21).
3. All of the Above Runs all of the tests listed above this menu item.
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¯20 Interrupt Logic Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Adapter Diagnostic Interrupt Test Generates an interrupt from the dual token-ring interface card to the motherboard using the DIAGINT bit in the CONFIG register and then disables the interrupts using the INTEN bit in the CONFIG register. The DIAGINT is set again but the host should not receive the interrupts.
2. Adapter TMGETQ Interrupt Test Generates a TMGETQ request on the token-ring interface card which generates an interrupt to the motherboard and a TMGETQ interrupt, with interrupt disabled, in the CONFIG register.
3. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup 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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. CAM Tests for LAN Port 0 Initializes the CAM for LAN port 0 and checks the CAM adapter interface. This item displays the CAM Tests for LAN Port # Menu (Figure 9-23).
2. CAM Tests for LAN Port 1 Initializes the CAM for LAN port 1 and checks the CAM adapter interface. This item displays the CAM Tests for LAN Port # Menu (Figure 9-23).
3. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
C. Display Dual Token-Ring Parameters Displays the current token-ring parameters.

Figure 9¯22 CAM Initialization and Adapter Interface Test Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. CAM Initialization and Compare Write/Read Test Initializes the CAMs using a write, read, and compare sequence.
2. CAM Data Pattern Test Tests the ability of CAM to write data patterns to the registers. This item displays a Data Pattern Menu
(
Figure 9-4).
3. CAM Address Line Test Tests the CAM address lines.
4. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
C. Display Dual Token-Ring Parameters Displays the current token-ring parameters.

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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. CAM Integrity Tests for LAN Port 0 This item displays the CAM Integrity Tests for LAN Port # Menu (Figure 9-25).
2. CAM Integrity Tests for LAN Port 1 This item displays the CAM Integrity Tests for LAN Port # Menu (Figure 9-25).
3. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
C. Display Dual Token-Ring Parameters Displays the current token-ring parameters.

Figure 9¯24 CAM Integrity Test Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. CAM Learning Mode Test Checks the CAM address function.
2. CAM Interaction with Stripped Frames Checks that the token-ring interface card does not learn of or match a frame that the interface card is also stripping.
3. CAM Destination Address Match Test When a destination address matches an address in the CAM, this test checks that the address is updated with the current age mask.
4. CAM Destination Address Mismatch Test When a destination address does not match an address in the CAM, this test checks that the packet containing the destination address is captured from the ring.
5. CAM Interaction with Source Routed Frames Checks that CAM interacts correctly with the TMS380SRA.
6 CAM Interaction with Group Addressed Frames Generates Group Addressed Frames and checks that the CAM handles them correctly.
7. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
(continues)

Menu Item Function
C. Display Dual Token-Ring Parameters Displays the current token-ring parameters.
D. List CAM Entries Lists all entries in the CAM's 20 locations at a time. An example of the output is: Enter start address in CAM 0x0 ->
0x0000 = 0x0000c9fff000 timestamp = 0x0000
0x0001 = 0x0000c9fff001 timestamp = 0x0001

E. Search for Entry in the CAM Searches the CAM for a specified 48-bit pattern.
F. TMS380 Micro Code Debugger Tests the micro code of the TMS380.

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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Loopback Tests for LAN Port 0 Tests the open, transmit, and receive functions for LAN port 0. This item displays the Loopback Tests for LAN Port # Menu (Figure 9-27).
2. Loopback Tests for LAN Port 1 Tests the open, transmit, and receive functions for LAN port 0. This item displays the Loopback Tests for LAN Port # Menu (Figure 9-27).
3. All of the Above Runs all of the tests listed above this menu item.
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¯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)

Menu Item Function
3. All of the Above Runs all of the tests listed above this menu item.
4. Network Loopback Test Tests the operation of the dual token-ring interface card over the network. This test uses the BIA ROM address as the source and destination node addresses. The network tests require a switchbox, cable, and operational token-ring 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¯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

Menu Item Function
0. Return to previous menu Displays the previous menu
1. TMS380SRA Tests for LAN Port 0 Tests the source routing accelerator for LAN port 0.
This item displays the TMS380SRA Tests for LAN Port # Menu (
Figure 9-29).
2. TMS380SRA Tests for LAN Port 1 Tests the source routing accelerator for LAN port 1.
This item displays the TMS380SRA Tests for LAN Port # Menu (
Figure 9-29).
3. All of the Above Runs all the tests listed above this menu item.
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.

Figure 9¯28 TMS380SRA Test Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Source Routed Address Recognition Checks that the TMS380SRA can be configured and recognizes source routed packets containing routing information that matches the TMS380SRA configuration.
2. Source Routed Address Rejection Checks that the TMS380SRA does not recognize source routed packets containing information that does not match the TMS380SRA configuration.
3. All of the Above Runs all of the tests listed above this menu item.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
C. Display Dual Token-Ring Parameters Displays the current dual token-ring parameters.

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.

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. LAN PORT 0 (Not configured) Tests the transmit and receive functions on LAN port 0. This item displays the LAN Port # (Not Configured) Menu (Figure 9-31).
2. LAN Port 1 (Not configured) Tests the transmit and receive functions on LAN port 1. This item displays the LAN Port # (Not Configured) Menu (Figure 9-31).
3. Execute Test Runs the transmit, receive, and echo tests.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.
C. Display Dual Token-Ring Parameters Displays the current token-ring parameters.
D. Display Network Statistics Provides statistics on the network tests. Figure 9-32 shows the Network Test Statistics Screen and Chapter 10 defines the statistics.
E. Clear Network Statistics Resets the network test status log to zero.

Figure 9¯30 Network Tests Group Menu

Menu Item Function
0. Return to previous menu Displays the previous menu.
1. Transmit Only Transmits packets to the receive only node.
2. Receive Only Receives packets from the transmit only node.
3. Echo Test Master Node Transmits packets to an echo slave node.
4. Echo Test Slave Node Receives packets from the echo master node. Once it receives the packets, the echo test slave node swaps the packet source and destination addresses and transmits the packets back to the echo master node.
5. Not Configured Indicates that the specified port is not configured to run the transmit, receive, or echo tests.
A. Toggle Diagnostic Flags Displays the Router Diagnostic Flow Control Flags Menu.
B. Setup Diagnostic Parameters Displays the Router Diagnostic Parameters Setup Menu.

Figure 9¯31 LAN Port # (Not Configured) Menu

Table 9-1 Network Test Procedure

Step

Port/Node

Activity Menu
1. Determine two unique source IP addresses.
2. A and B Enter a source IP address on both ports/nodes. Menu: Network Tests Group Item: Setup Diagnostic Parameters Menu: Router Diagnostic Parameters Setup Item: Set Node IP Address
3. A Set the destination IP address to match the source IP address on port/node B. Menu: Router Diagnostic Parameters Setup Item: Set Destination Node IP Address
4. B Set the destination IP address to match the source IP address on port/node A. Menu: Router Diagnostic Parameters Setup Item: Set Destination Node IP Address
5. A Configure the various test parameters such as the number of packets and their size. Menu: Router Diagnostic Parameters Setup
6. A and B Set the source node address on both ports/nodes. Menu: Setup Token-Ring Parameters Item: Set Source Node Address
7. A Set the destination node address to match the source node address on port/node B. Menu: Setup Token-Ring Parameters Item: Set Destination Node Address
8. B Set the destination node address to match the source node address on port/node A. Menu: Setup Token-Ring Parameters Item: Set Destination Node Address
(continues)
Step

Port/Node

Activity Menu
9. A or B Specify the port that is to transmit the packets for the test. Menu: Network Tests Group Item: LAN Port # (Not Configured) Menu: Lan Port # (Not Configured) Item: Transmit Only
10. A or B Specify the port that is to receive the packets for the test. Menu: Network Tests Group Item: LAN Port # (Not Configured) Menu: Lan Port # (Not
Configured)
Item: Receive Only
11. A and B Execute the test. Menu: Network Tests Group Item: Execute Test
12. A Check the number of packets that were transmitted by viewing the "Number of Packets Transmitted by Adapter" statistic. Figure 9-32 shows the Network Test Statistics Screen. Menu: Network Tests Group Item: Show Network Test statistics
13. B Check the number of packets that were received by viewing the "Number of Packets Received by Adapter" statistic. Figure 9-32 shows the Network Test Statistics Screen. Menu: Network Tests Group Item: Show Network Test Statistics
14. A and B The number of packets transmitted and received should match or be comparably close. If a discrepancy exists, view the other network statistics on both nodes to determine if errors occurred during the test. If other errors do not exist, run the test again. Contact your representative if the significant discrepancy continues.
(continues)
Step

Port/Node

Activity Menu
15. A and B Reset the network test statistics to zero. Menu: Network Tests Group Item: Clear Network Test Statistics
16. B Start the receive operation for the echo tests. Menu: Network Tests Group Item: LAN Port # (Not
configured)
Menu: LAN Port # (Not
configured)
Item: Echo Test Slave Node
17. B At any time, press <s> to stop the receive echo operation.
18. A Start the transmit operation for the echo tests. The test is done when the console displays the Network Tests Group Menu. Menu: Network Tests Group Item: LAN Port # (Not
configured)
Menu: LAN Port # (Not
configured)
Item: Echo Test Master Node
19. A Check the number of packets that were transmitted and received. Menu: Network Tests Group
Item: Show Network Test Statistics
20. The number of packets transmitted and received should match or be comparably close. If a discrepancy exists, view the network statistics on node B to determine if errors occurred during the test. If there are no errors, run the test again. If significant discrepancies continue, contact your representative.

Figure 9¯32 Network Test Statistics Screen



[Top] [Prev] [Next] [Bottom]

docs@openroute.com
Copyright © 1997, OpenROUTE Networks, Inc. All rights reserved.