The Hugin board allow the tell1 boards to throttle the trigger. It is integrated in a similar way as ODIN and uses a ccpc for control.

This document describes the hardware and software integration. We use

we board HuginP2_02
ccpc mac: 00-30-59-01-C9-0D
use hostname: hugin

Add the hugin ccpc address to the dhcpd server on bgvctrl

sudo vi /etc/dhcp/dhcpd.conf

host {
        option root-path "";
        hardware ethernet 00:30:59:01:C9:0D; # hugin board

sudo service dhcpd restart

prepare the ccpc image. Either use the seed.tar or clone the odin image

# cd /nfsexports/ccpc
# sudo tar -xf seed.tar 

add hugin to the /etc/hosts file (on bgvctrl) and then copy it to all other machines. This can be done with the following command:

for h in bgvgw hltv0101 hltv0102 hltv0103 tfcodin16 hugin bgvtell01 bgvtell02 bgvtell03 bgvtell05 bgvtell06 bgvtell07 bgvtell08 bgvtell09 ; { echo $h; rsync -a -e "ssh" --rsync-path="sudo rsync" /etc/hosts $h:/etc/ ; }

Add the setup file for hugin (that setups the firmware) and make sure the path is correct in the init script in the hugin ccpc image (in /etc/init.d/TFCsetup)

sudo cp /group/online/tfc/ccpc/HUGIN/.setup_hugin /nfsexports/ccpc/hugin/root/usr/local/tfc/HUGIN/

Then setup the input ports in the .setup_hugin file. It's a hex number corresponding to the bit pattern enabling the ports. Each tell01 is connected to a port and this port must be enabled. The others must be disabled. Count from lowest bit from the right. For example:

enable port 0: 00000000000000000001
enable port 19: 10000000000000000000

If we exclude bgvtell03 then the bit pattern and hex number is:

printf '%X\n' "$((2#00000000001111110110))"
in the .setup_hugin file:
# Enable input ports (edit here)
ctrl -w0x3F6 0x100C

In the case of the initial HUGIN setup:

Map {HuginPort : TELL}
{19: X, 18: 1, 17: 2, 16: 9, 15: 4, 14: 5, 13: 6, 12: 7, 11: 8, 10: X......}
--> 0111 1111 1000 0000 0000 = 0x7F800

Update (31/10/2017) New testing setup

--> 0111 1011 1001 0000 0000 = 0x7B900
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2017-10-31 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    BGV All webs login

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.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback