CCSDS Handler Improvements #268

Merged
muellerr merged 20 commits from meier/ccsds into develop 2022-06-29 13:53:30 +02:00
8 changed files with 22 additions and 15 deletions
Showing only changes of commit 3c3884476b - Show all commits

2
fsfw

@ -1 +1 @@
Subproject commit dafcaa60079ba8e57753d389e6a569ee3eb0b7cb
Subproject commit c0ff84bb9d81bc3444992fef38b74d260d54d5a0

View File

@ -78,7 +78,7 @@
9700;0x25e4;TEST;INFO;;fsfw/src/fsfw/pus/Service17Test.h
10600;0x2968;CHANGE_OF_SETUP_PARAMETER;LOW;;fsfw/hal/src/fsfw_hal/devicehandlers/MgmLIS3MDLHandler.h
11300;0x2c24;SWITCH_CMD_SENT;INFO;Indicates that a FSFW object requested setting a switch P1: 1 if on was requested, 0 for off | P2: Switch Index;mission/devices/devicedefinitions/powerDefinitions.h
11301;0x2c25;SWITCH_HAS_CHANGED;INFO;Indicated that a swithc state has changed P1: New switch state, 1 for on, 0 for off | P2: Switch Index;mission/devices/devicedefinitions/powerDefinitions.h
11301;0x2c25;SWITCH_HAS_CHANGED;INFO;Indicated that a switch state has changed P1: New switch state, 1 for on, 0 for off | P2: Switch Index;mission/devices/devicedefinitions/powerDefinitions.h
11302;0x2c26;SWITCHING_Q7S_DENIED;MEDIUM;;mission/devices/devicedefinitions/powerDefinitions.h
11303;0x2c27;FDIR_REACTION_IGNORED;MEDIUM;;mission/devices/devicedefinitions/powerDefinitions.h
11400;0x2c88;GPIO_PULL_HIGH_FAILED;LOW;;mission/devices/HeaterHandler.h
@ -106,7 +106,7 @@
11707;0x2dbb;SELF_TEST_COIL_CURRENT_FAILURE;LOW;Get self test result returns failure indicating that the coil current was outside of the expected range P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA;mission/devices/IMTQHandler.h
11708;0x2dbc;INVALID_ERROR_BYTE;LOW;Received invalid error byte. This indicates an error of the communication link between IMTQ and OBC.;mission/devices/IMTQHandler.h
11801;0x2e19;ERROR_STATE;HIGH;Reaction wheel signals an error state;mission/devices/devicedefinitions/RwDefinitions.h
11802;0x2e1a;RESET_OCCURED;HIGH;;mission/devices/devicedefinitions/RwDefinitions.h
11802;0x2e1a;RESET_OCCURED;LOW;;mission/devices/devicedefinitions/RwDefinitions.h
11901;0x2e7d;BOOTING_FIRMWARE_FAILED;LOW;Failed to boot firmware;linux/devices/startracker/StarTrackerHandler.h
11902;0x2e7e;BOOTING_BOOTLOADER_FAILED;LOW;Failed to boot star tracker into bootloader mode;linux/devices/startracker/StarTrackerHandler.h
12001;0x2ee1;SUPV_MEMORY_READ_RPT_CRC_FAILURE;LOW;PLOC supervisor crc failure in telemetry packet;linux/devices/ploc/PlocSupervisorHandler.h

