You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

Do this on lcls-pc83236

Preparing git keys 

#add this to bash_profile PATH="/afs/slac/g/reseng/git/git/bin:$PATH"

#this isn't complete. need more info on setting up git keys

eval $(ssh-agent)        #may need to be done every ssh session

ssh-add                       #may need to be done every ssh session

Building Rogue

git clone https://github.com/slaclab/rogue.git

cd rogue

source setup_template.sh

eval $(ssh-agent)

ssh-add (maybe with "-K"?)

git submodule init

git submodule update

make

Some applications are not built by default.  cd to directory and make.

Building Firmware

git clone https://github.com/slaclab/lcls2-pcie-apps.git

git submodule init

git submodule update

source /afs/slac/g/reseng/xilinx/vivado_2017.3/Vivado/2017.3/settings64.sh  #this isn't working on 1/31/2018. sourcing below instead

source lcls2-pcie-apps/firmware/setup_env_slac.sh

if you want to store the output of "make" on your local machine: in the "firmware/" directory, "ln -s /u1/sioan/build ."

cd firmware/targets/TimeToolKcu1500

make

Making Vivado communicate with board over USB/JTAG

#https://www.xilinx.com/support/answers/59128.html

1) Disconnect all Xilinx USB cables from the host computer.
2) Open a shell or terminal console.
3) Extract the driver script and its support files to a local drive of the machine where the cable will be used by typing:

#must cd to directory. Can't run install_drivers from arbitrary directory.

cd /afs/slac.stanford.edu/g/reseng/xilinx/vivado_2017.4/Vivado/2017.4/data/xicom/cable_drivers/lin64/install_script/install_drivers/
sudo ./install_drivers

#now vivado hardware manager will see the kcu1500 board.

 

#instructions to program using vivado hardware manager in link below

https://www.xilinx.com/support/documentation/sw_manuals/xilinx2013_2/ug908-vivado-programming-debugging.pdf

Programming FPGA

Use dataPromLoad or pgpPromLoad mcd file

 

  • No labels