Commit graph

105 commits

Author SHA1 Message Date
6e1738f823 Incease delay of v10 TCs to 3s
According to MOC all memory patch TCs need a delay of 3s.
2024-06-13 09:46:44 +02:00
a499bdc9c8 New v10 telecommands
According to Alcalá, all commands must have a delay of at least 2s.
The pointer resets after the EEPROM updates have been adjusted. The pointers will now be set to the v09 addresses fm1@0x30080 and fm2@0x50080 after the EEPROM update.
2024-06-11 14:16:26 +02:00
1496286125 Add v10 config files and commands 2024-06-05 14:21:51 +02:00
4f9f1150d7 Scripts for v10 commanding
Add scripts that can generate the telecommands for the hetept v10
configuration update.
2024-06-05 14:17:32 +02:00
Stephan I. Böttcher
506d3cfb65 hetele patch 9.5: export hetept2 separately, to avoid bogus delay 2024-04-09 11:46:23 +02:00
Stephan I. Böttcher
cbd263e6e8 hetept v9 patch 5
includes patch 1, and patch 3.
patch 3 was never uploaded
patch 5 is het stopping electrons fixes

We send the complete current L3 without penetrating and without
zeros padding (fill).
2024-04-03 17:41:43 +02:00
Stephan I. Böttcher
df6eb79650 Merge branch 'hetept_v9_patches' 2024-02-26 12:30:08 +01:00
Stephan Boettcher
855d6961a5 step_config_fs_v0009.defs: make 9/0 identical to 9/1 2022-12-06 22:34:18 +01:00
Stephan I. Böttcher
5aaa426c3d step_config_fs_v0009: export a real defs 2022-12-06 22:20:00 +01:00
Stephan Boettcher
2c1a7db78a step v9: patch the v8 defs 2022-12-06 20:57:23 +01:00
Stephan I. Böttcher
bd0f2e73ff step patch 8.3: erroneously tagged v9 in scratch
copy the v0008 defs to v0009
2022-06-14 09:28:32 +02:00
Stephan I. Böttcher
779b266a93 step_config_fs_v0008_patch3: add bit for readout of the deadtime register 2022-05-10 21:23:51 +02:00
Stephan I. Böttcher
1affdd7a0f step patch 8.3: reset counters after readout, at 60s cadence
Add flags to the HK counter readouts in the PPSS table, for the patch to
find them.

The patch copies the modulus (cadence) from the ICU counter read to the
HK counter reads, 60s replacing the 600s cadence.

The ICU counter reads gain a clear=True flag, i.e., address bit 0x80.

All counter reads happen in second 0.  HK first, ICU later.  16
counters each from 0x00 and 0x30.

This patch adds 8 bps to the STEP telemetry.
2022-05-07 22:06:48 +02:00
Stephan I. Böttcher
65c120725a hetept_config_opheater_patch4: add .revert() 2022-01-25 23:39:25 +01:00
Stephan I. Böttcher
c01ddc1a09 hetept_config_opheater_patch4: T_he2=-1°C, DC_ESTIMATE=60%, DCMAX=70% 2022-01-25 23:09:49 +01:00
Stephan I. Böttcher
c68aaaea6e Merge branch 'hetept_v9_patches'
HET/EPT patches 9.1, 9.2, 9.3 and 9.4 are merged.
Next: persist the changes in the code proper for version 10.
2022-01-25 22:54:32 +01:00
Stephan I. Böttcher
cd6eb3bf91 hetept patch 9.4 xml 2022-01-21 13:06:25 +01:00
Stephan I. Böttcher
400ec64f89 HET/EPT patch 9.4: activate OP heaters
Directly patch the parameters in the PPSS entry that triggeres the OP
heater once per minute.

Due to the nonlinearity of the regulator we can alway roughly assume we
heat with DC=70%.  We need to adjust the setpoint with a correspondig
offset.  This offset depends on the gain.  The default gain is
`shift=0`.  The DC will be ADC-setpoint.  A shift of 1, 2, or 3 will
reduce the DC by a power of two, i.e.,

  DC = (ADC - setpoint) >> shift

