Difference: AMC13CppSoftware (1 vs. 26)

Revision 2612 Mar 2015 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Changed:
<
<
NOTE: as of June 2014 work is underway to replace all this code with re-written C++ code which will be housed in the Cactus repository with the uHAL and friends. Please see AMC13CppProductionSoftware for
>
>
This software is OBSOLETE. Please see AMC13CppProductionSoftware for
 information on the new software.
Added:
>
>
 Current code is in the HCAL xDAQ SVN: here. Follow links to trunk/hcalUpgrade/amc13/src/common (sorry!)

Revision 2517 Jul 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Line: 44 to 44
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 59 to 60
 

Software for a Manual Build

Added:
>
>
 

Revision 2404 Jun 2014 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Added:
>
>
NOTE: as of June 2014 work is underway to replace all this code with re-written C++ code which will be housed in the Cactus repository with the uHAL and friends. Please see AMC13CppProductionSoftware for information on the new software.
 Current code is in the HCAL xDAQ SVN: here. Follow links to trunk/hcalUpgrade/amc13/src/common (sorry!)

Revision 2313 May 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Line: 40 to 40
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Changed:
<
<
>
>
 
Line: 55 to 55
 

Software for a Manual Build

Changed:
<
<
>
>
 

Revision 2213 May 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Line: 40 to 40
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 54 to 55
 

Software for a Manual Build

Added:
>
>
 

Revision 2108 Apr 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Line: 40 to 40
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Changed:
<
<
>
>
  • amc13StandaloneRPM_04-07-2014.tar.gz - new release. Fixed bug to write backup spartan (golden) flash on lx45t chips. Also, changed code to accept mcs files w/ prefix 'amc13' in lowercase as well as 'AMC13'
 
Line: 54 to 54
 

Software for a Manual Build

Changed:
<
<
>
>
  • amc13StandaloneMAN_04-07-2014.tar.gz - new release. Fixed bug to write backup spartan (golden) flash on lx45t chips. Also, changed code to accept mcs files w/ prefix 'amc13' in lowercase as well as 'AMC13'
 

Revision 2007 Apr 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Line: 40 to 40
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 53 to 54
 

Software for a Manual Build

Added:
>
>
 

Revision 1903 Apr 2014 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Added:
>
>
Current code is in the HCAL xDAQ SVN: here. Follow links to trunk/hcalUpgrade/amc13/src/common (sorry!)
 
Contents
Software for use with xDAQ
Software for use without xDAQ

Revision 1826 Mar 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 48 to 49
 

Software for a Manual Build

Added:
>
>
 

Revision 1714 Mar 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 47 to 48
 

Software for a Manual Build

Added:
>
>
 

Revision 1613 Mar 2014 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 81 to 81
 
  1. Once the code is done building, you are ready to run AMC13Tool. Make sure to set the environment variable AMC13_SERIAL_NO to your AMC13's serial number (found in permenant ink on the front panel of the module). For instance, in the following example, I am preparing to use serial number 9:
       export AMC13_SERIAL_NO=9
Changed:
<
<
./bin/AMC13Tool
>
>
./bin/AMC13Tool -u
 
  • You can find detailed documentation on all of the commands and common procedures via the first page of amc13.info. This page will give you instructions on how to update your firmware, enable the AMC13, control the interal TTC signal, take data, etc.

Revision 1520 Nov 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 71 to 71
  This will create a folder which holds all of the software. You can rename the folder and move it to where you wish.
  1. Go into the newly created folder and set the environment using the .csh script if you are running a t-shell, or .sh if you are running a bash shell. For instance:

Changed:
<
<
cd amc13StandaloneRPM_2012_12_04.tar.gz/
>
>
cd amc13StandaloneRPM_2012_12_04/
  source uhalEnv.sh
  1. Now you are ready to build the code. From the same directory (the one with the Makefile in it), do:

Revision 1420 Aug 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Changed:
<
<
>
>
 

Revision 1315 Aug 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Changed:
<
<
>
>
 
Line: 47 to 47
 

Software for a Manual Build

Changed:
<
<
>
>
 

Revision 1213 Aug 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 46 to 47
 

Software for a Manual Build

Added:
>
>
 

