Add/Fix tools to help DAQ Unit debugging
Add and fix existing debug tools for DAQ Unit (triggered by HGCAL team)
Fixes:
-
read_SlinkRocket_sender_status
:-
Wrong backpressure register 0x11
->0x12
-
2nd printout for Status of SR Sender Core -
logstr
clean for each loop -
Inverted backpressure check logic ( hex((Status >> 29) & 0x1) == 1
)
-
-
read_slinksender
: Undefinedx
parameter on exception logging -
read_serdes_status_SR
:-
Missing comma on for backpressure's logstr
-
Cosmetics on reading SLinkRocket Serdes
-
-
read_SR_receiver_counters
:-
Invalid string for interactive argument -
str(x)
for SLink ID ofraw_input
-
Key break
-
Features:
-
Add Firefly tranceiver (TX) control: -
Add control_firefly
function indthlib.py
-
Expose functionality to DTH_Control.py
under SR Debug functions:
-
item58 = FunctionItem("Control Firefly's TX",dth.control_firefly, kwargs = {'interactive' : True, 'logger' : False} )
Edited by Polyneikis Tzanis