1 Event ID (dec) 2200 Event ID (hex) 0x0898 Name STORE_SEND_WRITE_FAILED Severity LOW Description File Path fsfw/src/fsfw/tmstorage/TmStoreBackendIF.h
78 8901 9700 0x22c5 0x25e4 CLOCK_SET_FAILURE TEST LOW INFO fsfw/src/fsfw/pus/Service9TimeManagement.h fsfw/src/fsfw/pus/Service17Test.h
79 9100 10600 0x238c 0x2968 TC_DELETION_FAILED CHANGE_OF_SETUP_PARAMETER MEDIUM LOW Deletion of a TC from the map failed. P1: First 32 bit of request ID, P2. Last 32 bit of Request ID fsfw/src/fsfw/pus/Service11TelecommandScheduling.h fsfw/hal/src/fsfw_hal/devicehandlers/MgmLIS3MDLHandler.h
80 9700 11300 0x25e4 0x2c24 TEST SWITCH_CMD_SENT INFO INFO Indicates that a FSFW object requested setting a switch P1: 1 if on was requested, 0 for off | P2: Switch Index fsfw/src/fsfw/pus/Service17Test.h mission/devices/devicedefinitions/powerDefinitions.h
81 10600 11301 0x2968 0x2c25 CHANGE_OF_SETUP_PARAMETER SWITCH_HAS_CHANGED LOW INFO Indicated that a switch state has changed P1: New switch state, 1 for on, 0 for off | P2: Switch Index fsfw/hal/src/fsfw_hal/devicehandlers/MgmLIS3MDLHandler.h mission/devices/devicedefinitions/powerDefinitions.h
82 11300 11302 0x2c24 0x2c26 SWITCH_CMD_SENT SWITCHING_Q7S_DENIED INFO MEDIUM Indicates that a FSFW object requested setting a switch P1: 1 if on was requested, 0 for off | P2: Switch Index mission/devices/devicedefinitions/powerDefinitions.h
83 11301 11303 0x2c25 0x2c27 SWITCH_HAS_CHANGED FDIR_REACTION_IGNORED INFO MEDIUM Indicated that a switch state has changed P1: New switch state, 1 for on, 0 for off | P2: Switch Index mission/devices/devicedefinitions/powerDefinitions.h
84 11302 11400 0x2c26 0x2c88 SWITCHING_Q7S_DENIED GPIO_PULL_HIGH_FAILED MEDIUM LOW mission/devices/devicedefinitions/powerDefinitions.h mission/devices/HeaterHandler.h
106 11702 11707 0x2db6 0x2dbb SELF_TEST_SPI_FAILURE SELF_TEST_COIL_CURRENT_FAILURE LOW LOW Get self test result returns SPI failure. This concerns the MTM connectivity. P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA Get self test result returns failure indicating that the coil current was outside of the expected range P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA mission/devices/IMTQHandler.h
107 11703 11708 0x2db7 0x2dbc SELF_TEST_ADC_FAILURE INVALID_ERROR_BYTE LOW LOW Get self test result returns failure in measurement of current and temperature. P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA Received invalid error byte. This indicates an error of the communication link between IMTQ and OBC. mission/devices/IMTQHandler.h
108 11704 11801 0x2db8 0x2e19 SELF_TEST_PWM_FAILURE ERROR_STATE LOW HIGH Get self test result returns PWM failure which concerns the coil actuation. P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA Reaction wheel signals an error state mission/devices/IMTQHandler.h mission/devices/devicedefinitions/RwDefinitions.h
109 11705 11802 0x2db9 0x2e1a SELF_TEST_TC_FAILURE RESET_OCCURED LOW LOW Get self test result returns TC failure (system failure) P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA mission/devices/IMTQHandler.h mission/devices/devicedefinitions/RwDefinitions.h
110 11706 11901 0x2dba 0x2e7d SELF_TEST_MTM_RANGE_FAILURE BOOTING_FIRMWARE_FAILED LOW LOW Get self test result returns failure that MTM values were outside of the expected range. P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA Failed to boot firmware mission/devices/IMTQHandler.h linux/devices/startracker/StarTrackerHandler.h
111 11707 11902 0x2dbb 0x2e7e SELF_TEST_COIL_CURRENT_FAILURE BOOTING_BOOTLOADER_FAILED LOW LOW Get self test result returns failure indicating that the coil current was outside of the expected range P1: Indicates on which axis the failure occurred. 0 -> INIT, 1 -> +X, 2 -> -X, 3 -> +Y, 4 -> -Y, 5 -> +Z, 6 -> -Z, 7 -> FINA Failed to boot star tracker into bootloader mode mission/devices/IMTQHandler.h linux/devices/startracker/StarTrackerHandler.h
112 11708 12001 0x2dbc 0x2ee1 INVALID_ERROR_BYTE SUPV_MEMORY_READ_RPT_CRC_FAILURE LOW LOW Received invalid error byte. This indicates an error of the communication link between IMTQ and OBC. PLOC supervisor crc failure in telemetry packet mission/devices/IMTQHandler.h linux/devices/ploc/PlocSupervisorHandler.h

View File

@ -66,7 +66,8 @@
0x445300A3;SYRLINKS_HK_HANDLER
0x49000000;ARDUINO_COM_IF
0x49010005;GPIO_IF
0x49020004;SPI_COM_IF
0x49020004;SPI_MAIN_COM_IF
0x49020005;SPI_RW_COM_IF
0x49030003;UART_COM_IF
0x49040002;I2C_COM_IF
0x49050001;CSP_COM_IF

