Difference: AMC13CppGettingStarted (5 vs. 6)

Revision 622 Feb 2019 - DanielArcaro

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:
Line: 6 to 6
  - SLC6 install
Changed:
<
<
- Cactus install
>
>
- Cactus install
  2. Check out AMC13 software package and build:

Added:
>
>
Clone from git:

- SSH option:

            $ git clone  ssh://git@gitlab.cern.ch:7999/cms-cactus/svn2git/software/boards/amc13.git

- HTML option:

            $ git clone https://gitlab.cern.ch/cms-cactus/svn2git/software/boards/amc13.git

- Kerberos option:

            $ git clone https://:@gitlab.cern.ch:8443/cms-cactus/svn2git/software/boards/amc13.git

- No longer used:

            $ svn co svn+ssh://svnuser@svn.cern.ch/reps/cactus/trunk/cactusupgrades/boards/amc13/software/amc13   
              (substitute your CERN user name for svnuser)

To build the code after downloading run:

 
Deleted:
<
<
$ svn co svn+ssh://svnuser@svn.cern.ch/reps/cactus/trunk/cactusupgrades/boards/amc13/software/amc13
  $ cd amc13 $ source env.sh # or possibly .csh
Changed:
<
<
$ make # possibly needed twice first time

(substitute your CERN user name for svnuser)

>
>
$ make # possibly needed twice first time
  3a. Create a connection file for your board. You need to know the IP addresses (two, for T1 and T2). By default they are:
Changed:
<
<
    T1:  192.168.1.x    where x = 255-2*SN

>
>
    T1:  192.168.1.x    where x = 255-2*SN

  T2: 192.168.1.y where y = 254-2*SN
Added:
>
>
 SN is the serial number from the front of the module. There are other ways to set the IP addresses; let me know if you can't use the default ones.
Line: 30 to 47
 use the default ones.

There are a sample connection files:

Changed:
<
<
        amc13/etc/amc13/connectionSN43.xml          (not using control hub)

>
>
        amc13/etc/amc13/connectionSN43.xml          (not using control hub)

  amc13/etc/amc13/connectionSN43_ch.xml (using control hub)
Added:
>
>
 Please copy the appropriate one and edit it to match your AMC13.

3b. (Alternatively) you can run the tool to specify the IP address of your AMC13 on the command line:

Line: 40 to 58
  AMC13Tool2.exe -c 192.168.1.50 -p ~/work/amc13/amc13/etc/amc13
Changed:
<
<
See Documentation for details.
>
>
See Documentation for details.
  4. Run the AMC13Tool2 as follows:
Changed:
<
<
    $ tools/bin/AMC13Tool2.exe -c amc13/etc/amc13/connectionSN43.xml

>
>
    $ tools/bin/AMC13Tool2.exe -c amc13/etc/amc13/connectionSN43.xml

  Using AMC13 software ver:30304
Changed:
<
<
>list
>
>
>list
  Connected AMC13s *0: SN: 43 T1v: 0209 T2v: 0021 cf: amc13/etc/amc13/connectionSN43.xml
Changed:
<
<
>
>
>
>
 

Assuming you get to this point and you get a display of firmware versions and serial number which make sense, you are in good shape!

Deleted:
<
<
-- EricHazen - 04 Sep 2014
 \ No newline at end of file
Added:
>
>
-- EricHazen - 04 Sep 2014</verbatim>
 
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.
Ideas, requests, problems regarding TWiki? Send feedback