From 7d782bf968224763e121dc8010400708f6f2c662 Mon Sep 17 00:00:00 2001 From: kruger <kruger@astron.nl> Date: Mon, 27 May 2024 16:53:07 +0100 Subject: [PATCH] add delay at startup --- install.sh | 8 ++++---- pypcc/config/APSCTTR.yaml | 1 + pypcc/config/RECVTR_HB.yaml | 1 + pypcc/config/RECVTR_LB.yaml | 1 + 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index 923ed87..ca89ee0 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,7 @@ #!/bin/bash sudo python3.11 setup.py install sudo systemctl restart pitr.service -#sudo systemctl restart recvtr.service -#sudo systemctl restart apscttr.service -#sudo systemctl restart apsputr.service -#sudo systemctl restart unb2tr.service +sudo systemctl restart recvtr.service +sudo systemctl restart apscttr.service +sudo systemctl restart apsputr.service +sudo systemctl restart unb2tr.service diff --git a/pypcc/config/APSCTTR.yaml b/pypcc/config/APSCTTR.yaml index 4059ed8..9c5f7c4 100644 --- a/pypcc/config/APSCTTR.yaml +++ b/pypcc/config/APSCTTR.yaml @@ -329,6 +329,7 @@ methods: driver: I2C_CLK debug: True instructions: + - WAIT: 5000 - APSCTTR_I2C_error : 0 - APSCT_IO1_GPIO1 : Update - APSCT_IO1_GPIO2 : Update diff --git a/pypcc/config/RECVTR_HB.yaml b/pypcc/config/RECVTR_HB.yaml index 3c9fe4e..2667d3f 100644 --- a/pypcc/config/RECVTR_HB.yaml +++ b/pypcc/config/RECVTR_HB.yaml @@ -759,6 +759,7 @@ methods: driver: I2C_RCU debug: True instructions: + - WAIT: 5000 - RCU_PCB_version: Update - RCU_IO1_GPIO1: Update - RCU_IO1_GPIO2: Update diff --git a/pypcc/config/RECVTR_LB.yaml b/pypcc/config/RECVTR_LB.yaml index 0466961..2345f7c 100644 --- a/pypcc/config/RECVTR_LB.yaml +++ b/pypcc/config/RECVTR_LB.yaml @@ -666,6 +666,7 @@ methods: driver: I2C_RCU debug: True instructions: + - WAIT: 5000 - RCU_PCB_version: Update - RCU_IO1_GPIO1: Update - RCU_IO1_GPIO2: Update -- GitLab