Revision 1103 Jun 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 45 to 46
 

Software for a Manual Build

Added:
>
>
 

Revision 1031 May 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 84 to 84
 

AMC13 Software Links

Additional Links
Changed:
<
<
AMC13 Class
>
>
AMC13 C++ Classes
 
How to install a xDAQ release
AMC13 xDAQ Configuration Variables
Deleted:
<
<
AMC13 HCAL CVS Repository
 
AMC13Tool Specification
Getting started with AMC13Tool
AMC13Tool Recipes

Revision 930 May 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Software for use with xDAQ
Software for use without xDAQ
Changed:
<
<
AMC13 Software Links
>
>
Additional AMC13 Software Links
 

Software for use with xDAQ

Revision 830 May 2013 - DavidZou

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 
Line: 42 to 43
 
Added:
>
>
 

Software for a Manual Build

Added:
>
>
 

Revision 716 May 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Added:
>
>
 

Software for a Manual Build

Added:
>
>
 

Revision 613 May 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 36 to 36
 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

Changed:
<
<
>
>
 

Software for a Manual Build

Added:
>
>
 

Revision 516 Apr 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Line: 37 to 37
 

Software for an RPM Build

Added:
>
>
 

Software for a Manual Build

Changed:
<
<
>
>
 

Revision 431 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"

AMC13 Tool Acquisition and Installation

Contents
Software for use with xDAQ
Software for use without xDAQ
Changed:
<
<
>
>
AMC13 Software Links
 

Software for use with xDAQ

Line: 37 to 37
 

Software for an RPM Build

Changed:
<
<
amc13StandaloneRPM_2012_12_04.tar.gz - initial release. Includes DAQ link and internal TTC capabilities
>
>
 

Software for a Manual Build

Changed:
<
<
amc13StandaloneMAN_2012_12_04.tar.gz - initial release. Includes DAQ link and internal TTC capabilities
>
>
 

Installation Instructions

Line: 58 to 60
  This will create a folder which holds all of the software. You can rename the folder and move it to where you wish.
  1. Go into the newly created folder and set the environment using the .csh script if you are running a t-shell, or .sh if you are running a bash shell. For instance:

Changed:
<
<
cd rpm/
>
>
cd amc13StandaloneRPM_2012_12_04.tar.gz/
  source uhalEnv.sh
  1. Now you are ready to build the code. From the same directory (the one with the Makefile in it), do:
Line: 72 to 74
 
  • You can find detailed documentation on all of the commands and common procedures via the first page of amc13.info. This page will give you instructions on how to update your firmware, enable the AMC13, control the interal TTC signal, take data, etc.
Added:
>
>

AMC13 Software Links

Additional Links
AMC13 Class
How to install a xDAQ release
AMC13 xDAQ Configuration Variables
AMC13 HCAL CVS Repository
AMC13Tool Specification
Getting started with AMC13Tool
AMC13Tool Recipes
 

-- CharlieHill - 04 Dec 2012

Revision 331 Jan 2013 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Added:
>
>

AMC13 Tool Acquisition and Installation

Contents
Software for use with xDAQ
Software for use without xDAQ

 

Software for use with xDAQ

If HCAL xDAQ is installed on your SLC5 machine, and if you have access to the CMS HCAL repository, then you should follow the instructions below to get the latest software for the HCAL Upgrade uTCA electronics. These build notes are based on Jeremy's instructions, as found in the hypernews email that accompanies the latest xDAQ release.
Changed:
<
<

Installation

>
>

Installation Instructions

 The instructions below use release number 11_5_2 as an example. Substitute in the latest release number to get the most up-to-date software.

To install on a teststand (as daqowner) :

Line: 23 to 30
 
    • For bash, do: $ export AMC13_SERIAL_NO=9
    • Now you can run the executable: $ AMC13Tool.exe
Added:
>
>
 

Software for use without xDAQ

Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Revision 206 Dec 2012 - CharlieHill

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Added:
>
>

Software for use with xDAQ

If HCAL xDAQ is installed on your SLC5 machine, and if you have access to the CMS HCAL repository, then you should follow the instructions below to get the latest software for the HCAL Upgrade uTCA electronics. These build notes are based on Jeremy's instructions, as found in the hypernews email that accompanies the latest xDAQ release.