1 0x00005060 P60DOCK_TEST_TASK
66 0x44420029 0x445300A3 RTD_13_IC16_PLPCDU_HEATSPREADER SYRLINKS_HK_HANDLER
67 0x44420030 0x49000000 RTD_14_IC17_TCS_BOARD ARDUINO_COM_IF
68 0x44420031 0x49010005 RTD_15_IC18_IMTQ GPIO_IF
69 0x445300A3 0x49020004 SYRLINKS_HK_HANDLER SPI_MAIN_COM_IF
70 0x49020005 SPI_RW_COM_IF
71 0x49000000 0x49030003 ARDUINO_COM_IF UART_COM_IF
72 0x49010005 0x49040002 GPIO_IF I2C_COM_IF
73 0x49020004 0x49050001 SPI_MAIN_COM_IF CSP_COM_IF

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 200 translations.
* @details
* Generated on: 2022-05-08 13:11:24
* Generated on: 2022-05-11 17:58:22
*/
#include "translateEvents.h"

View File

@ -1,8 +1,8 @@
/**
* @brief Auto-generated object translation file.
* @details
* Contains 117 translations.
* Generated on: 2022-05-08 13:11:24
* Contains 118 translations.
* Generated on: 2022-05-11 17:58:22
*/
#include "translateObjects.h"
@ -74,7 +74,8 @@ const char *RTD_15_IC18_IMTQ_STRING = "RTD_15_IC18_IMTQ";
const char *SYRLINKS_HK_HANDLER_STRING = "SYRLINKS_HK_HANDLER";
const char *ARDUINO_COM_IF_STRING = "ARDUINO_COM_IF";
const char *GPIO_IF_STRING = "GPIO_IF";
const char *SPI_COM_IF_STRING = "SPI_COM_IF";
const char *SPI_MAIN_COM_IF_STRING = "SPI_MAIN_COM_IF";
const char *SPI_RW_COM_IF_STRING = "SPI_RW_COM_IF";
const char *UART_COM_IF_STRING = "UART_COM_IF";
const char *I2C_COM_IF_STRING = "I2C_COM_IF";
const char *CSP_COM_IF_STRING = "CSP_COM_IF";
@ -263,7 +264,9 @@ const char *translateObject(object_id_t object) {
case 0x49010005:
return GPIO_IF_STRING;
case 0x49020004:
return SPI_COM_IF_STRING;
return SPI_MAIN_COM_IF_STRING;
case 0x49020005:
return SPI_RW_COM_IF_STRING;
case 0x49030003:
return UART_COM_IF_STRING;
case 0x49040002:

View File

@ -1,7 +1,7 @@
/**
* @brief Auto-generated event translation file. Contains 200 translations.
* @details
* Generated on: 2022-05-08 13:11:24
* Generated on: 2022-05-11 17:58:22
*/
#include "translateEvents.h"

View File

@ -1,8 +1,8 @@
/**
* @brief Auto-generated object translation file.
* @details
* Contains 117 translations.
* Generated on: 2022-05-08 13:11:24
* Contains 118 translations.
* Generated on: 2022-05-11 17:58:22
*/
#include "translateObjects.h"
@ -74,7 +74,8 @@ const char *RTD_15_IC18_IMTQ_STRING = "RTD_15_IC18_IMTQ";
const char *SYRLINKS_HK_HANDLER_STRING = "SYRLINKS_HK_HANDLER";
const char *ARDUINO_COM_IF_STRING = "ARDUINO_COM_IF";
const char *GPIO_IF_STRING = "GPIO_IF";
const char *SPI_COM_IF_STRING = "SPI_COM_IF";
const char *SPI_MAIN_COM_IF_STRING = "SPI_MAIN_COM_IF";
const char *SPI_RW_COM_IF_STRING = "SPI_RW_COM_IF";
const char *UART_COM_IF_STRING = "UART_COM_IF";
const char *I2C_COM_IF_STRING = "I2C_COM_IF";
const char *CSP_COM_IF_STRING = "CSP_COM_IF";
@ -263,7 +264,9 @@ const char *translateObject(object_id_t object) {
case 0x49010005:
return GPIO_IF_STRING;
case 0x49020004:
return SPI_COM_IF_STRING;
return SPI_MAIN_COM_IF_STRING;
case 0x49020005:
return SPI_RW_COM_IF_STRING;
case 0x49030003:
return UART_COM_IF_STRING;
case 0x49040002:

2
tmtc

@ -1 +1 @@
Subproject commit bc02c9d6076dc3f6e0b37a67be04a445245fdd1e
Subproject commit a681850248fdf33c948b8cbda84acdf268d28669