Project

General

Profile

Actions

Bug #427

closed

R3 *** TM_LFR_TC_EXE_* : 3 parameters of SOURCE_DATA are switched

Added by Veronique bouzid over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Start date:
08/06/2015
Due date:
% Done:

0%

Estimated time:
revision:
r0

Description

Dans la R3 il y a un réagencement des formats des TM de type (1,2) et (1,8).
PA_RPW_TELECOMMAND_PKT_ID : octet 16 et 17
PA_RPW_PKT_SEQ_CONTROL : octet 18 et 19
PA_RPW_TC_FAILURE_CODE : octet 20 et 21
Nous sommes donc concernées par cette derniere catégorie.

Voici les TM concernées
TM_LFR_TC_EXE_INCONSISTENT
TM_LFR_TC_EXE_NOT_EXECUTABLE
TM_LFR_TC_EXE_NOT_IMPLEMENTED
TM_LFR_TC_EXE_ERROR
TM_LFR_TC_EXE_CORRUPTED

En version R3, on ne peut plus tester TM_LFR_TC_EXE_NOT_IMPLEMENTED car tout est implémenté.
Je ne sais pas tester TM_LFR_TC_EXE_ERROR (cf le pt redmine ouvert )

Pour les 3 autres TM_LFR_TC_EXE_,j ai rejoué les scripts:
/opt/VALIDATION_R3/lfrverif/LFR_SVS/SVS-0003/loop_tm_lfr_tc_exe.py pour tester TM_LFR_TC_EXE_NOT_EXECUTABLE et TM_LFR_TC_EXE_CORRUPTED

08:11:40.019584, TC_LFR_ENTER_MODE (CP_LFR_MODE=0), CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TC_PACKET = 1, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: PRIVATE_SCIENCE_OR_TELECOMMAND = 12, (PACKET_ID=0x1ccc), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=1058, (PACKET_SEQUENCE_CONTROL=0xc422), PACKET_LENGTH=13, CCSDS_SECONDARY_HEADER_FLAG=0, PUS_VERSION = 1, ACK_EXECUTION_COMPLETION=1, ACK_EXECUTION_PROGRESS=0, ACK_EXECUTION_START=0, ACK_ACCEPTANCE=1, SERVICE_TYPE: EQ_CONFIGURATION = 181, SERVICE_SUBTYPE: ENTER_MODE = 41, SOURCE_ID: MISSION_TIMELINE = 110, SPARE=0, CP_LFR_MODE: STANDBY = 0, CP_LFR_ENTER_MODE_TIME=0x000000000000, CRC = 0x22e5

08:11:40.040638, TM_LFR_TC_EXE_NOT_EXECUTABLE, CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TM_PACKET = 0, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: ACKNOWLEDGE = 1, (PACKET_ID=0xcc1), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=0, (PACKET_SEQUENCE_CONTROL=0xc000), PACKET_LENGTH=19, SPARE_1=0, PUS_VERSION = 1, SPARE_2=0, SERVICE_TYPE: TELECOMMAND_VERIFICATION = 1, SERVICE_SUBTYPE: TC_EXECUTION_COMPLETION_FAILURE = 8, DESTINATION_ID: MISSION_TIMELINE = 110, TIME=0x8000000a61a6, PA_RPW_TELECOMMAND_PKT_ID=0xa410, PA_RPW_PKT_SEQ_CONTROL=0x1ccc, /!\PA_RPW_TC_FAILURE_CODE: 50210, PA_RPW_TC_SERVICE=181, PA_RPW_TC_SUBTYPE=41, HK_LFR_MODE: STANDBY = 0, HK_LFR_DPU_SPW_ENABLED: ENABLED = 1, HK_LFR_DPU_SPW_LINK_STATE: RUN = 5, SPARE=0, SY_LFR_WATCHDOG_ENABLED: DISABLED = 0, HK_LFR_CALIB_ENABLED: DISABLED = 0, HK_LFR_RESET_CAUSE: UNKNOWN_CAUSE = 0
Le parametre PA_RPW_TELECOMMAND_PKT_ID devrait etre égal à PACKET_ID=0x1ccc
Le PA_RPW_PKT_SEQ_CONTROL devarit etre égal à 0xc422
Le parametre PA_RPW_TC_FAILURE_CODE est incorrect

