Versions Compared

Key

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

How to install the Software With Anaconda

$ wget https://repo.anaconda.com/archive/Anaconda3-2020.07-Linux-x86_64.sh
$ bash Anaconda3-2020.07-Linux-x86_64.sh

  • Step 2: Use the following command to add anaconda to your environment. This can be added to your .bash_profile.

$ source /pathopt/to/myslac/anaconda3/etc/profile.d/conda.sh

...

$ conda create -n snltransfeskcu1500 -c tidair-packages -c conda-forge -c pydm-tag -c tidair-tag snltransfeskcu1500

How to reprogram the firmware on the KCU1500

Assumes you have completed "How to install the Software With Anaconda" section already

  • Step 1: Load the snltransfeskcu1500 conda environment

$ source /pathopt/toslac/my/anaconda3/etc/profile.d/conda.sh

...

  • Step 2: Program the KCU1500 PROMs

$ updatePcieFpga --package snl_trans_fespath path_to_image_dir

  • Step 3: reboot the machine

$ sudo reboot

How to run the baseline python software

Assumes you have completed "How to install the Software With Anaconda" and "How to reprogram the firmware on the KCU1500" sections already

  • Step 1: Load the snltransfeskcu1500 conda environment

$ source /pathopt/to/myslac/anaconda3/etc/profile.d/conda.sh

...

$ fesGui --guiType None --h5Path TestDataCheck.h5


Required Updates To Driver

  • Edit files in the driver to match this diff:

https://github.com/slaclab/aes-stream-drivers/compare/realtime...lock_cpu

The important changes are in the 5 edits in axis_gen2.c

The other changes are related to a kernel update which requires pr_warning to be replaced with pr_warn

insmod datadev.ko cfgIrqDis=cpuNum cfgSize=1000000 cfgTxCount=1024 cfgRxCount=1024