SuperKEKB XRM system  Not logged in ELOG logo
Entry  Tue Jan 22 07:56:56 2019, M. Andrew, documentation, instructions for setup, compiling and data acquisition XRM.instructions.txt
    Reply  Fri Oct 4 08:55:23 2019, M. Andrew, documentation, instructions for pdu control 
    Reply  Fri Oct 4 10:04:12 2019, M. Andrew, documentation, instructions for programming boardstack 
    Reply  Fri Oct 4 10:18:44 2019, M. Andrew, documentation, instructions for checking boardstack status and temperature 
    Reply  Fri Oct 4 10:33:53 2019, M. Andrew, documentation, instructions for boardstack configuration 
    Reply  Tue Oct 29 09:27:14 2019, M. Andrew, documentation, instructions on taking a full revolution of waveforms 2019-10-30.062954.s17a.SCROD004.xrm.log2019-10-30.063506.waveforms.425events.png
       Reply  Wed Oct 30 15:23:57 2019, M. Andrew, documentation, sample waveform files 8x
          Reply  Mon Nov 18 13:30:44 2019, M. Andrew, documentation, first light! 
          Reply  Wed Nov 6 13:35:45 2024, M. Andrew, documentation, sample waveform files 2024-04-17.135507.zip2024-04-17.135507.waveforms.32windows.pngxrm.py
    Reply  Tue Nov 5 11:47:36 2019, M. Andrew, documentation, instructions on taking data around a desired RF bucket 2019-11-05.121045.waveforms.0099.png
Message ID: 21     Entry time: Fri Oct 4 10:18:44 2019     In reply to: 15
Author: M. Andrew 
Type: documentation 
Subject: instructions for checking boardstack status and temperature 
This is done from sixrmlaptop02 (a.k.a. balrog017).  These scripts are not in the $PATH, so you must cd to ~/build/uh-svn-repo/trunk/software/b2l/scripts_dev before running them.

To check basic status (whether you can talk to a boardstack, which firmware is programmed on it, what the temperature is, etc):
idlab@balrog017:~/build/uh-svn-repo/trunk/software/b2l/scripts_dev$ ./get_status.py 0
Writing output from ./get_status.py to logfile: logs/2019-10-05.051508.s17a.SCROD004.get_status.log
SCROD #4 RawVoltages: 1.880 V 3.861 V 4.807 V
 WARNING: RAW2 voltage unnecessarily high (by 0.762 V)
 WARNING: RAW3 voltage unnecessarily high (by 0.383 V)
         FPGA_ver ARM_ver  trigMask DieTemp WallTemp -----other------ ARM_stat
   SCROD 00010095 0000006e 0000000f  52.7 C  34.5 C  31.1 C  13.2 %RH Running
carrier0 00000062 00000021 00000000  61.1 C  43.8 C  39.0 C  41.8 C   Running
carrier1 00000062 00000021 00000000  60.2 C  46.0 C  41.2 C  44.2 C   Running
carrier2 00000062 00000021 00000000  59.9 C  46.0 C  42.2 C  44.8 C   Running
carrier3 00000062 00000021 00000000  60.7 C  44.2 C  41.5 C  43.2 C   Running
readoutBitSlip (IRSX config?) = [0, 0, 0, 0]
readoutWindows (prep done?)   = [0, 0, 0, 0]
Feature extraction mode       = 0 Normal
SCROD_AxiCommon_asicTimeoutMask: 0
ProcessPacketProblemCounter = 0
nSamplesWrongCounter = 0
SCROD_PS_EXTENDED_STATUS_ADDR = 0x1
SCROD_PS_pendingWaves = 0
SCROD_PS_procEventCnt = 0
SCROD_PS_totalWaves = 0
SCROD_AxiCommon_eventCnt = 0
SCROD_AxiCommon_pendingEventCount = 0
SCROD_AxiCommon_maxPendingEventCount = 0
SCROD_PS_AXI_FAULT_STATUS_ADDR = 0x0
SCROD_PS_AXI_FAULT_ADDRESS_ADDR = 0x0
SCROD_PS_OFFENDING_ADDRESS0_ADDR = 0x0
SCROD_PS_OFFENDING_ADDRESS1_ADDR = 0x0

Note:  Before configuration, the warning messages about the raw voltages being too high should be ignored.

To check detailed temperature, humidity and power draw:
idlab@balrog017:~/build/uh-svn-repo/trunk/software/b2l/scripts_dev$ ./log_temps.py 0
Writing output from ./log_temps.py to logfile: logs/2019-10-05.052200.s17a.SCROD004.log_temps.log

