ATLAS LAr ROD Test Bench Manual

Current Versions

Start Test Bench

* Enter linux commands:

  • cd ~/GENEVA/TBenchDAQ/v0r5/cmt
  • sod106
  • ss
  • daq
* On TDAQ window click BOOT
* Open Testbench panel
* Enter correct ROD board ID and update dababase by clicking on floppy symbol (bottom right)
* On TDAQ window click CONFIG
* On TDAQ window click START
* Wait until tests finished
* If test failed click SHUTDOWN on TDAQ window and restart procedure
* In case of major mess-up EXIT from TDAQ window, type killbill in xterm and restart TDAQ by typing daq in xterm

Program FPGA via JTAG chain

* the following instruction is also valid for later releases of LargOnline
* open terminal and type (works currently only as root):
* ssh largrod3
* su
* cd /data/soft/LargOnline/releases/LargOnline-108-22-02/admin/cmt/
* source setup.sh
* cd /data/soft/LargOnline/releases/LargOnline-108-22-02/Tools/cmt/
* source setup.sh
* check version with:
* ../i686-slc4-gcc34-opt/scanCrate -A (entire crate) or ../i686-slc4-gcc34-opt/scanCrate -R10 (slot 10)
* program FPGAs with:
* ../i686-slc4-gcc34-opt/jp -aPROGRAM -r10 /home/rod4/jbcFiles/oc_epc2_421.jbc
* ../i686-slc4-gcc34-opt/jp -aPROGRAM -r10 /home/rod4/jbcFiles/output_fpga_070905.jbc
* ../i686-slc4-gcc34-opt/jp -aPROGRAM -r10 /home/rod4/jbcFiles/ttc_lar_v2417_21sept09.jbc
* after that, reboot crate

* jbc files from the ATLAS network can be obtained like this:
* login to atlasgw.cern.ch
* choose for example machine pc-lar-pm-emba-01
* copy files from /atlas-home/1/lardaq/bazan/jbcFiles/

MySQL mini-guide

mysql -u atlas -p

select version();
select current_date;

show databases;

use productionTest;

show tables;

tee log_name.log;

select * from `liste_rod` where id='20ALUGERM00168' order by id;
select * from id_board where rodid='20ALUGERM00168';
select * from `condition_test` where rodid='20ALUGERM00168' order by num_test;
select * from version;
select * from `log_book` order by id,date;

describe version;
select * from version;
delete from version where version_testbench = 'v1r5';
insert into version values (DEFAULT,'v1r5',DEFAULT,DEFAULT,DEFAULT,DEFAULT,'17050105','411','2401','300605','101001','316FF45','070605');
select * from version;


show local users and pwds:
use mysql
select * from users

creat local DB:
mysqladmin -u root -p create productionTest
copying the LAPP database to a local db:
mysqldump -h lappc-at26.in2p3.fr -u atlas -p productionTest | gzip > productionTest.gz
import to local mysql:
gunzip < productionTest_190208.gz | mysql -u atlas -p productionTest

connect to local DB: mysql -u atlas -p
DB files are physically located in /var/lib/mysql

-- ArnoStraessner - 09 Feb 2007

Edit | Attach | Watch | Print version | History: r14 < r13 < r12 < r11 < r10 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r14 - 2009-10-14 - BertrandMartin
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main All webs login

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