UPDATE FPGA FIRMWARE

This page should help you to update FRL/SLINK CMC/FMM/CPCI Monitor cards FPGA firmwares. FRL/FMM and CPCI monitor card can be updated by two different methods (remotely or in situ). As for SLINK CMC is only possible to update it in situ.

For the both methods, a SVF file is used to update the firmware, check below at each card description where to find it.

Update remotely (generality)

IMPORTANT: Before using this program, stop all services except generic-pci-access, i.e. sudo service myrfb stop, sudo service xdaqd stop. To upgrade/verify/check firmware you can use the program /opt/xdaq/bin/cmsdaq_fwloarder.exe. Make sure /opt/xdaq/lib is in your LD_LIBRARY_PATH. The -h switch will give you a help message.

To upgrade a firmware, you should know:

  1. the PC controlling the crate involved
  2. the slot number for the card involved

logging you on the PC

  • to load the new firmware, execute this command:
    • /opt/xdaq/bin/cmsdaq_fwloarder.exe -c[cardType] -g[slot] [svf-file] (add option -m if you want to update multiple cards in parallel)
  • to upload the new firmware in the FPGA, execute this command:
    • /opt/xdaq/bin/cmsdaq_fwloarder.exe -c[cardType] -g[slot] -rm0 (for FRL main FPGA)
    • /opt/xdaq/bin/cmsdaq_fwloarder.exe -c[cardType] -g[slot] -r (for other FPGA)

You can check that all cards have the same firmware with this command:

  • /opt/xdaq/bin/cmsdaq_fwloarder.exe -l

NB: perhaps that you should restart some services ? confused

Update in situ (generality)

It can happen that remotely update is not possible (PC crashed during an update, power cut during an update, ...). You have still the possibility to update the card in situ, using the OCTOPUS tool. Normally only one SVF file for each FPGA will be on the CompactFlash associated with each OCTOPUS.

But if it is not the case, ask an expert.

WHERE TO FIND IT:
inside the USC55-S1 cupboard "DAQ SPARES": Service Cavern, first floor along the wall, big lift side

Update FEROL firmwares

The FEROL firmware is identical for all cards (not versionning) [cardType] = FEROL

FEROL FPGA:

In the file name, the compilation version number starts with "FEA0...."

The version starting with "P/V1_ferol_FEB..." are for the FEDKIT

!!! when you update the FEROL firmware you should run a script to assign the IP address (or you should reboot the PC) !!!!

Update FRL firmwares

There are two FRL hardware versions. The bridge FPGA firmware is the same for the both hardware versions, as for the main FPGA, there are two versions. [cardType] = FRL

FRL bridge FPGA:

In the file name, the compilation version number starts with "FB00...."

FRL version 0 main FPGA (SN # 0 to 0) The card haven't a serial number (DAQ2VAL crate dvfrlpc-c2f32-11-01 et dvfrlpc-c2f32-13-01)

In the file name, the compilation version number starts with "F030...." for the first design, " F130.." for the second.

FRL version I main FPGA (SN # 1 to 568)

In the file name, the compilation version number starts with "F030...." for the first design, " F130.." for the second.

FRL version II main FPGA (SN# from 569 + label "V2" at the front panel)

In the file name, the compilation version number starts with "F031...." for the first design, " F131.." for the second.

Update SLINK CMC firmwares

There are two SLINK CMC hardware versions, there are distinguished by a label V2 at the front panel. You can update the firmware only with the OCTOPUS .

SLINK CMC version I: (SN# 1 to 720)

In the file name, the compilation version number starts with "CF01....". It is the version that you should find in the FRLControler_status_page.

SLINK CMC version II: (SN# from 721 + label "V2" on the front panel)

In the file name, the compilation version number starts with "CF11....". It is the version that you should find in the FRLControler_status_page.

Update FMM firmwares

There are three FMM versions (FMM, ATTS and tester)

The FMM Bridge FPGA :

In the file name, the compilation version number starts with "fb01..."

The ATTS Bridge FPGA :

In the file name, the compilation version number starts with "fb02..."

Update CPCI Monitor firmware

[cardType]=TD The CPCI Monitor card has only one FPGA:

In the file name, the compilation version number starts with "CE02....".

Search for a Compilation number

If you know the compilation number you want you use tyoe it here to find the SVF files (satrting by p to program and v to verify)

Compilation Number:

-- DoGigi - 02 Oct 2008

Edit | Attach | Watch | Print version | History: r10 < r9 < r8 < r7 < r6 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r10 - 2016-08-11 - DoGigi
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Sandbox All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2020 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