Commit graph

2,013 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
d637802a8e Increase the default delay between TCs from 1s to 2s. 2024-06-11 14:12:09 +02:00
e43e4646e8 bug fix in ppss_table.packet_table 2024-06-07 15:00:14 +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
4368d0ff95 Increment version to v10 2024-06-04 14:01:00 +02:00
67c3babea6 Change nominal configuration to CLOSE mode
So far, HETEPT has been operated mainly in CLOSE mode. Changing the nominal configuration from FAR to CLOSE simplifies the bootup procedure.
2024-06-04 13:59:24 +02:00
9d9651441e Change temperature configurations
To be consistent with previous configurations, the following temperatures are used for the temperature configurations:
fm1: -6.0, -11.6, -0.8
fm2: -0.8, -6.0,  +4.4
2024-06-04 13:57:31 +02:00
Stephan I. Böttcher
e9bbfbbff8 drop long list of temp configs, use OH_degC 2024-06-03 16:05:02 +02:00
Stephan I. Böttcher
ca5023d14e ept.l3: fix test for negative AC signal
The logic was implemented buggy
Instead of `AB + CD` ist was `(AB+C)D`
2024-05-28 12:34:36 +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
9174966ec5 solo/patch: improve .send_l3() 2024-04-03 17:40:56 +02:00
d444ec48a1 required A and B to be below 500keV for ABC electrons 2024-03-11 12:35:41 +01:00
b13e436cb3 removed 800keV check which was mistakenly still in and was rejecting particles 2024-03-07 13:47:32 +01:00
0d05073229 restores a previously deleted comment 2024-02-29 12:11:18 +01:00
7a5199ed67 EPT L3: merge patch 9.3 from commit 76c61fb9 2024-02-29 11:27:24 +01:00
d6f1aee1dd introduced upper limit B=0.5MeV for ABC electrons in order to remove proton contamination 2024-02-27 17:56:24 +01:00
ac084f6b67 no longer require small pulse age for low energy AB e- 2024-02-27 17:51:46 +01:00
Stephan I. Böttcher
e5e1bd6d91 hetept: VERSION=9.90 2024-02-27 17:06:50 +01:00
Stephan I. Böttcher
bc734a8248 EPT L3 Remove patch code for 9.3.
git diff 6c88a222^! solo/hetept/l3/ept.l3 | patch -R -p1

(n.b., previous commit was about patch 9.1 _HET_ L3, not EPR)
2024-02-27 16:23:53 +01:00
Stephan I. Böttcher
f3f2d50e58 ept L3: reapply patch 9.1 as baseline code 2024-02-27 16:17:15 +01:00
Stephan I. Böttcher
66daf02274 Revert "het L3: patch 9.1 to master"
This reverts commit 76c61fb9d9.

Patch 9.3 (not the misnamed 9.4 OH patch below) was never uploaded
to the spacecraft.  This patch hardwires both 9.1 and 9.3 into the
main code.  To obtain a reference for the configuration as flown
for the last few years, this change will here be reverted, and
afterwards 9.1 will be applied again.
2024-02-27 16:08:31 +01:00
Stephan I. Böttcher
983da039f7 hetept: VERSION=10 2024-02-26 13:53:24 +01:00
Stephan I. Böttcher
76c61fb9d9 het L3: patch 9.1 to master
incorporate the HET L3 changes from 9.1 to the main table
2024-02-26 13:49:02 +01:00
Stephan I. Böttcher
105a44f7c3 hetept l1l2: patch 9.2 to master
incorporate the EPT L2 trigger changes from 9.2 into the main table.
2024-02-26 13:25:30 +01:00
Stephan I. Böttcher
9d922f2e7c hetept ppss: patch 3 opheater changes
incorporate the op heater changes from patch 9.3 into the main config
2024-02-26 13:19:56 +01:00
Stephan I. Böttcher
df6eb79650 Merge branch 'hetept_v9_patches' 2024-02-26 12:30:08 +01:00
Stephan I. Böttcher
26b987267b hetept L3 gold with patchlevel=3 2024-02-26 10:59:57 +01:00
Stephan I. Böttcher
c1a96f7bea hetept L3 gold files update to old master code 2024-02-26 10:00:41 +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
c2498e0a8d step v9.2 add interleaved small pixel mode
The PPSS gains six entries to overwrite the IX thresholds to enable
the small pixels at a selected cadences.

Enable with `table.ppss.interleaved_small(msg, 5)` to readout small
pixels in second 2 of each 5s interval.

The µs incr between IX config commands has been significantly reduced to
make space for the extra threshold writes.  Please test!
2022-04-11 13:58:35 +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
a4b68dec65 patch: .revert() 2022-01-25 23:38:08 +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
aeb11df9d2 hetept.ppss.set_opheater_setpoint(): fix info message 2022-01-25 21:15:19 +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
f9ae128e70 hetept: ppss.set_opheater_setpoint() with dc_estimate and shift 2022-01-21 12:49:13 +01:00
Stephan I. Böttcher
acb6934395 step v9: restore multi to LL
The multi hit counts were part of nominal in solo_data().  They got lost
with version 8, when all DPS was reimplemented except for Low Latency.

This commit removes all old data products in solo_data except for low
latency.  The multi hit counts are kept and appended to LL.

The version number is bumped to 9.1.
2021-11-22 13:53:37 +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