This patch keeps shift=0.

The target temperatures are

  HET/EPT1: -6.0°C
  HET/EPT2: -0.5°C

Usage:

(stephan)blaulicht:~/solo/solo_config$ ./solopath.py
SOLOPATH> from solo.configurations.hetept1.v0009.hetept_config_opheater_patch4 import *
…

SOLOPATH> main()
…

SOLOPATH> msg=solo.solomsgclass.msg_print()

SOLOPATH> patch1.send(msg)
msg(0x000f, 3, 0x0000093500090004)
Temp SPY: -6.0°C  -3.2°C  -8.8°C
Temp SPY: -6.0°C  -3.3°C  -5.9°C
Temp SPY: -6.0°C  -3.2°C  -6.0°C
Temp SPY: -6.0°C  -3.2°C  -6.0°C
Temp SPY: -6.0°C  -3.2°C  -6.0°C
msg(0x268c, 3, 0x0000af1f0000c002)
msg(0x268d, 3, 0x007270e009f99000)
OP heater setpoint: -6 C = 2553 ADC
msg(0x2697, 1, 0x00000000000000ff)
msg(0x2696, 3, 0x0003e8010000413c)

SOLOPATH> patch1.OH_SHIFT=1

SOLOPATH> patch1.send(msg)
msg(0x000f, 3, 0x0000093500090004)
Temp SPY: -6.0°C  -0.2°C  -11.8°C
Temp SPY: -6.0°C  -0.5°C  -5.7°C
Temp SPY: -6.0°C  -0.5°C  -6.0°C
Temp SPY: -6.0°C  -0.5°C  -6.0°C
Temp SPY: -6.0°C  -0.5°C  -6.0°C
msg(0x268c, 3, 0x0000af1f0000c002)
msg(0x268d, 3, 0x007270e019739000)
OP heater setpoint: -6 C = 2419 ADC
msg(0x2697, 1, 0x00000000000000ff)
msg(0x2696, 3, 0x0003e8010000413c)
2022-01-21 12:49:28 +01:00
Stephan I. Böttcher
b39cef8b46 Merge branch 'hetept_v9_patches' of gitlab.physik.uni-kiel.de:solo/solo_config into hetept_v9_patches 2021-11-15 12:31:53 +01:00
Stephan I. Böttcher
4dbb52dbfd hetept patch 9.2: fix clear of the anticoincidence
solo.l1l2.l2trigger.set() changes only the given parameters. It does not
imply a .reset(). Those lines were a NOP. We only need to clear none=(),
to prevent any anticoincidences.
2021-11-15 12:28:52 +01:00
Stephan I. Böttcher
350806d109 step v0008 change config_page
The STEP unit EEPROM contains v6 in page 0x00000/0x60000.  The ICU
config memory contains v7 in page 0x70000 and v8 in 0x60000.  We plan to
write v8 into page 0x10000/0x70000 to not overwrite v6.  v7 was never
written to EEPROM.  At ICU reboot (after EGAM), the v8 config will the
appear in 0x70000.

This patch creates the STEP config compiled for 0x70000.

