DAQ development by SPEC
- Installed CERN CentOS7 to pcatutt21.cern.ch
- Installed SLC6 to keksipc01 : at KEK ip=130.87.243.35
How to setup SPEC board
mkdir -p /home/atlasj/work/SPEC/YARR
cd /home/atlasj/work/SPEC/YARR/
git clone https://github.com/Yarr/Yarr.git
git fetch
git checkout fe65_p2
cd /home/atlasj/work/SPEC/YARR/Yarr/src/kernel
make
sudo make install
sudo depmod
cd ../ ; make
- install driver and program firmware to the SPEC card FPGAsudo rmmod specDriver
sudo modprobe specDriver
bin/programFpga ../hdl/syn/yarr_fe65p2_revB.bit
bin/test
bin/benchmarkDma
How to configure chips and run scan
tuning
- source gcc4.8.2
source /opt/rh/devtool/set_2/enable
- write FPGA
cd /home/atlasj/work/SPEC/Yarr/src
./bin/programFpga ../hdl/syn/yarr_fe65p2_revB.bit
- Delete fe65p2.json
cd ~/work/SPEC/Yarr/src
rm -f fe65p2.json
- Digital scan
./primlist/scan.sh digitalscan <KEKFE65-(module #)_th(threshold)>
- Analog scan
./primlist/scan.sh analogscan <KEKFE65-(module #)_th(threshold)>
- Threshold scan
./primlist/scan.sh thresholdscan <KEKFE65-(module #)_th(threshold)>
- Grobal tuning
change Vthin1 and Vthin2 (fe65p2.json) differential threshold: threshold=Vthin1-Vthin2 ※Vthin2>25
- set thresold tuning target
edit Line147 in scanconsole65.cpp bookiie.setTargetThreshold(threshold)
- Local tuning
./primlist/scan.sh tune_pixelthreshold <KEKFE65-(module #)_th(threshold)>
General scan consol
HitOr self trigger scan
1. Run digital scan 2. Run analog scan 3. Prepare config: - Enable all pixels: # bin/config_fe65-p2 fe65p2.json (Overwrites config file) - Apply digital scan mask: # bin/applyMask fe65p2_ch0_digitalscan_EnMask.dat fe65p2.json - Copy masked config: # cp masked_fe65p2.json fe65p2.json - Apply analog scan mask: # bin/applyMask fe65p2_ch0_analogscan_EnMask.dat fe65p2.json - Copy masked config: # cp masked_fe65p2.json fe65p2.json 4. Run noise scan (~5min) 5. Apply noise mask: - Apply digital scan mask: # bin/applyMask fe65p2_ch0_noisescan_NoiseMask.dat fe65p2.json - Copy masked config: # cp masked_fe65p2.json fe65p2.json 6. Mask stuck/noise hitter pixels: - #bin/fixHitbus fe65p2.json (takes quite some time ~15min) - Only pixels which will get masked get printed to stdout, optimally these should not be many - If many pixels appear to not work something is wrong - You can observe the process by probing HitOr Output and Trigger, there should be two hitOr pulses per trigger - The program produces a mask hitbus_enMask.png - Copy masked config: # cp masked_fe65p2.json fe65p2.json 7. Run exttrigger scan: - If everything went right you should observe a trigger rate of a few Hz without a particle source - With source the rate should be much higher - The internal dead time is 200bc (currently hardcoded for testing)
YARR DAQ in EUDAQ
Hi Koji,
See here for instructions on eudaq: http://yarr.readthedocs.io/en/eudaq/eudaq.html
Swap into branch “eudaq”. Don’t forget to program the correct firmware (assuming you already have the adapter board).
Some remarks:
- I had a merge conflict problem in the firmware and I’m not 100% that is resolvers properly. If it is not right, YARR would not answer to triggers, which you should see if the RC does not see more trigger.
- I had to change the way events get send to the RC, this is untested and I hope it works.
- There is a version of the converter, but I’m sure there were local changes and I can’t get onto the eudaq machine at SLAC due to some stupid permissions. We need to wait until someone sends me the file.
If you give me a not to random time window in your night where I can test some things with, we could do that. I have to run some errants and will not be at my laptop the whole time.
Otherwise we can get everything running once I’m there in person.
Cheers,
Timon
https://eutelescope.web.cern.ch/forum/multiple-dut-events-tlu-trigger
Images
 |
 |
 |
 |
DSC_1418 |
DSC_1420 |
DSC_1421 |
DSC_1423 |
 |
 |
 |
 |
DSC_1424 |
DSC_1425 |
DSC_1426 |
DSC_1434 |
 |
 |
 |
 |
DSC_1459 |
DSC_1464 |
DSC_1466 |
DSC_1467 |
 |
 |
 |
 |
DSC_1505 |
DSC_1509 |
DSC_1510 |
IMG_1573 |
 |
 |
 |
 |
IMG_1574 |
IMG_1575 |
IMG_1576 |
PL21_bottom |
 |
 |
 |
 |
PL21_bottom_middle |
PL51_bottom |
PL51_bottom_middle |
PL51_bottom_right |
There are 24 images in this page
-- Koji Nakamura - 2016-04-21
Log note
AfterIrrad20161018
META FILEATTACHMENT |
attachment="DSC_1418.JPG" attr="" comment="" date="1464080312" name="DSC_1418.JPG" path="DSC_1418.JPG" size="2996266" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1420.JPG" attr="" comment="" date="1464080312" name="DSC_1420.JPG" path="DSC_1420.JPG" size="3171470" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1421.JPG" attr="" comment="" date="1464080311" name="DSC_1421.JPG" path="DSC_1421.JPG" size="3237418" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1423.JPG" attr="" comment="" date="1464080311" name="DSC_1423.JPG" path="DSC_1423.JPG" size="3109656" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1424.JPG" attr="" comment="" date="1464080310" name="DSC_1424.JPG" path="DSC_1424.JPG" size="2964654" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1425.JPG" attr="" comment="" date="1464080309" name="DSC_1425.JPG" path="DSC_1425.JPG" size="3326310" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1426.JPG" attr="" comment="" date="1464080309" name="DSC_1426.JPG" path="DSC_1426.JPG" size="3079654" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1434.JPG" attr="" comment="" date="1464080308" name="DSC_1434.JPG" path="DSC_1434.JPG" size="3484617" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1459.JPG" attr="" comment="" date="1464080306" name="DSC_1459.JPG" path="DSC_1459.JPG" size="3170165" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1464.JPG" attr="" comment="" date="1464080749" name="DSC_1464.JPG" path="DSC_1464.JPG" size="2844003" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1466.JPG" attr="" comment="" date="1464080748" name="DSC_1466.JPG" path="DSC_1466.JPG" size="3251762" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1467.JPG" attr="" comment="" date="1464080745" name="DSC_1467.JPG" path="DSC_1467.JPG" size="3136888" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1505.JPG" attr="" comment="" date="1464080982" name="DSC_1505.JPG" path="DSC_1505.JPG" size="3129877" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1509.JPG" attr="" comment="" date="1464190256" name="DSC_1509.JPG" path="DSC_1509.JPG" size="3512913" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="DSC_1510.JPG" attr="" comment="" date="1464190253" name="DSC_1510.JPG" path="DSC_1510.JPG" size="3664428" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="PL21_bottom.jpg" attr="" comment="" date="1464966483" name="PL21_bottom.jpg" path="PL21_bottom.jpg" size="1598769" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="PL21_bottom_middle.jpg" attr="" comment="" date="1464966481" name="PL21_bottom_middle.jpg" path="PL21_bottom_middle.jpg" size="1740915" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="PL51_bottom.jpg" attr="" comment="" date="1464966480" name="PL51_bottom.jpg" path="PL51_bottom.jpg" size="1441832" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="PL51_bottom_middle.jpg" attr="" comment="" date="1464966478" name="PL51_bottom_middle.jpg" path="PL51_bottom_middle.jpg" size="1607870" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="PL51_bottom_right.jpg" attr="" comment="" date="1464966477" name="PL51_bottom_right.jpg" path="PL51_bottom_right.jpg" size="1405418" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="IMG_1573.JPG" attr="" comment="" date="1467040074" name="IMG_1573.JPG" path="IMG_1573.JPG" size="1215531" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="IMG_1574.JPG" attr="" comment="" date="1467040073" name="IMG_1574.JPG" path="IMG_1574.JPG" size="1219002" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="IMG_1575.JPG" attr="" comment="" date="1467040073" name="IMG_1575.JPG" path="IMG_1575.JPG" size="1460518" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="IMG_1576.JPG" attr="" comment="" date="1467040072" name="IMG_1576.JPG" path="IMG_1576.JPG" size="1417400" user="KojiNakamura" version="1" |
META FILEATTACHMENT |
attachment="FE65-P2.pdf" attr="" comment="" date="1486182666" name="FE65-P2.pdf" path="FE65-P2.pdf" size="3430048" user="JunkiSuzuki" version="1" |
|