SunVTS 3.0 Test Reference Manual

spiftest Options

Figure 33-1 spiftest Option Menu

Graphic

The Configuration section of the Option menu displays the serial ports available for the SPC/S board. The available ports are listed in the table below.

Table 33-1 spiftest Serial Ports for the SPC/S Board

Board  

Number 

Board  

Device 

Serial  

Ports 

Parallel  

Ports 

0

stc0

term/0-7

printers/0

1

stc1

term/8-15

printers/1

2

stc2

term/16-23

printers/2

stc3 

term/24-31 

printers/3 

stc4 

term/32-39 

printers/4 

stc5 

term/40-47 

printers/5 

stc6 

term/48-55 

printers/6 

stc7 

term/56-63 

printers/7 

The spiftest options are described in the table below.

Table 33-2 spiftest Options

spiftest Option 

Description 

96-pin Loopback (LB) 

Provides data transmission, full-modem loopback, and parallel port loopback testing. You must attach a 96-pin loopback connector (part number 370-1366) to the card before running this test (see Appendix A, "96-Pin Female Lookback Connector" section)..

Internal Test 

Performs a quick internal check of the serial parallel controller card(s) installed in SBus slots. You do not need to attach anything to the card(s) to perform this test. 

25-pin Loopback (LB) 

Provides full-duplex transmission and full-modem loopback testing of the serial port selected in the Serial Port selection of this menu. You must attach the 25-pin Loopback plug to the serial port on the Serial Parallel Controller Patch Panel that is being tested (See Appendix A). This test cannot be run concurrently with the Echo-TTY option enabled.

Echo-TTY 

Checks the proper operation of the serial port selected in the Serial Port section of this menu by echoing characters typed on a TTY terminal keyboard to the TTY terminal screen. The characters you type should be displayed on the TTY screen. Note: TTY connection to the spif serial port requires corresponding character size setup. For example, if a TTY attachment is running with 8-bit character size, then the spiftest option `Char Size' should also be set to 8 bits.

If you do not type within two minutes, this test will time-out. Terminate testing by pressing Control-C. After a short delay, the Status window updates the Pass Count.  

This test cannot be run concurrently with the 25-pin Loopback subtest. 

Printer 

Sends the entire ASCII character set to a parallel printer. You must attach a parallel printer to the parallel port on the Serial Parallel Controller patch panel. Observe the printer output to validate the test. 

Baud Rate 

Specifies the baud rate; choose 110, 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400 baud. 

Note: The baud rate of 38400 can only be used if one port is tested at a time and the Internal Test is disabled. 

Char Size 

Indicates character length; choose 5, 6, 7, or 8 characters. 

Stop Bit 

Specifies the number of stop bits; choose 1 or 2 bits. 

Parity 

Specifies the selectable parity; choose none, odd or even.

Flow Control 

Specifies the selectable flow control; choices are XOnOff, rtscts, or both.

Data Type 

Specifies the selectable data type pattern; it can be 0x55555555 (0x55), 0xaaaaaaaa (0xaa), or random. 

Serial Port 

Specifies the serial port to be tested. The available ports are listed in the Configurations section at the top of the spiftest Options menu.

You can also change the test options by modifying the /opt/SUNWvts/bin/.customtest file. See "Adding Your Own Tests" in .customtest in the SunVTS 3.0 User's Guide.