FA125 firmware check 2.00D+

From GlueXWiki
Revision as of 13:46, 31 March 2016 by Njarvis (Talk | contribs)

Jump to: navigation, search
ver 2_00_D Discrepancies between CDC firmware output and emulation output, repeatfree=no repeated pairs
Run hits repeatfree hits diffs time q pedestal amplitude integral overflow count readout
10954 28658293 24179315 12394 61 0 1 12326 6 0 CDC
10956 87414131 73914777 145176 107559 275 4 37530 12672 0 CDC
10957 19196556 16340197 33186 24069 59 3 9086 2868 0 CDC & FDC

NB hits with repeated pairs are not necessarily an error, it was just simpler to exclude all of them.

runs 10954 and 10956 time errors
Cdc run10954 dtt.png
Cdc run10956 dtt.png
Cdc run10954 dtch.png
Cdc run10956 dtch.png

Most of the discrepancies for run 10965 come from 6 channels where the firmware time = 1 + emulated time, they are not noise events.

run 10956 errors
Cdc run10956 rocslot.png
Cdc run10956 roc25.png
Cdc run10956 roc28.png



ver 2_00_E Discrepancies between CDC firmware output and emulation output, repeatfree=no repeated pairs
Run hits repeatfree hits diffs time q pedestal amplitude integral overflow count readout
10986 file 002 8058453 6875279 167 15 0 0 150 2 0 CDC & FDC
10986 files 002-005 32523087 27581269 688 72 0 0 612 4 0 CDC & FDC cp/wrd err - event 3779794 digihit 0
run 10986 file 002 errors
Cdc run10986 d amp.png
Cdc run10986 d time.png

After looking at more data (145.8M hits)

  • No errors found in q or overflows
  • 11 pedestal errors which are all 1 bit: firmware pedestal = 1 + emulated pedestal
  • 18 integral errors, all are 1 bit, firmware integral = 2 + emulated integral
  • 2662 amplitude errors, all firmware > emulated, most errors are value 2 or 16, NO errors in channels 0-5
  • 5240 time errors, 4237 errors with emulated time = 1 + firmware time and amplitude=511;

remaining 1003 time errors have firmware time > emulated time


run 10986 CP/WRD channel number error, file 4, event 3779794

0xf9800000      FILLER WORD
0xf9800000      FILLER WORD
0x81c85101      BLOCK HEADER   Slot#=7
0x91c0acd2      EVENT Header   Slot#=7
0x98006ace      TRIGGER TIME
0x7203ae    SECOND WORD
0xa9b09510      PULSE DATA CDC  channel: 27
0x554c0ffc    SECOND WORD
0xa19380c8      RAW WINDOW DATA      channel: 25  WindowSize= 200
                       ->> ERROR CHANNEL MISSMATCH! ROC:27 SLOT= 7  
PulseChannel= 27  WindowChannel= 25  EventNumber= 44242 EC=477608    
evioEVENT:3779794
0xa600a5      DATA
0xa500a4      DATA

Run 11005, In 152 files Beni found one error in file 096, event 89271302
here the offending event:

0xadb09700      PULSE DATA CDC  channel: 91
0x3108a41a    SECOND WORD
0xa1b300c8      RAW WINDOW DATA      channel: 27  WindowSize= 200
                     ->>> ERROR CHANNEL MISSMATCH! ROC:28 SLOT= 6  PulseChannel= 91  WindowChannel= 27  EventNumber= 11270 EC=256153    evioEVENT:89271302
0x580051      DATA
0x4d004e      DATA
Run 11016 CP/WRD mismatch in file 008, eventnum 7388533 roc 27 slot 8 chan 27
run 11016 file 000-001 errors
Cdc run11016 rocslot.png
Cdc run11016 roc25.png
Cdc run11016 roc28.png
Cdc run11016 dt.png
Cdc run11016 da.png
Cdc run11016 di.png
Cdc run11016 dq.png
Error count from 2 files (approx 20M hits)

Total diffs 30834

root [17] CDC->GetEntries("d_time")
(Long64_t)30287

root [18] CDC->GetEntries("d_amp")
(Long64_t)527

root [19] CDC->GetEntries("d_q")
(Long64_t)78

root [20] CDC->GetEntries("d_overflows")
(Long64_t)0

root [21] CDC->GetEntries("d_integral")
(Long64_t)3585


ver 2_00_F Discrepancies between CDC firmware output and emulation output
Run hits diffs time q pedestal amplitude integral overflow count readout
11017 file 000 10068567 207 16 0 0 189 2 0
11017 files 000 to 004 50312407 990 (0.002%) 76 0 0 908 4 0


run 11017 files 000-004 errors
Cdc run11017 dt.png
Cdc run11017 da.png
Cdc run11017 dtchan.png
Cdc run11017 dachan.png


Run 11075, with bufferlevel=1 (all previous runs had bufferlevel=4)

Almost all the errors were small time errors (mostly of 1) in 6 channels: roc 25 slot 9 channels 36, 38, 40 and roc 28 slot 16 channels 36, 38, 40.

(n==1283||n==1282||n==1148||n==1362||n==1363||n==1228||n==1362)

Other channels with errors:
file 000: roc 28 slot 6 channel 64
file 001: roc 28 slot 6 channels 67,68
file 001: roc 28 slot 6 channels 37,52,64


ver 2_00_F Discrepancies between CDC firmware output and emulation output
Run hits diffs time q pedestal amplitude integral overflow count
11075 file 000 ('special' channels) 15117 12730 12724 22 0 1 1490 0
11075 file 000 (other channels) 8711146 1 0 0 0 0 1 0
11075 file 001 ('special' channels) 14970 12634 12631 23 0 3 1490 0
11075 file 001 (other channels) 8715448 2 0 0 0 0 2 0
11075 file 002 ('special' channels) 15304 12940 12931 28 0 1 1613 0
11075 file 002 (other channels) 8730510 0 0 0 0 0 0 0
11075 file 003 ('special' channels) 15423 12948 12942 33 0 5 1535 0
11075 file 003 (other channels) 8722303 3 0 0 2 0 1 0
11075 file 004 ('special' channels) 15182 12722 12711 39 0 0 1550 0
11075 file 004 (other channels) 8737891 3 0 0 2 0 1 0
11075 file 005 ('special' channels) 15225 12879 12872 24 0 1 1561 0
11075 file 005 (other channels) 8777045 10 8 0 0 0 2 0