dimtel
dimtel
4.2
Selftest
usbw <addr> <val>
Write a single location.
usbrblk <addr> <len>
Read a block of memory. The data is send to
stdout
and can be redirected into a file.
usbwblk <addr> <len>
Write a block of memory. This utility expects the
data from
stdin
.
usbtest <addr> <len> <cnt>
Test the register or memory block specified
by the
addr
,
len
combination. The utility generates a block of random
numbers and writes it to the FPGA. Then the data is read back and
compared to the original values. Argument
cnt
specifies the number
of test cycles to perform.
4.2
Selftest
Another important utility included in the IOC is
selftest
. This program
performs testing of the main signal path, memories, and peripherals. In order
to perform the testing system hardware must be configured as follows:
Connect the 16-pin ribbon cable between the 7-channel DAC (Fig. 2,
item 2) and the 8-channel ADC (Fig. 2, item 3);
Connect 509 MHz clock to the RF clock input (Fig. 2, item 5);
Terminate Ain- fast ADC input (Fig. 2, item 4);
Terminate Aout- fast DAC output (Fig. 2, item 10);
Connect 6 dB attenuator to Aout+ fast DAC output;
Connect the output of the attenuator to Ain+ fast ADC input using
the supplied SMA-SMA cable;
Make sure no cable is connected to the general-purpose digital I/O port
(Fig. 3, item 3);
Make sure fiducial input is not driven (Fig. 2, item 6);
Once the hardware is configured the test procedure can be initiated by
typing
selftest
at the IOC command prompt (establish local or remote
connection to the IOC as described in Sec. 3). Example output of the test is
shown below:
13 of 58