Skip to content

Legacy Software - Connectivity test - step 3 Programming FPGA

In the Rice test stand, at step 3 with the legacy software, we see that an attempt is made to program the FPGA [1]. The output shows that step 3 apparently fails ("FPGA Communication was not established successfully"). But if we check it with mpeek 0x6a000000, the FPGA is indeed programmed.

  • Can step 3 be updated so that the output message is consistent with what is really happening?
  • Can someone fix the issue with the register GEM_AMC.SLOW_CONTROL.SCA.CTRL.SCA_RESET_ENABLE_MASK?

[1]

====================
Step 3: Programming FPGA & Checking Trigger Links
====================
05 May 2020 10:07:07.055 [7f1853d49740] INFO - wrappers::runCommandWithOutput <> - Executing command: ssh gemuser@gem-shelf01-amc02 sh -c "mpeek 0x6a000000"
gemuser@gem-shelf01-amc02's password: 
Node GEM_AMC.SLOW_CONTROL.SCA.ADC_MONITORING.MONITORING_OFF not found
 NODE GEM_AMC.SLOW_CONTROL.SCA.ADC_MONITORING.MONITORING_OFF NOT FOUND 

---- Reseting the SCA ---- 
Writing masked reg GEM_AMC.SLOW_CONTROL.SCA.CTRL.SCA_RESET_ENABLE_MASK failed. Exiting...
wReg output -1
SCA Communication Status After FPGA Programming Attempts Is:
--=======================================--
-> GEM SYSTEM SCA INFORMATION
--=======================================--

READY             0x00000001
CRITICAL_ERROR    0x00000002
NOT_READY_CNT_OH00 0x00000002
NOT_READY_CNT_OH01 0x00000169
NOT_READY_CNT_OH02 0x00000001
NOT_READY_CNT_OH03 0x00000001
NOT_READY_CNT_OH04 0x00000001
NOT_READY_CNT_OH05 0x00000001
NOT_READY_CNT_OH06 0x00000001
NOT_READY_CNT_OH07 0x00000001
NOT_READY_CNT_OH08 0x00000001
NOT_READY_CNT_OH09 0x00000001
NOT_READY_CNT_OH10 0x00000001
NOT_READY_CNT_OH11 0x00000001
FPGA Communication was not established successfully
Following OH's have unprogrammed FPGAs: [0]
   Try checking:
      1. OH1 and OH2 screws are properly screwed into their respective standoffs
      2. OH1 and OH2 standoffs on the GEB are not broken
      3. Voltage on OH1 standoff is within range [0.97,1.06] Volts
      4. Voltage on OH2 standoff is within range [2.45,2.66] Volts
      5. Current limit on Power Supply is 4 Amps
      6. Power Cycle the affected optohybrids
Connectivity Testing Failed
Goodbye
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information