AVA200 Console Interface



next up previous
Next: About this document Up: The ATM Camera V2 Previous: Network Video and

AVA200 Console Interface

 

Power On Reset

After a power on reset, console output should appear as showin in Figure 26 console interface:

(c) 1993 Nemesys Research Ltd.
Device Version 200.0
Firmware Version 1.1
I2C Driver Init... OK
Xilinx Init... OK
ATM Init... OK
SAA7191 Init... OK
SAA7186 Init... OK
C-Cube Init... OK
AD1848 Init... OK
Timer Init... OK
Protocol Init... OK
Scheduler Init... OK

 
Figure 26:   AVA200 Power On Diagnostics.

When the ATM transmission interface is in violation (indicated by the Blue LED permanently on), it is normal for the console output to stop when the ``Protocol Init'' stage is reached. As soon as the violation is cleared console output should continue.

Diagnostics

During normal operation of the unit, console output should contain messages of the following form:

Main menu

Pressing any key will cause the scheduler to be exited and the AVA200 Debug Monitor to be entered. The prompt ``>'' will be displayed. The AVA200 Debug Monitor will display a list of the currently acceptable commands whenever the ``?'' character is typed. The main menu should appear similar to Figure 27.

Commands:
S  Status
A  ATM Interface Tests
8  SAA7186 Scaler Tests
9  SAA7191 Decoder Tests
C  AD1848 Audio Codec Tests
J  C-Cube (JPEG) Tests
X  Xilinx Tests
I  Probe I2C bus
R  Remote Mode
P  Protocol on/off
M  Memory Dump
T  TAXI Reset
?  Print help message

 
Figure 27:   AVA200 Main Menu.

The commands have the following effects:

S
Displays the contents of the status registers for the main functional units of the AVA200.
8
Moves control to the SAA7186 Scaler sub-menu.
9
Moves control to the SAA7191 Decoder sub-menu.
C
Moves control to the AD1848 Codec sub-menu.
J
Moves control to the C-Cube JPEG sub-menu.
X
Moves control to the Xilinx sub-menu.
I
Scans all addresses on the bus and reports any devices found.
R
Enters ``Remote Mode'' by restarting the protocol stack and the scheduler.
P
Toggles whether cells received over the ATM Transmission interface will be passed to the protocol stack.
M
Prompts for a 16-bit HEX address and dumps 32 bytes of SRAM or Xilinx registers starting from that address.
T
Resets the TAXI chips of the ATM Transmission Interface.
?
Displays the help menu shown above.

Any other key will cause the response: ``Unrecognized command.''

ATM Interface Tests

When ATM menu is entered, the prompt changes to ``ATM>''. The commands available from the ATM menu are shown in Figure 28.

Commands:
I  Initialize
T  Transmit Cells
R  Receive Cells
B  Bidirectional (Tx/Rx)
L  Loopback Test
F  Fabric/Taxi toggle
E  Edit route bytes
?  Print help message

 
Figure 28:   AVA200 ATM Menu.

The commands have the following effects:

I
Initializes the ATM interface and resets the Rx FIFOs.
T
Transmits test cells over the ATM interface. Test cells have header ``DEADBEEF'', ascending payload, AAL5 length of ``0028'' and AAL5 CRC32 of ``BF671ED0''.
R
Receives and displays cells over the ATM interface.
B
Transmits test cells once a second and displays all received cells. This is intended for use using a fibre loopback.
L
As above, but transmits faster and automatically checks the received cells against the expected test cells reporting any errors.
F
Selects whether to use the transmission interface or the fabric connection (where fitted).
E
Edits the route bytes transmitted when the fabric interface is selected.
?
Displays the help menu shown above.

Pressing ``ESC'' will return to the top-level menu. Any other key will cause the response: ``Unrecognized command.''

SAA7186 Scaler Tests

When the Scaler menu is entered, the prompt changes to ``SAA7186>''. The commands available from the scaler menu are shown in Figure 29.

Commands:
I  Initialize
S  Status
R  Display register values in RAM
E  Edit register values in RAM
W  Write register values to SAA7186
?  Print help message

 
Figure 29:   AVA200 SAA7186 Scaler Menu.

