Title
Article text.
--
Atlasj Silicon - 2019-12-26
Log
prepare and check
26.12.2019
install HSIO2 software into atlaspc7 (CentOS7)
以下を参照
- ~/work/SiliconMemo/memo/memo_hsio2_CC7.txt
- ~/work/SiliconMemo/memo/memo_HSIO2_manchesterencode.txt
参照ページ
firewallの解除
- $ emacs -nw /etc/sysconfig/selinux
- SELINUX=permissive
- $ echo 0 >> /etc/selinux/enable
- $ systemctrl disable firewalld
software install
apply manchester encode
- FPGAからHSIO2にコマンドを送る方のsignal clockが40MHzなので,80MHzにして,AC couopleによるsignal heightの減少を抑える.
- $ emacs -nw ~/work/HSIO2_FEI4/pixelrce/rce/pixelrce/server/CalibGui.cc
- add [ fw.setEncoding(rce,FWRegiseters::MANCHESTER); ] between [ int rce=it->firsts; ] and [ fw.setTriggermask(rce,0);
- add [ fw.setEncoding(rce,FWRegiseters::MANCHESTER); ] between [ int rce=it->firsts; ] and [ //Discriminator Delays ]
NOT write firmware
DHCP service ON to apply HSIO2 IP address
- $ emacs -nw /etc/dhcp/dhcpd.conf
- host dtm50 { option host-name "dtm10"; hardware ethernet 08:00:56:00:44:EE; fixed-address 192.168.1.10 }
- ( hardware ethernet = MAC address of HSIO2, これで識別している)
- 設定→ネットワーク(右上の有線設定からでも可)→USB Ethernetの設定→IPv4
- 手動
- address:192.168.1.22, net mask:255.255.255.0, gate way:192.168.1.1
- (この接続はネットワーク上のリソースのためだけに使用にチェックを入れたいが,入れると適用ができないので以下のことを行う)
- $ nmcli connection modify [eth] ipv4.never-default true(上のところにチェックが入ったことを確認)
- ON→OFF→ON
- $ systemctrl restart dhcpd.service
- $ chkconfig dhcpd on
- $ systemctrl status dhcpd.service
- $ ping 192.168.1.10
- (communicationを簡略化?させるために,HSIO2:192.168.1.10をある名前に紐づける)
- $ emacs -nw /etc/hosts
- add [ 192.168.1.10 dtm50 rce0 ]
- ping rce0
HSIO2を動かしてみよう!
HSIO2
- $ ssh rce0 -l root
- # source setup.sh
- # calibserver
- 以下GUIで操作
Comments