BcmPrimeReadout

The overall description of the readout can be found in readout note. This page has:

FELIX

FELIX cards are used for the last step of the readout. Here are some useful links:

Currently we are in possession of one FELIX card:

Card: 114

Type FLX-712 24Ch
Serial 114
Responsible BostjanMacek
Location Ljubljana
Images front back TTC mezzine label

Card settings:

Switch value
8-pin switch 0b00000000
J1 free
J2 2-3
J8 free
JMP1 1-2
JMP2 1-2
JMP3 free
JMPR1 2-3
JMPR2 2-3

JTAG cables

For now we use single Digilent JTAG-HS2 cable. Here are the details:

Cable 1
idVendor 0x0403 Future Technology Devices International, Ltd
idProduct 0x6014 FT232H Single HS USB-UART/FIFO IC
iManufacturer 1 Digilent
iProduct 2 Digilent USB Device
iSerial 3 210249B07124

Readout Server

Currently we have only one readout server, that is being used for development.

pc-bcm-lumi

OS CentOs 7 (Kernel 3.10.0-1127.el7.x86_64)
Responsible BostjanMacek
Location Ljubljana
root password 1,4,2,2,8,2,4,8,2,3,7,1,7,6,8,7,11,8,1,1,1,2,9,2
Images top back label

Configuration OS (admin only)

To freshly install and configure the system install CentOS 7.7. This specific version is needed to support both Xilinx tools and FELIX software. After minimum OS install follow these steps (please note the usernames and change them accordingly):

scp -r bmacek@lxplus.cern.ch:/afs/cern.ch/user/b/bmacek/public/bcmp/configuration .
cd configuration/development/
./setup_bcmp.sh

It will prompt you for sudo privileges for your account and ask few questions regarding ssh key generation. Accept defaults and no passwords by simply pushing Enter. Once the script is finished all the basic OS infrastructure will be set up and you will be given necessary permissions.

Warning, important On of the printed messages also displays public part of the ssh key for the user doing installation. Please add this key to your GIT account so you will be able to checkout.

Once prepared with GIT, you can continue to set up the environment:

./setup_bcmp_finalize.sh

After this you can clean up:

cd ../..
rm -rf configuration/

Warning, important At this stage log-out, log-in for the system to pick up the changes.

Tip, idea To ease the login you can register the ssh keys form a relevant outside machine by

ssh-copy-id -i ~/.ssh/id_rsa.pub bostjan@pc-bcm-lumi

Tip, idea From this point one Remote Desktop is available on port 3389. Note that 16-bit colors for remote desktop is suggested, since VIVADO renders poorly under 32-bit colors?! In case of jump servers forward the ports:

ssh -L 2222:pc-bcm-lumi.ijs.si:3389 macek@f9pc08.ijs.si

Configuration Xilinx (admin only)

To support the development of the firmware Xilinx Vivado 2020.1 needs to be installed. First step is to prepare for the licensing. This is done by copying installation to local folder and:

cd Xilinx_Unified_2020.1_0602_1208
./xsetup

Follow this steps:

  1. first prompt will offer the latest version of Vivado, this should be declined (click Continue)
  2. proceed from welcome screen by clicking Next
  3. agree to all three licenses and click Next
  4. select to install Vivado and proceed via Next button
  5. select Vivado HL Design Edition and click Next
  6. customize the instalation by selecting at least all Kintex devices in all sections of "Production devices"
  7. select /bcmp/Xilinx as destination folder and click Next (accept the creation of the new folder)
  8. finalize by clicking Install

Process will take a while, ending with licensing overview. Here you can simply close it. The next topic is configuring VPN to CERN licence server. The instractions can be found VPN Twiki. One needs priviledges provided by IT for this. Start with:

sudo yum install openvpn
cd /bcmp
mkdir CernVpn

Next install https://twiki.cern.ch/twiki/pub/CS/Public/ItcsVpnHowTo/client-licence-servers-mac.ovpn into the created folder /bcmp/CernVpn. Whit this the VPN should be configured.

Next is the Digilent USB cable installation for debugging. Specs of the cable are here. The cable should be connected and disconnected. Once detached proceed with the following commands:

cd /bcmp/Xilinx/Vivado/2020.1/data/xicom/cable_drivers/lin64/install_script/install_drivers/
sudo ./install_drivers

Now cable can be plugged in it should work.

Running Xilinx apps

For running VIVADO nothing special is needed. From console simply run:

vivado

If you will be compiling with the need of the proprietary licenses you need to additionally VPN to CERN license server. Open a fresh console and issue:

xilinx_vpn

You will be prompted for your CERN computing credentials. Leave it running throughout your VIVADO session.

-- BostjanMacek - 2021-05-06

Topic attachments
I Attachment History Action Size Date Who Comment
JPEGjpg IMG_3407.jpg r1 manage 1935.3 K 2020-07-28 - 12:26 BostjanMacek FELIX SN: 114
JPEGjpg IMG_3408.jpg r1 manage 1685.1 K 2020-07-28 - 12:26 BostjanMacek FELIX SN: 114
JPEGjpg IMG_3409.jpg r1 manage 1822.9 K 2020-07-28 - 12:26 BostjanMacek FELIX SN: 114
JPEGjpg IMG_3410.jpg r1 manage 1536.6 K 2020-07-28 - 12:26 BostjanMacek FELIX SN: 114
JPEGjpg IMG_3411.jpg r1 manage 2386.6 K 2020-07-30 - 10:52 BostjanMacek  
JPEGjpg IMG_3412.jpg r1 manage 1943.2 K 2020-07-30 - 10:52 BostjanMacek  
JPEGjpg IMG_3413.jpg r1 manage 2079.0 K 2020-07-30 - 10:52 BostjanMacek  
PDFpdf jtag_hs2_jtag-hs2_rm.pdf r1 manage 213.5 K 2021-05-06 - 10:18 BostjanMacek Digilent JTAG-H2 specs
Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r10 - 2021-05-06 - BostjanMacek
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback