Difference: AMC13CppGettingStarted (1 vs. 8)

Revision 826 Feb 2019 - DanielArcaro

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:
Line: 35 to 32
 
    $  cd amc13
    $  source env.sh   # or possibly .csh
Changed:
<
<
$ make # possibly needed twice first time
>
>
$ make # possibly needed twice first time $ export AMC13_ADDRESS_TABLE_PATH=~/amc13/amc13/etc/amc13
  3a. Create a connection file for your board. You need to know the IP addresses (two, for T1 and T2). By default they are:

Revision 722 Feb 2019 - SiqiYuan

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:
Line: 16 to 16
 
            $ git clone  ssh://git@gitlab.cern.ch:7999/cms-cactus/svn2git/software/boards/amc13.git
Added:
>
>
In case of permission denial, follow the instruction to add a ssh key.
  - HTML option:

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

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>

Revision 524 Jun 2015 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:
Line: 38 to 38
  3b. (Alternatively) you can run the tool to specify the IP address of your AMC13 on the command line:
Changed:
<
<
AMC13Tool2 -c 192.168.1.50 -p ~/work/amc13/amc13/etc/amc13
>
>
AMC13Tool2.exe -c 192.168.1.50 -p ~/work/amc13/amc13/etc/amc13
  See Documentation for details.

Revision 421 Oct 2014 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:
Line: 42 to 42
  See Documentation for details.

Changed:
<
<
4. Run the AMC13Tool as follows:
>
>
4. Run the AMC13Tool2 as follows:
 
    $ tools/bin/AMC13Tool2.exe -c amc13/etc/amc13/connectionSN43.xml

Revision 320 Oct 2014 - EricHazen

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:
Line: 13 to 13
 
    $  svn co svn+ssh://svnuser@svn.cern.ch/reps/cactus/trunk/cactusupgrades/boards/amc13/software/amc13   
    $  cd amc13
Changed:
<
<
$ source uhalEnv.sh # or possibly .csh
>
>
$ source env.sh # or possibly .csh
  $ make # possibly needed twice first time

(substitute your CERN user name for svnuser)

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

Line: 36 to 36
  Please copy the appropriate one and edit it to match your AMC13.

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

AMC13Tool2 -c 192.168.1.50 -p ~/work/amc13/amc13/etc/amc13

See Documentation for details.

 4. Run the AMC13Tool as follows:


Revision 204 Sep 2014 - DanielGastler

Line: 1 to 1
 
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:

1. Install SLC6 OS and Cactus tools on your computer.

Changed:
<
<
(Dan... is there good documentation for this I can point to?)
>
>
- SLC6 install

- Cactus install

  2. Check out AMC13 software package and build:

Revision 104 Sep 2014 - EricHazen

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="HcalDTC"
Getting started with new AMC13 software:

1. Install SLC6 OS and Cactus tools on your computer. (Dan... is there good documentation for this I can point to?)

2. Check out AMC13 software package and build:

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

      (substitute your CERN user name for svnuser)

3. Create a connection file for your board. You need to know the IP addresses (two, for T1 and T2). By default they are:

    T1:  192.168.1.x    where x = 255-2*SN
    T2:  192.168.1.y    where y = 254-2*SN
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.

There are a sample connection files:

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

4. Run the AMC13Tool as follows:

    $ tools/bin/AMC13Tool2.exe -c amc13/etc/amc13/connectionSN43.xml
    Using AMC13 software ver:30304
    >list
    Connected AMC13s
    *0: SN:  43 T1v: 0209 T2v: 0021 cf: amc13/etc/amc13/connectionSN43.xml
    >

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!

-- EricHazen - 04 Sep 2014

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