Содержащиеся в
Найти другие документы
Ресурсы поддержки
| Загрузить это руководство в формате PDF
- CHAPTER 26
SunVideo Test (rtvctest)
-
rtvctest verifies the functionality of the SunVideo(TM) SBus card. SunVideo technology captures and compresses video input in real-time, making it possible to have realtime video conferencing over standard Ethernet networks.
-
rtvctest is available as a customtest. To enable the test to show up on the SunVTS user interface, you must:
-
- Edit the .customtest_OtherDevices file in the SunVTS bin directory.
- Uncomment the line starting with the label SunVideo.
- The rtvctest was originally written for Sundiag 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 sub-tests: PROMCheck, Memory, Jalapeno, and CL4000. The PROMCheck sub-test 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 sub-test verifies the interface logic between the SBus, A/D conversion chips, and the CL4000 compression engine. The CL400 sub-test 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 26-1 lists these modules and their associated test sequence numbers.
-
TABLE 26-1 rtvctest
| SunVideo Verification Module Name | Test Sequence Number |
| RTVC SUNDIAG Start | 0 |
| RTVC Checksum | 1 |
| RTVC Jalapeno SMEM | 2 |
| RTVC CL4000 DMEM | 3 |
| RTVC Jalapeno SBus Interrupt Mask | 4 |
| RTVC CL4000 Interrupt Mask | 5 |
| RTVC DVMA Control Register | 6 |
| RTVC DVMA Transfer Size Counter | 7 |
| RTVC DVMA Memory Address Counter | 8 |
| RTVC DVMA Virtual Memory Address Counter | 9 |
| RTVC DVMA Slave SBus Rerun Register | 10 |
| RTVC IIC Control Register | 11 |
| RTVC IIC Data Register | 12 |
| RTVC Video DMA Control Register | 13 |
| RTVC Video DMA Transfer Size Counter | 14 |
| RTVC Video DMA Memory Address Counter | 15 |
| RTVC User Interrupt 0 | 16 |
| RTVC User Interrupt 1 | 17 |
| RTVC User Interrupt 2 | 18 |
| RTVC User Interrupt 3 | 19 |
| RTVC Video Control and Status Register | 20 |
| RTVC Video Control Field Line Interrupt 1 | 21 |
| RTVC Video Control Field Line Interrupt 2 | 22 |
| RTVC Video Scan Line Mask Registers | 23 |
| RTVC Video Input Format Type | 25 |
| RTVC Video Horizontal Lock | 26 |
| RTVC Video Even Odd Field | 27 |
| RTVC CL4000 Host Control | 28 |
-
TABLE 26-1 rtvctest(Continued)
| SunVideo Verification Module Name | Test Sequence Number |
| RTVC CL4000 Host Lock | 29 |
| RTVC CL4000 Video Port A Control | 30 |
| RTVC CL4000 Video Port B Control | 31 |
| RTVC CL4000 Video Port A FIFO | 32 |
| RTVC CL4000 Video Port B FIFO | 33 |
| RTVC CL4000 Address Memory Registers | 34 |
| RTVC CL4000 Instruction Memory Access Registers | 35 |
| RTVC Time Stamp Register | 36 |
| RTVC CL4000 Register Memory | 37 |
| RTVC CL4000 Scratch Memory | 38 |
| RTVC CL4000 DMA Mode | 39 |
| RTVC CL4000 Motion Estimation Registers | 40 |
| RTVC CL4000 PSW | 41 |
| RTVC CL4000 Variable Length Coder Registers | 42 |
| RTVC CL4000 Channel Memory Registers | 43 |
| RTVC CL4000 CPU Control | 44 |
| RTVC CL4000 Multiply Control | 45 |
| RTVC CL4000 DMA Interrupt Control | 46 |
| RTVC CL4000 Block Transfer Mode | 47 |
| RTVC CL4000 Accumulator MSB | 48 |
| RTVC CL4000 JPC Field | 49 |
| RTVC SUNDIAG Finish | 50 |
rtvctest Options

FIGURE 26-1 rtvctest Option Window
- You may test the SunVideo card without any video device (camera, video disc player, or VCR) connected to a 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 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 following sources:
-
TABLE 26-2 rtvctest
| Video Source | Definition |
| None | No video source |
| NTSC | A National Television System Committee (NTSC) video source, which is the video standard in the United States and Japan |
| PAL | A phase 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 following ports:
-
TABLE 26-3 rtvctest
| Input Port | Definition |
| None | No input port used |
| CV1 | The composite video input Port 1 (RCA type input) |
| CV2 | The composite video input Port 2 (RCA type input) |
| SVHS | The super VHS input port |
rtvctest Command Line Syntax
-
-
/opt/SUNWvts/bin/rtvctest [fmt=none|ntsc|pal]
[port=none|cv1|cv2|svhs] dev=rtvc_device
-
TABLE 26-4 rtvctest
| Arguments | Description |
| fmt | Select 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). |
| port | 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 following ports: · cv1Composite video input port 1 (RCA type) · cv2Composite video input port 2 (RCA type) · svhsSuper VHS port |
| dev | You 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 26-5 rtvctest
| Error Message | Description |
| SunVideo 10 | <message>
Where:
<message> is one of the following:
Missing REQUIRED argument D=rtvc[0..31]
|
| SunVideo 20 | <message> 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 30 | <message> <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 26-5 rtvctest(Continued)
| Error Message | Description |
| SunVideo 40 | RTVC 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 41 | RTVC Fault Detected via module <name>
Where:
<name> is the name of the module under test |
| SunVideo 42 | <message> <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 50 | <message> <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 |
|
|