Installation

The instructions below use release number 11_5_2 as an example. Substitute in the latest release number to get the most up-to-date software.

To install on a teststand (as daqowner) :

  1. Log onto your machine as daqowner using ssh or switch to the daqowner user by doing $ su daqowner. You will need to know the password for daqowner on your machine.
  2. Get the code from the online repository
    • $ wget http://cmshcalweb01.cern.ch/hcalsw/release/installDAQ_11_5_2.perl
  3. Install the release
    • $ perl installDAQ_11_5_2.perl --mode=teststand
  4. You will need to pick the most recent release by setting the ~daqowner/dist symlink
    • $ ~daqowner/common/bin/pickRelease.sh
    • Choose the most recent release, which is, in this case, 11_5_2
  5. Lastly, you will need to set the environment before using the software
    • $ ~daqowner/dist/etc/env.csh or $ ~daqowner/dist/etc/env.csh
    • In the above command, use .csh if you are running a t-shell or .sh if you are running a bash shell
  6. Now you should be able to use the software! To check, try running AMC13Tool. You will need to set your AMC13 serial number as an environment variable first.
    • For t-shell, do: $ setenv AMC13_SERIAL_NO 9
    • For bash, do: $ export AMC13_SERIAL_NO=9
    • Now you can run the executable: $ AMC13Tool.exe

Software for use without xDAQ

 Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.
Changed:
<
<

Software for an RPM Build

>
>

Software for an RPM Build

  amc13StandaloneRPM_2012_12_04.tar.gz - initial release. Includes DAQ link and internal TTC capabilities
Changed:
<
<

Software for a Manual Build

>
>

Software for a Manual Build

  amc13StandaloneMAN_2012_12_04.tar.gz - initial release. Includes DAQ link and internal TTC capabilities
Changed:
<
<

Installation Instructions

>
>

Installation Instructions

 
  • These instructions are presented as for an RPM build installation, but are identical for a non-RPM build installation

Revision 104 Dec 2012 - CharlieHill

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HcalDTC"
Below are the releases of the standalone, non-xDAQ C++ software for the AMC13. This software requires a CACTUS installation on the host machine. If you have installed CACTUS on SLC5 via YUM or via an RPM build, please use the software under the Software for an RPM Build header. If you are using SL5 or any other OS and installed CACTUS manually (via a checkout of the code from SVN), then use the software under the Software for a Manual Build header.

Software for an RPM Build

amc13StandaloneRPM_2012_12_04.tar.gz - initial release. Includes DAQ link and internal TTC capabilities

Software for a Manual Build

amc13StandaloneMAN_2012_12_04.tar.gz - initial release. Includes DAQ link and internal TTC capabilities

Installation Instructions

  • These instructions are presented as for an RPM build installation, but are identical for a non-RPM build installation

  1. Go the the directory in which you want to install the software on your machine. Then, use wget to download the software using the proper link above. For instance:
       wget  http://ohm.bu.edu/~chill90/amc13_standalone/amc13StandaloneRPM_2012_12_04.tar.gz
       
  2. Unpack the tarball like so:
       tar -zxvf amc13StandaloneRPM_2012_12_04.tar.gz
       
    This will create a folder which holds all of the software. You can rename the folder and move it to where you wish.
  3. Go into the newly created folder and set the environment using the .csh script if you are running a t-shell, or .sh if you are running a bash shell. For instance:
       cd rpm/
       source uhalEnv.sh
       
  4. Now you are ready to build the code. From the same directory (the one with the Makefile in it), do:
        make
       
  5. Once the code is done building, you are ready to run AMC13Tool. Make sure to set the environment variable AMC13_SERIAL_NO to your AMC13's serial number (found in permenant ink on the front panel of the module). For instance, in the following example, I am preparing to use serial number 9:
       export AMC13_SERIAL_NO=9
       ./bin/AMC13Tool
       
  • You can find detailed documentation on all of the commands and common procedures via the first page of amc13.info. This page will give you instructions on how to update your firmware, enable the AMC13, control the interal TTC signal, take data, etc.

-- CharlieHill - 04 Dec 2012

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