SunVTS 2.1.3 Test Reference Manual
  Sök endast i den här boken
Ladda ner denna bok i PDF
CHAPTER 29

SunVideo Test (rtvctest)


rtvctest verifies the functionality of the SunVideo(TM) SBus card. SunVideo technology captures and compresses video input in realtime, making it possible to have realtime video conferencing over standard Ethernet networks.
rtvctest is available as a customtest. To display the test on the SunVTS user interface, you must:
  1. Edit the .customtest_OtherDevices file in the SunVTS bin directory.

  2. Uncomment the line starting with the label SunVideo.

The rtvctest was originally written for Sundiag(TM) and the messages from the test are displayed on the SunVTS console within a SunVTS INFO message wrapper.
The rtvctest is available under the OtherDevices group, and is only available in the Functional Test mode.

rtvctest Subtests

rtvctest is divided into four subtests: PROMCheck, Memory, Jalapeno, and CL4000. The PROMCheck subtest verifies the SunVideo card's programmable read-only memory. The memory test verifies all of the memory on the card, including the 2 Mbytes of memory on the CL4000 compression engine and the memory on the Jalapeno application-specific integrated circuit (ASIC). The Jalapeno subtest verifies the interface logic between the SBus, A/D conversion chips, and the CL4000 compression engine. The CL400 subtest verifies that the compression engine ASIC is able to compress digitized video data from the A/D chips and send this data to the SBus through the Jalapeno ASIC.
The rtvctest is composed of 49 verification test modules. TABLE 29-1 lists these modules and their associated test sequence numbers.
TABLE 29-1 rtvctest
SunVideo Verification Module NameTest Sequence Number
RTVC SUNDIAG Start0
RTVC Checksum1
RTVC Jalapeno SMEM2
RTVC CL4000 DMEM3
RTVC Jalapeno SBus Interrupt Mask4
RTVC CL4000 Interrupt Mask5
RTVC DVMA Control Register6
RTVC DVMA Transfer Size Counter7
RTVC DVMA Memory Address Counter8
RTVC DVMA Virtual Memory Address Counter9
RTVC DVMA Slave SBus Rerun Register10
RTVC IIC Control Register11
RTVC IIC Data Register12
RTVC Video DMA Control Register13
RTVC Video DMA Transfer Size Counter14
RTVC Video DMA Memory Address Counter15
RTVC User Interrupt 016
RTVC User Interrupt 117
RTVC User Interrupt 218
RTVC User Interrupt 319
RTVC Video Control and Status Register20
RTVC Video Control Field Line Interrupt 121
RTVC Video Control Field Line Interrupt 222
RTVC Video Scan Line Mask Registers23
RTVC Video Input Format Type25
RTVC Video Horizontal Lock26
RTVC Video Even Odd Field27
RTVC CL4000 Host Control28
TABLE 29-1 rtvctest(Continued)
SunVideo Verification Module NameTest Sequence Number
RTVC CL4000 Host Lock29
RTVC CL4000 Video Port A Control30
RTVC CL4000 Video Port B Control31
RTVC CL4000 Video Port A FIFO32
RTVC CL4000 Video Port B FIFO33
RTVC CL4000 Address Memory Registers34
RTVC CL4000 Instruction Memory Access Registers35
RTVC Time Stamp Register36
RTVC CL4000 Register Memory37
RTVC CL4000 Scratch Memory38
RTVC CL4000 DMA Mode39
RTVC CL4000 Motion Estimation Registers40
RTVC CL4000 PSW41
RTVC CL4000 Variable Length Coder Registers42
RTVC CL4000 Channel Memory Registers43
RTVC CL4000 CPU Control44
RTVC CL4000 Multiply Control45
RTVC CL4000 DMA Interrupt Control46
RTVC CL4000 Block Transfer Mode47
RTVC CL4000 Accumulator MSB48
RTVC CL4000 JPC Field49
RTVC SUNDIAG Finish50

rtvctest Options

Grafik

FIGURE 29-1 rtvctest Option Window

You may test the SunVideo card without any video device (camera, video disc player, or VCR) connected to an input port. However, if you connect a video device to the card, then you must state the format of the video source and the input port to which the device is connected.

Note - If you do not state both the video source and the input port, the rtvctest prints an error and terminates testing.

Source Format

Select the format of the video source used for testing. You may select from the sources shown in TABLE 29-2.:
TABLE 29-2 rtvctest
Video SourceDefinition
NoneNo video source.
NTSC National Television System Committee (NTSC) video source, which is the video standard in the United States and Japan.
PALPhase alternate line video source, which is the video standard in Europe.

Ports

If you have selected a video source for testing, then you must state which input port you have used to connect the source to the SunVideo card. You may select from the ports shown in TABLE 29-3:
TABLE 29-3 rtvctest
Input PortDefinition
NoneNo input port used.
CV1Composite video input Port 1 (RCA type input).
CV2Composite video input Port 2 (RCA type input).
SVHSSuper VHS input port.

rtvctest Command Line Syntax

/opt/SUNWvts/bin/rtvctest [fmt=none|ntsc|pal]
[port=none|cv1|cv2|svhs] dev=rtvc_device

TABLE 29-4 rtvctest
ArgumentsDescription
fmtSelect the format of the video source used for testing. Select either ntsc (video standard in the United States and Japan) or pal (video standard in Europe).
portIf you have selected a video source for testing, then you must state which input port you have used to connect the source to the SunVideo card. You may select from the following ports: · cv1Composite video input port 1 (RCA type) · cv2Composite video input port 2 (RCA type) · svhsSuper VHS port
devYou are required to state the SunVideo device when running the rtvctest from the command line. Replace rtvc_device with rtvcn, where n is the device number (from 0 to 31) of the SunVideo card being tested.

rtvctest Error Messages

TABLE 29-5 rtvctest
Error MessageDescription
SunVideo 10message

Where:

message is one of the following:

Missing REQUIRED argument D=rtvc[0..31]

SunVideo 20message Error # number
Where:
message is one of the following:
ioctl RTVC_CMD_RESET fault
ioctl RTVC_CMD_SET_VIDEO fault
ioctl RTVC_CMD_GET_VIDEO fault
open /dev/rtvc fault
close /dev/rtvc fault
open /dev/rtvcctl fault
close /dev/rtvcctl fault
Unknown Jalapeno Version
number is one of the following:
ioctl error
module version
SunVideo 30message name Error # number
Where:
message is one of the following:
memory map fault for
memory unmap fault for
selected /dev/rtvc and /dev/rtvcc1 not available.
name is one of the following:
prom
sram
buses
reset
dmem
rtvc
number is the error number
TABLE 29-5 rtvctest(Continued)
Error MessageDescription
SunVideo 40RTVC Fault Detected via module name Physical Address value Expected Value value Actual Value value RTVC Sundiag Module number number Location location

Message: message(s)

Where:

name is the name of the module under test value are the values associated with physical address, expected value, actual value

number is the Sundiag Module under test. location is the U location of the faulty component. message(s) are any additional messages.

SunVideo 41RTVC Fault Detected via module name
Where:
name is the name of the module under test.
SunVideo 42message value1 Actual value2
Where:
message is one of the following:
Video Format Expected
Video Port Expected
value1 is the expected value.
value2 is the actual value.
SunVideo 50message number
Where:
message is one of the following:
Unknown RTVC CL4000 test module
Unknown RTVC Jalapeno test module
Unknown RTVC test module
Unknown RTVC memory test module
Unknown Start Bit
number is the module number or start bit location.