Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. 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.
  2. Configure VLDB (this part to be updated).
  3. Update/install the most recent Felix firmware (assuming Vivado Lab is installed, and one has access to GUI):
    1. 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.



    2. Get the .bit file from a CERN webpage or directly upload v4.9.
    3. In Vivado Lab detect the target, use the .bit file to configure.
    4. Reboot the PC.
    5. 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.
    6. 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.
    7. Now you should see the RXDATA LED lighting with dim red color.


  4. Configure the FLX-712 board VLDB (GUI is needed for java):
    1. Supply 5V with 1A limit in current to VLDB.
    2. Get the .jar programmer file and the txt config file.
    3. Run:
      java -jar programmerv2.20180725.jar
      Java GUI will appear.
    4. Click "import i..." in the top left corner and select the txt config file.
    5. Click "Write GBTX".
    6. 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 
      Run the init comment only one. If you run it twice or more, you need to reboot the computer.
      $ ./flx-info -c0
      May omit the info command, but it is useful to crocs-check that everything is ok.
    7. Check polarity of the channels, and invert if needed:
      $ ./flx-config -d0 list | grep polarity
      $ ./flx-config -d1 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. 
    8. If everything was done properly, the other two LEDs - TXRDY and RXRDY - should light up (which in not the case at SLAC yet).