------------------------------------------------------------
s17a.SCROD004  DATE 2019-10-05 05:22:00.661181
Parameter          SCROD carrier0 carrier1 carrier2 carrier3
----------         ----- -------- -------- -------- --------
fwVersion       00010095 00000062 00000062 00000062 00000062
elfVersion      0000006e 00000021 00000021 00000021 00000021
------------------------------------------------------------
tempFPGA          53.6 C   61.4 C   60.8 C   60.5 C   60.7 C
tempFPGAMAX       55.6 C   63.7 C   62.8 C   62.9 C   63.5 C
tempWall          35.0 C   44.2 C   46.5 C   46.5 C   44.8 C
tempWallMAX       35.0 C   44.2 C   46.8 C   46.5 C   45.0 C
tADC0                                                       
tADC0MAX                                                    
tADC1                                                       
tADC1MAX                                                    
tempASIC01                 39.5 C   41.8 C   42.8 C   42.0 C
tempASIC23                 42.2 C   45.0 C   45.5 C   43.8 C
tempASIC01MAX              39.5 C   42.0 C   42.8 C   42.0 C
tempASIC23MAX              42.2 C   45.0 C   45.5 C   43.8 C
humidityTemp      31.3 C                                    
humidityTempMAX   31.3 C                                    
trigTranTemp                                                
trigTranTempMAX                                             
dataTranTemp       0.0 C                                    
dataTranTempMAX    0.0 C                                    
tempMAX           55.6 C   63.7 C   62.8 C   62.9 C   63.5 C
maximum temperature measured on this boardstack is:   63.7 C
------------------------------------------------------------
humidity         12.9 %RH                                    
------------------------------------------------------------
vRAW1            1.875 V                                    
vRAW2            3.860 V                                    
 WARNING: RAW2 voltage unnecessarily high (by 0.761 V)
vRAW3            4.803 V                                    
 WARNING: RAW3 voltage unnecessarily high (by 0.379 V)
vPINT1p0         0.990 V  1.014 V  1.004 V  0.997 V  1.004 V
vINT1p0          0.994 V  1.012 V  1.004 V  0.998 V  1.003 V
vBRAM1p0         0.994 V  1.012 V  1.004 V  0.998 V  1.004 V
vGTX1p0          0.998 V                                    
vGTX1p2          1.194 V                                    
vDDR1p2          1.193 V                                    
vPLLPAUX1p8      1.800 V  1.805 V  1.807 V  1.801 V  1.802 V
vAUXIO1p8        1.795 V                                    
vAUX1p8          1.792 V  1.813 V  1.795 V  1.795 V  1.796 V
vVCCO1p8         1.795 V                                    
v2p5             2.494 V                                    
vMIO2p5          2.492 V                                    
vVCCO2p5         2.492 V                                    
v3p3             3.266 V                                    
vASIC0                                                      
vASIC1                                                      
vASIC2                                                      
vASIC3                                                      
vRAW1            1.875 V                                    
vRAW2            3.860 V                                    
 WARNING: RAW2 voltage unnecessarily high (by 0.761 V)
vRAW3            4.803 V                                    
 WARNING: RAW3 voltage unnecessarily high (by 0.379 V)
------------------------------------------------------------
iPINT1p0                                                    
iINT1p0           921 mA                                    
iBRAM1p0           17 mA                                    
iGTX1p0           679 mA                                    
iGTX1p2           468 mA                                    
iDDR1p2            52 mA                                    
iPLLPAUX1p8        84 mA                                    
iAUXIO1p8          29 mA                                    
iAUX1p8           157 mA                                    
iVCCO1p8           83 mA                                    
i2p5              107 mA                                    
iMIO2p5            22 mA                                    
iVCCO2p5           42 mA                                    
i3p3              174 mA                                    
iPINT1p0MAX                                                 
iINT1p0MAX        924 mA                                    
iBRAM1p0MAX        21 mA                                    
iGTX1p0MAX        678 mA                                    
iGTX1p2MAX        471 mA                                    
iDDR1p2MAX         66 mA                                    
iPLLPAUX1p8MAX     91 mA                                    
iAUXIO1p8MAX       32 mA                                    
iAUX1p8MAX        160 mA                                    
iVCCO1p8MAX        87 mA                                    
i2p5MAX           110 mA                                    
iMIO2p5MAX         25 mA                                    
iVCCO2p5MAX        44 mA                                    
i3p3MAX           181 mA                                    
iASIC0                                                      
iASIC1                                                      
iASIC2                                                      
iASIC3                                                      
iASIC0MAX                                                   
iASIC1MAX                                                   
iASIC2MAX                                                   
iASIC3MAX                                                   
------------------------------------------------------------
pASIC0                                                      
pASIC1                                                      
pASIC2                                                      
pASIC3                                                      
pAMPs                                                       
pASICs                                                      
------------------------------------------------------------

