This chapter describes the diagnostic program for the CNX 500 dual serial interface card. It includes the following sections:
General Description
Executing the Diagnostic Program
General Description
The diagnostic program for the dual serial card includes the following groups of tests:
Port Terminology
The MC68302 (MPP) and MC145488 (DDLC) functions reference the serial ports differently. Table 7-1 lists the ports and the corresponding MPP and DDLC terms.
| Serial Port Number | MC68302 (MPP) Reference | MC145488 (DDLC) Reference |
|
0
|
SCC 1
|
Channel 0
|
|
1
|
SCC 2
|
Channel 1
|

Figure 7¯1 Serial Diagnostic Menu Flow
Executing the Diagnostic Program
To run the diagnostic program for the dual serial card, boot the router diagnostic program. Chapter 1 provides the boot procedure.
Once the router diagnostic program boots, the screen displays the Mode Menu. Select "Use automatic mode of operation" to automatically run all of the diagnostic programs. Or, select "Use manual mode of operation" to run the diagnostic programs individually. Chapter 1 provides additional information on automatic and manual mode.
To display the main menu for the serial diagnostic program, do the following:
CNX 500 Serial Stand alone Diagnostic Version #.#If the serial interface card is not listed on the Diagnostic Execution Menu and/or a number is not in the parentheses, refer to page 15.------------------------------------------------------------
------------------------------------------------------------
I/O Base Address: # Slot Number: #
Figure 7¯2 Serial Line Diagnostic Main Menu
Setting the Serial Parameters
You can set the parameters for some of the diagnostic tests. This option is available if the menu lists Setup Serial Line Parameters as an item. Figure 7-3 describes the Setup Serial Line Parameters Menu.
Figure 7¯3 Setup Serial Line 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 7-4 describes the Data Pattern Menu.
| Menu Item | Function |
| B. Setup Diagnostic Parameters | Displays the Router Diagnostic Parameters Setup menu. |
| C. Setup Serial Line Parameters | Displays the Setup Serial LIne Parameters Menu. |
Figure 7¯4 Data Pattern Menu
System Bus Interface Test Group
This group tests the bus interface logic of the dual serial interface card and verifies that the interface card can talk to the CPU over the system bus. Figure 7-5 describes the System Bus Interface Test Group Menu.
Figure 7¯5 System Bus Interface Test Group Menu
SLC Memory Test Group
This group tests the memory subsystems of the dual serial line interface card. Figure 7-6 shows the main SLC Memory Test Group Menu and Figure 7-7 illustrates the menu flow for the SLC tests. Descriptions of the menus follow this figure.

Figure 7¯6 SLC Memory Test Group Menu

Figure 7¯7 SLC Memory Test Menu Flow
Figure 7¯8 Host Buffer Memory Test Menu
Figure 7¯9 Local Data Memory Test Menu
Figure 7¯10 Local Buffer Memory Test Menu
MC68302 (MPP) Test Group
This group tests the MPP processor functions including LED control and DMA. Figure 7-11 describes the MC68302 (MPP) Test Group Menu.
Figure 7¯11 MC68302 (MPP) Test Group Menu
MC145488(DDLC) Test Group
This group tests various DDLC functions including the registers and timers. Figure 7-12 describes the MC145488 (DDLC) Test Group Menu.
Figure 7¯12 MC145488(DDLC) Test Group Menu
Figure 7¯13 DDLC Control Registers Test Menu
Figure 7¯14 DDLC Channel # Registers Test Menu
Network Test Group
This group uses HDLC packets to test the transmit and receive functions of the dual serial interface card when it is connected to a network. Before you run the network tests, you should note the following:

Figure 7¯16 Network Test Statistics Screen