Pressing ``ESC'' will return to the top-level menu. Any other key will cause the response: ``Unrecognized command.''

SAA7191 Decoder Tests

When the Decoder menu is entered, the prompt changes to ``SAA7191>''. The commands available from the decoder menu are shown in Figure 30.

Commands:
I  Initialize
S  Status
R  Display register values in RAM
E  Edit register values in RAM
W  Write register values to SAA7191
?  Print help message

 
Figure 30:   AVA200 SAA7191 Decoder Menu.

Pressing ``ESC'' will return to the top-level menu. Any other key will cause the response: ``Unrecognized command.''

AD1848 Codec Tests

When the Codec menu is entered, the prompt changes to ``AD1848>''. The commands available from the codec menu are shown in Figure 31.

Commands:
I  Initialize
S  Status
R  Display register values
W  Write register value
M  Mode change enable
F  Mode change finished
L  Loopback test
P  Playback test
8  8KHz Mono 8-bit u-law
4  48KHz Stereo 16-Bit linear
?  Help

 
Figure 31:   AVA200 Codec Menu.

The commands have the following effects:

I
Initializes the AD1848 Codec chip.
S
Read the status register of the codec.
R
Displays the current register values.
W
Write to one of the registers (see data book.)
M
Initiate a mode change. Certain registers may only be updated during a ``mode change''.
F
End a ``mode change''.
L
Capture and playback samples using a 4K circular buffer.
P
Playback a 8KHz sample stored in the EPROM. This sample is omitted from most boards.
8
Set sample format and rate.
4
Set sample format and rate.
?
Display the help message.

Pressing ``ESC'' will return to the top-level menu. Any other key will cause the response: ``Unrecognized command.''

C-Cube CL550 Tests

When the C-Cube menu is entered, the prompt changes to ``C-Cube>''. The commands available from the C-Cube menu are shown in Figure 32.

Commands:
I  Initialize
S  Status
R  Read register value
W  Write register value
M  Multiple reads
D  Dump registers
G  Go
C  Compression Test
F  Fast Drain Test
?  Help

 
Figure 32:   AVA200 CCube Menu.

The commands have the following effects:

I
Initializes the CCube chip. This sets up all necessary registers but does not reload the Huffman Tables or Quantizer tables. These are only loaded after a hard-reset.
S
Read the status register of the CCube.
R
Displays a register value.
W
Write to one of the registers (see data book.)
M
Read a register many times in a tight loop until a key is pressed.
D
Dump the next 32 registers startng at the last one read.
G
Start a CL500 compression cycle.
C
Read and display the compressed JPEG data from the CL500 Codec register.
F
Drain JPEG compressed data from the CL550 as fast as possible.
?
Display the help message.

Pressing ``ESC'' will return to the top-level menu. Any other key will cause the response: ``Unrecognized command.''

Xilinx Tests

When the Xilinx menu is entered, the prompt changes to ``Xilinx>''. The commands available from the Xilinx menu are shown in Figure 33.

Commands:
I  Init
S  Status
C  Current register values
L  Last register values
W  Write registers
T  Test LEDs
1  IAP Test 1
2  IAP Test 2
3  IAP Test 3
?  Help

 
Figure 33:   AVA200 Xilinx Menu.

The commands have the following effects:

I
Initializes the Xilinx chip. This also resets the auxiliary chips.
S
Read the status register of the Xilinx.
C
Displays current register values of readable registers.
L
Displays value last written to a register.
W
Write to one of the registers (see H/W documentation!)
T
Do a lamp test to ensure LEDs are OK - only possible if the Xilinx has programmed correctly.
1
Hardware debugging test 1 - DO NOT USE
2
Hardware debugging test 2 - DO NOT USE
3
Hardware debugging test 3 - DO NOT USE
?
Display the help message.

Pressing ``ESC'' will return to the top-level menu. Any other key will cause the response: ``Unrecognized command.''



next up previous
Next: About this document Up: The ATM Camera V2 Previous: Network Video and



Ian Pratt and Paul Barham