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

Compare with Current View Page History

« Previous Version 7 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 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:

#note to self! must cd to directory! Can't run install_drivers from arbitrary directory!

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

now vivado hardware manager will see board!!!!

Programming FPGA

Use dataPromLoad or pgpPromLoad mcd file

 

  • No labels