Project

General

Profile

1495 Firmware Upgrades

The utility the is used to preform the firmware upgrades is contained in the following UPS product:

[sfoulkes@dsfr6 darkside_fw]$ ups list -a caenupgrader

DATABASE=/products 
    Product=caenupgrader    Version=v1_4_1    Flavor=Linux64bit+2
        Qualifiers=""    Chain="" 

[sfoulkes@dsfr6 darkside_fw]$ 

It should be available on all darkside DAQ nodes. Boris keeps the current version of the firmware in the following document:
http://darkside-docdb.fnal.gov:8080/cgi-bin/ShowDocument?docid=551

On the V1495 board there are two different areas that have upgradable firmware. The VME section which is supplied by CAEN and the USER area which we develop. The upgrade utility takes as one of it's arguments a parameters file that outlines exactly what to upgrade. There are currently the following parameters files:

CVupgrade_params_Digitizers_PLL.txt
CVupgrade_params_Digitizers.txt
CVupgrade_params_SY2791.txt
CVupgrade_params_V1190_V1290.txt
CVupgrade_params_V1495_USER.txt
CVupgrade_params_V1495_VME.txt
CVupgrade_params_V6533.txt

Please Note that it is important to download the correct firmware type to either the USER or VME area on the board. Accidental mismatches will cause the board to be unreadable.

To verify the VME firmware I use the following:

[sfoulkes@dsfr6 darkside_fw]$ cvUpgrade /home/sfoulkes/darkside_fw/V1495VME_rev_1.1.rbf OPTLINK -link <linkNumber> -bdnum 0 -VMEbaseaddress 01000000 -rbf -param $CAENUPGRADER_DIR/params/CVupgrade_params_V1495_VME.txt -verify_only

Note that the param file will change depending on which area of NVRAM you are flashing. The link number will also change depending on which optical port the card is connected to.

To upgrade the VME firmware I use the following:

[sfoulkes@dsfr6 darkside_fw]$ cvUpgrade /home/sfoulkes/darkside_fw/V1495VME_rev_1.1.rbf OPTLINK -link <linkNumber> -bdnum 0 -VMEbaseaddress 01000000 -rbf -param $CAENUPGRADER_DIR/params/CVupgrade_params_V1495_VME.txt

To verify the USER area:

cvUpgrade /home/sfoulkes/darkside_fw/V1495_Main_v1g.rbf OPTLINK -link <linkNumber> -bdnum 0 -VMEbaseaddress 01000000 -rbf -param /products/caenupgrader/v1_4_1/params/CVupgrade_params_V1495_USER.txt -verify_only

To upgrade the USER area:

cvUpgrade /home/sfoulkes/darkside_fw/V1495_Main_v1g.rbf OPTLINK -link <linkNumber> -bdnum 0 -VMEbaseaddress 01000000 -rbf -param /products/caenupgrader/v1_4_1/params/CVupgrade_params_V1495_USER.txt