triometa.blogg.se

Slac timetool set up py
Slac timetool set up py








slac timetool set up py
  1. SLAC TIMETOOL SET UP PY HOW TO
  2. SLAC TIMETOOL SET UP PY INSTALL
  3. SLAC TIMETOOL SET UP PY SERIAL

Use channela to talk to the front-end board in the "Variables" tab: self.add adds registers and associated GUI control.If using $TOP/lcls2-pcie-apps/software/scripts/TimeToolupdateProm.py then need toĬonda activate /reg/neh/home/cpo/.conda/envs/timetoolLab2/ #if on SLAC networkĬonda activate timetoolqt5 #if on LCLS network Programming FPGA over PCIĪfter the first programming (and power-cycling) described above, use this script to reprogram:

SLAC TIMETOOL SET UP PY INSTALL

You need sudo on the machine to install the driver. This needs to be done on the machine where the KCU1500 lives. #instructions to program using vivado hardware manager in link belowīuild/install the datadev.ko driver using the instructions here:

slac timetool set up py

This is because it loses its pcie "id" numbers (called "pcie enumeration") which are allocated at power-on time.

slac timetool set up py

NOTE: every time the KCU is programmed via jtag or pcie, the computer must be powercycled. #now vivado hardware manager will see the kcu1500 board. Can't run install_drivers from arbitrary directory.Ĭd /afs/ /g/reseng/xilinx/vivado_2017.4/Vivado/2017.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/ sudo. 3) Extract the driver script and its support files to a local drive of the machine where the cable will be used by typing: Then lspci should show:Ġ2:00.0 Signal processing controller: SLAC National Accelerator Lab PPA-REG Device 2030ġ) Disconnect all Xilinx USB cables from the host computer.

SLAC TIMETOOL SET UP PY SERIAL

Before programming lspci will show:Ġ2:00.0 Serial controller: Xilinx Corporation Device 8638 (rev ff)Īfter programming powercycle the machine. Startup "vivado" after setting up the firmwareĬan see if the usb cable works by doing "lsusb" and looking for "Bus 001 Device 005: ID 0403:6010 Future Technology Devices International, Ltd FT2232C/D/H Dual UART/FIFO IC".ĭo this to program with flash chips on the KCU1500 for the first time (after the first time, should be able to update over pcie with an updateProm script described below).

SLAC TIMETOOL SET UP PY HOW TO

Larry has some slides on how to program the flash chips (mt25qu512) on the KCU1500 via USB/JTAG. $TOP/cameralink-gateway/firmware/targets/ClinkFebPgp2b_1ch/images/ClinkFebPgp2b_1ch-0x00000025-20190315182526-ruckman-af9cde50.mcs Making Vivado communicate with board over USB/JTAG 1.1) use configuration memory part number 28f00ap30t-bpi-x16 "Ĭonfiguration memory part number for kcu1500įront-end Board (pgp->camlink converter) Firmwareįor the OFFICIAL BOARD use configuration memory part number s25fl128sxxxxxx0-spi-x1_x2-x4įor the EVAL BOARD front-end board firmware (a xilinx KC705 rev. If you want to store the output of "make" on your local machine: in the "firmware/" directory, "ln -s /u1/sioan/build. Source lcls2-pcie-apps/firmware/setup_env_slac.sh (old: source /afs/slac/g/reseng/xilinx/vivado_2017.3/Vivado/2017.3/settings64.sh #this isn't working on. Building Firmwareįollow instructions in the README.md here (make sure to use the modern AFS version of git described here so you can use git-lfs): Some applications are not built by default. Follow build instruction files in the rogue root directory README files (although I suggest setting up a conda python3 env (previous step) instead of using pip install): Needs a conda env with a bunch of stuff (previous step).










Slac timetool set up py