From 98ec92a880972192fb4a4ec3e9a67e5d24bd062b Mon Sep 17 00:00:00 2001 From: Cleanroom Laptop L15 Date: Mon, 28 Mar 2022 17:33:49 +0200 Subject: [PATCH] rerun generators --- generators/bsp_q7s_events.csv | 30 ++++++++---- generators/events/translateEvents.cpp | 48 ++++++++++++++++--- generators/objects/translateObjects.cpp | 2 +- linux/fsfwconfig/events/translateEvents.cpp | 48 ++++++++++++++++--- linux/fsfwconfig/objects/translateObjects.cpp | 2 +- 5 files changed, 107 insertions(+), 23 deletions(-) diff --git a/generators/bsp_q7s_events.csv b/generators/bsp_q7s_events.csv index b4f22cdd..994e7517 100644 --- a/generators/bsp_q7s_events.csv +++ b/generators/bsp_q7s_events.csv @@ -154,15 +154,27 @@ 12109;0x2f4d;ACK_INVALID_APID;LOW;Expected acknowledgement report but received space packet with other apid P1: Apid of received space packet P2: Internal state of MPSoC;linux/devices/ploc/PlocMPSoCHelper.h 12110;0x2f4e;EXE_INVALID_APID;LOW;Expected execution report but received space packet with other apid P1: Apid of received space packet P2: Internal state of MPSoC;linux/devices/ploc/PlocMPSoCHelper.h 12111;0x2f4f;MPSOC_HELPER_SEQ_CNT_MISMATCH;LOW;Received sequence count does not match expected sequence count P1: Expected sequence count P2: Received sequence count;linux/devices/ploc/PlocMPSoCHelper.h -12200;0x2fa8;TRANSITION_OTHER_SIDE_FAILED;HIGH;;mission/system/AcsBoardAssembly.h -12201;0x2fa9;NOT_ENOUGH_DEVICES_DUAL_MODE;HIGH;;mission/system/AcsBoardAssembly.h -12202;0x2faa;POWER_STATE_MACHINE_TIMEOUT;MEDIUM;;mission/system/AcsBoardAssembly.h -12203;0x2fab;SIDE_SWITCH_TRANSITION_NOT_ALLOWED;LOW;Not implemented, would increase already high complexity. Operator should instead command the assembly off first and then command the assembly on into the desired mode/submode combination;mission/system/AcsBoardAssembly.h -12300;0x300c;TRANSITION_OTHER_SIDE_FAILED;HIGH;;mission/system/SusAssembly.h -12301;0x300d;NOT_ENOUGH_DEVICES_DUAL_MODE;HIGH;;mission/system/SusAssembly.h -12302;0x300e;POWER_STATE_MACHINE_TIMEOUT;MEDIUM;;mission/system/SusAssembly.h -12303;0x300f;SIDE_SWITCH_TRANSITION_NOT_ALLOWED;LOW;Not implemented, would increase already high complexity. Operator should instead command the assembly off first and then command the assembly on into the desired mode/submode combination;mission/system/SusAssembly.h -12400;0x3070;CHILDREN_LOST_MODE;MEDIUM;;mission/system/TcsBoardAssembly.h +12200;0x2fa8;TRANSITION_BACK_TO_OFF;MEDIUM;Could not transition properly and went back to ALL OFF;mission/devices/PayloadPcduHandler.h +12201;0x2fa9;NEG_V_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12202;0x2faa;U_DRO_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12203;0x2fab;I_DRO_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12204;0x2fac;U_X8_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12205;0x2fad;I_X8_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12206;0x2fae;U_TX_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12207;0x2faf;I_TX_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12208;0x2fb0;U_MPA_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12209;0x2fb1;I_MPA_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12210;0x2fb2;U_HPA_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12211;0x2fb3;I_HPA_OUT_OF_BOUNDS;MEDIUM;P1: 0 -> too low, 1 -> too high P2: Float value;mission/devices/PayloadPcduHandler.h +12300;0x300c;TRANSITION_OTHER_SIDE_FAILED;HIGH;;mission/system/AcsBoardAssembly.h +12301;0x300d;NOT_ENOUGH_DEVICES_DUAL_MODE;HIGH;;mission/system/AcsBoardAssembly.h +12302;0x300e;POWER_STATE_MACHINE_TIMEOUT;MEDIUM;;mission/system/AcsBoardAssembly.h +12303;0x300f;SIDE_SWITCH_TRANSITION_NOT_ALLOWED;LOW;Not implemented, would increase already high complexity. Operator should instead command the assembly off first and then command the assembly on into the desired mode/submode combination;mission/system/AcsBoardAssembly.h +12400;0x3070;TRANSITION_OTHER_SIDE_FAILED;HIGH;;mission/system/SusAssembly.h +12401;0x3071;NOT_ENOUGH_DEVICES_DUAL_MODE;HIGH;;mission/system/SusAssembly.h +12402;0x3072;POWER_STATE_MACHINE_TIMEOUT;MEDIUM;;mission/system/SusAssembly.h +12403;0x3073;SIDE_SWITCH_TRANSITION_NOT_ALLOWED;LOW;Not implemented, would increase already high complexity. Operator should instead command the assembly off first and then command the assembly on into the desired mode/submode combination;mission/system/SusAssembly.h +12500;0x30d4;CHILDREN_LOST_MODE;MEDIUM;;mission/system/TcsBoardAssembly.h 13600;0x3520;ALLOC_FAILURE;MEDIUM;;bsp_q7s/core/CoreController.h 13601;0x3521;REBOOT_SW;MEDIUM; Software reboot occured. Can also be a systemd reboot. P1: Current Chip, P2: Current Copy;bsp_q7s/core/CoreController.h 13602;0x3522;REBOOT_MECHANISM_TRIGGERED;MEDIUM;The reboot mechanism was triggered. P1: First 16 bits: Last Chip, Last 16 bits: Last Copy, P2: Each byte is the respective reboot count for the slots;bsp_q7s/core/CoreController.h diff --git a/generators/events/translateEvents.cpp b/generators/events/translateEvents.cpp index 3c1c566d..ece0bf14 100644 --- a/generators/events/translateEvents.cpp +++ b/generators/events/translateEvents.cpp @@ -1,7 +1,7 @@ /** - * @brief Auto-generated event translation file. Contains 169 translations. + * @brief Auto-generated event translation file. Contains 181 translations. * @details - * Generated on: 2022-03-28 09:51:17 + * Generated on: 2022-03-28 12:48:26 */ #include "translateEvents.h" @@ -161,6 +161,18 @@ const char *EXE_FAILURE_REPORT_STRING = "EXE_FAILURE_REPORT"; const char *ACK_INVALID_APID_STRING = "ACK_INVALID_APID"; const char *EXE_INVALID_APID_STRING = "EXE_INVALID_APID"; const char *MPSOC_HELPER_SEQ_CNT_MISMATCH_STRING = "MPSOC_HELPER_SEQ_CNT_MISMATCH"; +const char *TRANSITION_BACK_TO_OFF_STRING = "TRANSITION_BACK_TO_OFF"; +const char *NEG_V_OUT_OF_BOUNDS_STRING = "NEG_V_OUT_OF_BOUNDS"; +const char *U_DRO_OUT_OF_BOUNDS_STRING = "U_DRO_OUT_OF_BOUNDS"; +const char *I_DRO_OUT_OF_BOUNDS_STRING = "I_DRO_OUT_OF_BOUNDS"; +const char *U_X8_OUT_OF_BOUNDS_STRING = "U_X8_OUT_OF_BOUNDS"; +const char *I_X8_OUT_OF_BOUNDS_STRING = "I_X8_OUT_OF_BOUNDS"; +const char *U_TX_OUT_OF_BOUNDS_STRING = "U_TX_OUT_OF_BOUNDS"; +const char *I_TX_OUT_OF_BOUNDS_STRING = "I_TX_OUT_OF_BOUNDS"; +const char *U_MPA_OUT_OF_BOUNDS_STRING = "U_MPA_OUT_OF_BOUNDS"; +const char *I_MPA_OUT_OF_BOUNDS_STRING = "I_MPA_OUT_OF_BOUNDS"; +const char *U_HPA_OUT_OF_BOUNDS_STRING = "U_HPA_OUT_OF_BOUNDS"; +const char *I_HPA_OUT_OF_BOUNDS_STRING = "I_HPA_OUT_OF_BOUNDS"; const char *TRANSITION_OTHER_SIDE_FAILED_STRING = "TRANSITION_OTHER_SIDE_FAILED"; const char *NOT_ENOUGH_DEVICES_DUAL_MODE_STRING = "NOT_ENOUGH_DEVICES_DUAL_MODE"; const char *POWER_STATE_MACHINE_TIMEOUT_STRING = "POWER_STATE_MACHINE_TIMEOUT"; @@ -486,14 +498,38 @@ const char *translateEvents(Event event) { case (12111): return MPSOC_HELPER_SEQ_CNT_MISMATCH_STRING; case (12200): - return TRANSITION_OTHER_SIDE_FAILED_STRING; + return TRANSITION_BACK_TO_OFF_STRING; case (12201): - return NOT_ENOUGH_DEVICES_DUAL_MODE_STRING; + return NEG_V_OUT_OF_BOUNDS_STRING; case (12202): - return POWER_STATE_MACHINE_TIMEOUT_STRING; + return U_DRO_OUT_OF_BOUNDS_STRING; case (12203): + return I_DRO_OUT_OF_BOUNDS_STRING; + case (12204): + return U_X8_OUT_OF_BOUNDS_STRING; + case (12205): + return I_X8_OUT_OF_BOUNDS_STRING; + case (12206): + return U_TX_OUT_OF_BOUNDS_STRING; + case (12207): + return I_TX_OUT_OF_BOUNDS_STRING; + case (12208): + return U_MPA_OUT_OF_BOUNDS_STRING; + case (12209): + return I_MPA_OUT_OF_BOUNDS_STRING; + case (12210): + return U_HPA_OUT_OF_BOUNDS_STRING; + case (12211): + return I_HPA_OUT_OF_BOUNDS_STRING; + case (12300): + return TRANSITION_OTHER_SIDE_FAILED_STRING; + case (12301): + return NOT_ENOUGH_DEVICES_DUAL_MODE_STRING; + case (12302): + return POWER_STATE_MACHINE_TIMEOUT_STRING; + case (12303): return SIDE_SWITCH_TRANSITION_NOT_ALLOWED_STRING; - case (12400): + case (12500): return CHILDREN_LOST_MODE_STRING; case (13600): return ALLOC_FAILURE_STRING; diff --git a/generators/objects/translateObjects.cpp b/generators/objects/translateObjects.cpp index 833a115c..32799af0 100644 --- a/generators/objects/translateObjects.cpp +++ b/generators/objects/translateObjects.cpp @@ -2,7 +2,7 @@ * @brief Auto-generated object translation file. * @details * Contains 117 translations. - * Generated on: 2022-03-28 09:51:13 + * Generated on: 2022-03-28 12:48:33 */ #include "translateObjects.h" diff --git a/linux/fsfwconfig/events/translateEvents.cpp b/linux/fsfwconfig/events/translateEvents.cpp index 3c1c566d..ece0bf14 100644 --- a/linux/fsfwconfig/events/translateEvents.cpp +++ b/linux/fsfwconfig/events/translateEvents.cpp @@ -1,7 +1,7 @@ /** - * @brief Auto-generated event translation file. Contains 169 translations. + * @brief Auto-generated event translation file. Contains 181 translations. * @details - * Generated on: 2022-03-28 09:51:17 + * Generated on: 2022-03-28 12:48:26 */ #include "translateEvents.h" @@ -161,6 +161,18 @@ const char *EXE_FAILURE_REPORT_STRING = "EXE_FAILURE_REPORT"; const char *ACK_INVALID_APID_STRING = "ACK_INVALID_APID"; const char *EXE_INVALID_APID_STRING = "EXE_INVALID_APID"; const char *MPSOC_HELPER_SEQ_CNT_MISMATCH_STRING = "MPSOC_HELPER_SEQ_CNT_MISMATCH"; +const char *TRANSITION_BACK_TO_OFF_STRING = "TRANSITION_BACK_TO_OFF"; +const char *NEG_V_OUT_OF_BOUNDS_STRING = "NEG_V_OUT_OF_BOUNDS"; +const char *U_DRO_OUT_OF_BOUNDS_STRING = "U_DRO_OUT_OF_BOUNDS"; +const char *I_DRO_OUT_OF_BOUNDS_STRING = "I_DRO_OUT_OF_BOUNDS"; +const char *U_X8_OUT_OF_BOUNDS_STRING = "U_X8_OUT_OF_BOUNDS"; +const char *I_X8_OUT_OF_BOUNDS_STRING = "I_X8_OUT_OF_BOUNDS"; +const char *U_TX_OUT_OF_BOUNDS_STRING = "U_TX_OUT_OF_BOUNDS"; +const char *I_TX_OUT_OF_BOUNDS_STRING = "I_TX_OUT_OF_BOUNDS"; +const char *U_MPA_OUT_OF_BOUNDS_STRING = "U_MPA_OUT_OF_BOUNDS"; +const char *I_MPA_OUT_OF_BOUNDS_STRING = "I_MPA_OUT_OF_BOUNDS"; +const char *U_HPA_OUT_OF_BOUNDS_STRING = "U_HPA_OUT_OF_BOUNDS"; +const char *I_HPA_OUT_OF_BOUNDS_STRING = "I_HPA_OUT_OF_BOUNDS"; const char *TRANSITION_OTHER_SIDE_FAILED_STRING = "TRANSITION_OTHER_SIDE_FAILED"; const char *NOT_ENOUGH_DEVICES_DUAL_MODE_STRING = "NOT_ENOUGH_DEVICES_DUAL_MODE"; const char *POWER_STATE_MACHINE_TIMEOUT_STRING = "POWER_STATE_MACHINE_TIMEOUT"; @@ -486,14 +498,38 @@ const char *translateEvents(Event event) { case (12111): return MPSOC_HELPER_SEQ_CNT_MISMATCH_STRING; case (12200): - return TRANSITION_OTHER_SIDE_FAILED_STRING; + return TRANSITION_BACK_TO_OFF_STRING; case (12201): - return NOT_ENOUGH_DEVICES_DUAL_MODE_STRING; + return NEG_V_OUT_OF_BOUNDS_STRING; case (12202): - return POWER_STATE_MACHINE_TIMEOUT_STRING; + return U_DRO_OUT_OF_BOUNDS_STRING; case (12203): + return I_DRO_OUT_OF_BOUNDS_STRING; + case (12204): + return U_X8_OUT_OF_BOUNDS_STRING; + case (12205): + return I_X8_OUT_OF_BOUNDS_STRING; + case (12206): + return U_TX_OUT_OF_BOUNDS_STRING; + case (12207): + return I_TX_OUT_OF_BOUNDS_STRING; + case (12208): + return U_MPA_OUT_OF_BOUNDS_STRING; + case (12209): + return I_MPA_OUT_OF_BOUNDS_STRING; + case (12210): + return U_HPA_OUT_OF_BOUNDS_STRING; + case (12211): + return I_HPA_OUT_OF_BOUNDS_STRING; + case (12300): + return TRANSITION_OTHER_SIDE_FAILED_STRING; + case (12301): + return NOT_ENOUGH_DEVICES_DUAL_MODE_STRING; + case (12302): + return POWER_STATE_MACHINE_TIMEOUT_STRING; + case (12303): return SIDE_SWITCH_TRANSITION_NOT_ALLOWED_STRING; - case (12400): + case (12500): return CHILDREN_LOST_MODE_STRING; case (13600): return ALLOC_FAILURE_STRING; diff --git a/linux/fsfwconfig/objects/translateObjects.cpp b/linux/fsfwconfig/objects/translateObjects.cpp index 833a115c..32799af0 100644 --- a/linux/fsfwconfig/objects/translateObjects.cpp +++ b/linux/fsfwconfig/objects/translateObjects.cpp @@ -2,7 +2,7 @@ * @brief Auto-generated object translation file. * @details * Contains 117 translations. - * Generated on: 2022-03-28 09:51:13 + * Generated on: 2022-03-28 12:48:33 */ #include "translateObjects.h"