Note:  There are no entries for some items above because those features are not present on the "carrier revE2 (special XRM edition)"

Other various scripts are available, some of which have functionality you can guess from the name:
idlab@balrog017:~/build/uh-svn-repo/trunk/software/b2l/scripts_dev$ ls -lart *.py *.sh
-rwxr-x--- 1 idlab idlab  1925 Sep 30  2017 get_n_events.sh
-rwxr-x--- 1 idlab idlab   994 Dec 28  2017 ADC_threshold_scan.sh
-rwxr-x--- 1 idlab idlab   677 Dec 20  2018 b2lreg.py
-rwxr-x--- 1 idlab idlab   609 Jan 15  2019 getReady.sh
-rwxr-x--- 1 idlab idlab  3514 Jan 15  2019 dumpregisters.sh
-rwxr-x--- 1 idlab idlab    95 Feb  9  2019 run_all_gnuplots.sh
-rw-r----- 1 idlab idlab  1163 Feb 14  2019 irsx.py
-rwxr-x--- 1 idlab idlab   694 Mar  2  2019 watchVirtualTTYs.py
-rwxr-x--- 1 idlab idlab   612 Mar  9  2019 setTimeout.py
-rwxr-x--- 1 idlab idlab  3890 Mar  9  2019 scrod_currents.py
-rw-r----- 1 idlab idlab   627 Mar  9  2019 ReadThreshold.py
-rw-r----- 1 idlab idlab   563 Mar  9  2019 ReadFB.py
-rwxr-x--- 1 idlab idlab   777 Mar  9  2019 prep1carrier_data_trueROI.py
-rwxr-x--- 1 idlab idlab  3721 Mar  9  2019 prep1asic_data_trueROI.py
-rwxr-x--- 1 idlab idlab  4155 Mar  9  2019 monitor_temp.py
-rwxr-x--- 1 idlab idlab  1583 Mar  9  2019 live_voltage_readout.py
-rwxr-x--- 1 idlab idlab  9860 Mar  9  2019 juice.py
-rw-r----- 1 idlab idlab 25619 Mar  9  2019 irsxSetFunction.py
-rw-r----- 1 idlab idlab  2356 Mar  9  2019 DebugInfoWarningError24.py
-rwxr-x--- 1 idlab idlab  1100 Mar  9  2019 config1carrier_trueROI.py
-rwxr-x--- 1 idlab idlab  1192 Mar  9  2019 config1carrier_fast.py
-rwxr-x--- 1 idlab idlab 21683 Mar  9  2019 config1asic_trueROI.py
-rwxr-x--- 1 idlab idlab  3323 Mar  9  2019 config1asic_fast.py
-rwxr-x--- 1 idlab idlab  7904 Mar  9  2019 measure_iASIC_as_a_function_of_vbias_and_vbias2.py
-rwxr-x--- 1 idlab idlab 21195 Mar  9  2019 ethudp.py
-rwxr-x--- 1 idlab idlab  4768 Mar 12  2019 scanLoadLatch.py
-rwxr-x--- 1 idlab idlab 34947 Mar 15  2019 threshScan1boardstack.py
-rw-r----- 1 idlab idlab  3686 Mar 16  2019 B2L_errorstats.py
-rwxr-x--- 1 idlab idlab  3388 Mar 21  2019 get_fe_ped.py
-rwxr-x--- 1 idlab idlab   862 Mar 21  2019 config1boardstack_trueROI.py
-rwxr-x--- 1 idlab idlab  6997 Mar 26  2019 get_status.py
-rwxr-x--- 1 idlab idlab 25247 Mar 30  2019 testPollableMemory.py
-rwxr-x--- 1 idlab idlab  6305 Apr  6 08:54 log_temps.py
-rwxr-x--- 1 idlab idlab    68 May 18 09:23 edit.sh
-rwxr-x--- 1 idlab idlab   171 May 23 10:56 what_I_am_doing_right_now.sh
-rw-r----- 1 idlab idlab  1021 May 23 10:56 SCROD_PS_defs.py
-rwxr-x--- 1 idlab idlab  4119 May 23 10:56 prep1boardstack_fe.py
-rwxr-x--- 1 idlab idlab  3816 Jun 22 03:17 config1boardstack_fast.py
-rwxr-x--- 1 idlab idlab  1111 Jun 22 03:18 prep1boardstack_data_trueROI.py
-rwxr-x--- 1 idlab idlab   278 Jun 27 03:49 push_peds.sh
-rwxr-x--- 1 idlab idlab 10903 Sep 18 05:17 xrm.py
ELOG V3.1.5-3a5f2f0