...
- Assemble the test stand according to figures from the "B84 FELIX Test Setup" section. Plug in MTP12-CH1-TXA1 cable (labeled as "1") into the VLDB's RX.
- Configure VLDB (this part to be updated).
- Update/install the most recent Felix firmware (assuming Vivado Lab is installed, and one has access to GUI):
Plug in a JTAG-USB cable in a correct port on the FLX-712 board.
SLAC FLX-712 Board
ANL FLX-712 Diagram
Xilinx Dongle:
No LED light: PC doesn't see the dongle. Check drivers.
Yellow LED: No target. Check JTAG connections.
Green LED: Good! Can Proceed.
- Get the .bit file from a CERN webpage or directly upload v4.9.
- In Vivado Lab detect the target, and the the .bit file.
- Reboot the PC.
- Unplug the MTP12-CH1-TXA1 cable from the VLDB, make sure you observe red light coming from the wire, plug it back to the VLDB's RX.
- If there is no GUI and/or Vivado on the Felix server, one may use an external PC to configure the FLX-712 board: keep the board in the server, plug the Xilinx USB dongle into the external PC and run Vivado from there.
- Now you should see the RXDATA LED lighting with dim red color.
- Configure the FLX-712 board (GUI is needed for java):
- Get the .jar programmer file and the txt config files.
- Run:
$ java -jar programmerv2.20180725.jar
Java GUI will appear. - Click "import i..." in the top left corner and select the txt config file.
- Click "Write GBTX".
- Run (from /home/itpix/FELIX/felix-04-01-00-stand-alone/x86_64-centos7-gcc8-opt/bin/ in the particular SLAC server):
$ ./flx-init -c0
$ ./flx-info -c
May omit the second command, but it is useful to crocs-check that everything is ok. - Check polarity of the channels, and invert if needed:
$ ./flx-config list | grep polarity
If you observe something like "GBT-TXPOLARITY 0x000000000000", run:
$ ./flx-config -d1 set GBT-TXPOLARITY=0xffffffffffffffff
-d1 option selects the 1st FLX card. - If everything was done properly, the other two LEDs - TXRDY and RXRDY - should light up (which in not the case at SLAC yet).