A preliminary xml to burn it into EEPORM is included.  Missing from that
xml is the restart of the unit after burn.
2021-11-04 16:51:41 +01:00
f6cd9a3968 updating hetept v0009 patch23 XMLs again 2021-11-03 17:30:09 +01:00
83d6e8c0c5 Revert "update hetept v0009 patch23 XMLs"
This reverts commit fabf4f0eb9.
2021-11-03 17:15:40 +01:00
fabf4f0eb9 update hetept v0009 patch23 XMLs 2021-11-03 17:04:51 +01:00
567bc7cab8 fix version number in hetept92.main() 2021-11-03 16:26:35 +01:00
Stephan I. Böttcher
6c88a22201 EPT L3 test for negative signals
Apply the anticoincidence cuts to the negative values as well.
Patch3 is orthogonal to patch2.
2021-11-01 23:32:44 +01:00
Stephan I. Böttcher
8b1fd53b96 EPT l1l2: and update output 2021-11-01 17:33:21 +01:00
Stephan I. Böttcher
287edae51c EPT l1l2: increment subversion 2021-11-01 17:30:55 +01:00
Stephan I. Böttcher
d0019e5194 EPT l1l2: trigger in anticoincidence hits
To investigate the x-talk issues, remove the anticoincidence condition
from EPT L₂.
Trigger on Ax channels with L₁ thr=1MeV.
2021-11-01 17:20:52 +01:00
Stephan I. Böttcher
84d95aa5d3 step v0008 bins 2021-10-28 15:52:37 +02:00
Stephan I. Böttcher
0d721ac99a step v0005 defs
why is there no defs for v0005?  I copied v0006.
2021-10-28 15:51:24 +02:00
Stephan I. Böttcher
ed38864a19 step dps: fix tag collision
In high rate, MAIN and AUX were using the same tag/flg.
Use tag=0x5f for STEP AUX.
2021-10-11 21:42:10 +02:00
Stephan I. Böttcher
3a2ef9102f step: checkout 2021-10-08 11:14:43 +02:00
Stephan I. Böttcher
3c161b13d0 step v8.2 part 3 checkout 2021-09-30 22:29:26 +02:00
Stephan I. Böttcher
0318976eac STEP v8.2 checkout 2021-09-30 19:19:08 +02:00
Stephan I. Böttcher
443afbf185 step v8.2 defs, … 2021-09-30 15:19:59 +02:00
Lars Berger
cccfbb5329 The commands for step_v0008 upload to the ICU @ 0x060000 are be produced 2021-09-30 09:05:31 +02:00
Stephan I. Böttcher
55bc6cb6d2 step v8 hexdump 2021-09-20 15:12:48 +02:00
Stephan I. Böttcher
4af07e3583 Merge branch 'master' into step_dps 2021-09-20 14:56:48 +02:00
Stephan I. Böttcher
a0f7135898 Merge branch 'master' into step_v7_dev 2021-09-20 14:50:13 +02:00
Stephan I. Böttcher
5b7438a4ba STEP patch 7.4: reduce gain of opheater regulator 2021-08-12 11:42:20 +02:00
Stephan I. Böttcher
598d8a99d3 hetept patch 9.1: output 2021-07-27 14:42:07 +02:00
Stephan I. Böttcher
a7144ef754 hetept patch 9.1: add name= 2021-07-27 14:25:00 +02:00
Stephan I. Böttcher
9d273e7ae2 hetept patch 9.1: add absolute C cut for AB~C/ABC 2021-07-27 13:19:30 +02:00
Stephan I. Böttcher
9832d437fb step v8: activate V7.3 calib unconditionally for the FS 2021-07-26 10:52:21 +02:00
Stephan I. Böttcher
04a4d9a875 step patch v7.3 fix calibration for acq_time=6
Set the acq_time=6 (as in v7).
Fix large pixel calib for T=-36°C.  The fix is based on IFTP data from
July 4 to July 20 with acq_time=6 and acq_time=1.

For each IX a rought estimate was obtained for the shift of the pedestal
and the 160keV pulser peaks.  The shift was applied to all large pixels.
2021-07-25 22:48:08 +02:00
Stephan I. Böttcher
8e94b94c12 step: write defs for low rate env, define scratch field for dps env 2021-07-25 12:09:32 +02:00
Stephan I. Böttcher
959f6c02b7 step low telemetry rate mode 2021-07-25 02:12:41 +02:00
Stephan I. Böttcher
a8e4959ccc step patch 7.2 using solo.patch 2021-07-23 16:12:12 +02:00
Stephan I. Böttcher
b7ca9b023c step patch 7.3 using solo.patch 2021-07-23 12:24:08 +02:00