08:11:42.041002, TC_LFR_RESET, CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TC_PACKET = 1, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: PRIVATE_SCIENCE_OR_TELECOMMAND = 12, (PACKET_ID=0x1ccc), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=11443, (PACKET_SEQUENCE_CONTROL=0xecb3), PACKET_LENGTH=5, CCSDS_SECONDARY_HEADER_FLAG=0, PUS_VERSION = 1, ACK_EXECUTION_COMPLETION=1, ACK_EXECUTION_PROGRESS=0, ACK_EXECUTION_START=0, ACK_ACCEPTANCE=1, SERVICE_TYPE: EQ_CONFIGURATION = 181, SERVICE_SUBTYPE: RESET = 1, SOURCE_ID: MISSION_TIMELINE = 110, /!\CRC = 0xec02(exp=0xec03)

08:11:42.056988, TM_LFR_TC_EXE_CORRUPTED, CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TM_PACKET = 0, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: ACKNOWLEDGE = 1, (PACKET_ID=0xcc1), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=1, (PACKET_SEQUENCE_CONTROL=0xc001), PACKET_LENGTH=25, SPARE_1=0, PUS_VERSION = 1, SPARE_2=0, SERVICE_TYPE: TELECOMMAND_VERIFICATION = 1, SERVICE_SUBTYPE: TC_EXECUTION_COMPLETION_FAILURE = 8, DESTINATION_ID: MISSION_TIMELINE = 110, TIME=0x8000000c65b9, PA_RPW_TELECOMMAND_PKT_ID=0xa415,* PA_RPW_PKT_SEQ_CONTROL=0x1ccc*, /!\PA_RPW_TC_FAILURE_CODE: 60595,
idem les 3 parametres sont erronés
Les fichiers de log (2015_06_08-08_13_38*) se trouvent dans /home/validation/data/R3/3.0.0.3/SVS-0003

et /opt/VALIDATION_R3/lfrverif/LFR_SVS/SVS-0008/tc_execution_failure_report.py pour tester TM_LFR_TC_EXE_INCONSISTENT

08:59:00.784121, TC_LFR_ENTER_MODE (CP_LFR_MODE=5), CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TC_PACKET = 1, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: PRIVATE_SCIENCE_OR_TELECOMMAND = 12, (PACKET_ID=0x1ccc), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=2198, (PACKET_SEQUENCE_CONTROL=0xc896), PACKET_LENGTH=13, CCSDS_SECONDARY_HEADER_FLAG=0, PUS_VERSION = 1, ACK_EXECUTION_COMPLETION=0, ACK_EXECUTION_PROGRESS=0, ACK_EXECUTION_START=0, ACK_ACCEPTANCE=0, SERVICE_TYPE: EQ_CONFIGURATION = 181, SERVICE_SUBTYPE: ENTER_MODE = 41, SOURCE_ID: MISSION_TIMELINE = 110, SPARE=0, /!\CP_LFR_MODE: 5, CP_LFR_ENTER_MODE_TIME=0x000000000000, CRC = 0xcef6

08:59:00.78821, TM_LFR_TC_EXE_INCONSISTENT, CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TM_PACKET = 0, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: ACKNOWLEDGE = 1, (PACKET_ID=0xcc1), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=20, (PACKET_SEQUENCE_CONTROL=0xc014), PACKET_LENGTH=19, SPARE_1=0, PUS_VERSION = 1, SPARE_2=0, SERVICE_TYPE: TELECOMMAND_VERIFICATION = 1, SERVICE_SUBTYPE: TC_EXECUTION_COMPLETION_FAILURE = 8, DESTINATION_ID: MISSION_TIMELINE = 110, TIME=0x8000000fbe00, PA_RPW_TELECOMMAND_PKT_ID=0x5, PA_RPW_PKT_SEQ_CONTROL=0x1ccc, /!\PA_RPW_TC_FAILURE_CODE: 51350, PA_RPW_TC_SERVICE=181, PA_RPW_TC_SUBTYPE=41, PA_RPW_BYTE_POSITION=11, PA_RPW_RCV_VALUE=5
Les 3 parametres sont erronés

Les fichiers de log (2015_06_08-08_59_16*) se trouvent dans /home/validation/data/R3/3.0.0.3/SVS-0008

Contexte de test
----------------
FSW 3.0.0.3
VHDL 1.1.83
EM1 sans timegen
SocExplorerEngine.getSocExplorer: Version = 0.6.2, Branch = default, Changeset = 819d0376d481
StarDundee spacewire

Actions

Also available in: Atom PDF