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

Compare with Current View Page History

« Previous Version 2 Next »

Tasks in switching from Spartan to Kintex fiber for communication between EPICS IOC and LLRF chassis

  • Is specific Spartan firmware version needed, if so which?
  • Use lcls2_llrf bitfiles with \_fiber\_ in name, for example: prc_fiber_qf2_v07.a419d3f4.bit
  • Update FEED to use Kintex port number for affected chassis
    • Can set global default FEED port number at startup or command line with command:
      • var(feedUDPPortNum, 803)
    • If not all chassis are using the same port number, you can still define the port number for individual chassis, when setting the FEED network address, for example, at IOC startup:
      • dbpf ${CM}00:RFS1A:CTRL_IPADDR rfs1a:803
      • dbpf ${CM}00:RESA:CTRL_IPADDR rfs1a:5006
  • When calling lcls2_rack.sh, pass -k command line argument. This is done by rfRackInitCommon.sh when passed FIBERFLAG argument. For the LCLS2 Linac, this change is made in rfRackTestLcls2.sh. (These scripts in $TOOLS/script.)
  • If any chassis are not ready for fiber (resonance as of 9/2021), then exclude these in the rack fiber programming step in lcls2_rack.sh. (This only affects rack checkout, not the function/button to just program the fiber interfaces; that still does all 4 chassis in rack.)
    • To exclude resonance, pass -x 1 argument to lcls2_kintex_fiber_rack.py. This change is made in lcls2_rack.sh. (These scripts live in $PACKAGE_TOP/lcls2_llrf/srf/software/prc.)
  • Update CPU /etc/hosts
Steps for 9/24/2021:
  1. In $TOOLS/FEED/firmware/prc
    1. rm current
    2. mv fiber current
  2. In $TOOLS/FEED/firmware/res_ctl
    1. rm current
    2. mv new current
  3. In $PACKAGE_TOP/lcls2_llrf/
    1. rm srf
    2. mv new srf
  4. In $TOOLS/script
    1. cvs update rfRackInitLcls2.sh
  5. Update /etc/hosts
  6. Two ways to make software use new port number...
  • No labels