Project

General

Profile

Actions

Task #3188

closed

TC_LFR trop courte ( < CCSDS_TC_PKT_MIN_SIZE )

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

Status:
Closed
Priority:
Normal
Assignee:
Category:
SRS
Target version:
-
Start date:
07/11/2018
Due date:
% Done:

90%

Estimated time:
revision:
r3.2.0.24

Description

Mettre a jour la SRS, SVS, SUM pour la prise en compte d une commande trop courte. Aucun requirement dans la SSS ne traite de ce cas.
Voir tache #3146

Actions #1

Updated by Veronique bouzid over 5 years ago

La SRS a été mise à jour:
- REQ-LFR-SRS-5204
- REQ-LFR-SRS-5409

La SVS a été mise à jour SVS-0003.

--> Reste donc le SUM

Actions #2

Updated by bruno katra over 5 years ago

  • Description updated (diff)

Erreur de la tache reférencée dans la description de cette issue : c'est 3146 au lieu de 3148. Correction faite

Actions #3

Updated by bruno katra over 5 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 90

Ce comportement non nominal très particulier est trop spécifique pour être détaillé dans le SUM. Il est annoté dans la SRS qui est une document applicable cité dans le SUM. Je pense que c'est suffisant.
Par contre la SRS doit être corrigée : le REQ 5204 n'est pas pas clair. Mails envoyés à Véronique pour clarification, en attente de réponse.

Actions #4

Updated by Veronique bouzid over 5 years ago

Supprimer les modifications apportées dans la SRS concerant les 2 REQ REQ-LFR-SRS-5204_Ed1 REQ-LFR-SRS-5409_Ed1

--> p5 enlever les 2 REQ de la section Updated

- REQ-LFR-SRS-5204_Ed1

--> supprimer la Note ci dessous
Note : command packet which the length is too long (SY_LFR_TC_MAX_SIZE)) or too short (CCSDS_TC_PKT_MIN = 16 bytes) doesn’t not be verified by the acceptance stage.

-REQ-LFR-SRS-5409_Ed1
supprimer les lignes suivantes
In case of LFR FSW shall receive commands from DPU a telecommand with a length < CCSDS_TC_PKT_MIN_SIZE , LFR FSW doesn’t acknowledge the TC during acceptance stage and no failure report will be generated. CCSDS_TC_PKT_MIN_SIZE = 16 Bytes, minimal size of all TC_LFR_xxx.

Actions #5

Updated by bruno katra over 5 years ago

Après discussions avec Véro : on retire les modfis du 5409 (ne concerne que les paquets trop grands)
5204 est updaté comme suit :
Upon the reception of any command packet > CCSDS_TC_PKT_MIN( = 16 bytes), the LFR FSW shall verify if the packet can be accepted by:
 Checking the following items in this specific order :
 APID (PID, CAT)
 Length of the received packet should match packet_length field contained in packet header
 service type and service subtype
 source ID
 Length_packet field value is relevant with expected length considering definition of the sub-type.
 packet error control (CRC). The algorithm to compute the packet error control is specified in the [AD10], appendix 6.

If at least one of this criteria fails, TM_LFR_EXE_CORRUPTED packet is emitted with failure code 42005

 Checking that the command is allowed in the current mode (see tab 5.2) and/or state of the instrument.
 No check of the packet sequence counter shall be made.

Note for the LFR : allowed commands should be independent of its state.
Note : if a command with size < CCSDS_TC_PKT_MIN( = 16 bytes) is received, LFR discards it and does not acknowledge it (no failure report is generated).
Actions #6

Updated by bruno katra over 5 years ago

  • Status changed from In Progress to Closed
Actions

Also available in: Atom PDF