SunVTS 3.0 Test Reference Manual

spiftest Command Line Syntax

/opt/SUNWvts/bin/spiftest standard_arguments -o dev=device_name, M=test_mode,Ptr=enable/disable,B=baud_rate,Size=character_size,S=#of_stop_bits, Parity=parity,F=flow_control,Data=test_pattern,sp=serial_port

Table 33-3 spiftest Command Line Syntax




Specifies the serial ports in SBus card slots (0-63) being tested. Since there is no default, you must type a board name: 


stc0 = the 8 serial ports in the first card


stc1 = the 8 serial ports in the second card


stc2 = the 8 serial ports in the third card


stc3 = the 8 serial ports in the fourth card


stc4 = the 8 serial ports in the fifth card


stc5 = the 8 serial ports in the sixth card


stc6 = the 8 serial ports in the seventh card


stc7 = the 8 serial ports in the eighth card


Specifies Internal, 96_pin_Loopback, 25_pin_loopback, or Echo_TTY test mode.


Enables or disables the Printer subtest. 


Sets the baud rate to 110, 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400; the default is 9600. To use the 38400 rate, only one port at a time can be tested, and the Internal test must be disabled.


Toggles the number of stop bits between 1 or 2; the default is 1. 


Sets character size as a number between 5 and 8. 


Specifies the parity as none, odd, or even; the default is none. 


Specifies flow control as xonxoff,rtscts, or both.


Specifies test pattern as 0x55555555, 0xAAAAAAAA, or random. 


Specifies the terminal and serial port number, such as term/3.

Note -

64-bit tests are located in the sparcv9 subdirectory: /opt/SUNWvts/bin/sparcv9/testname. If a test is not present in this directory, then it may only be available as a 32-bit test. For more information refer to "32-Bit and 64-Bit Tests".