Project

General

Profile

Bug #406

Updated by Veronique bouzid over 9 years ago

 
 *TESTS pour valider les interfaces de R3 - (documenet ICD 3.0 rev 7)* 
 -------------------------------------------------------------------- 
 Le soft VHDL est identique à la R2+ 
 Le soft de Paul est installé dans le répertoire    /opt/LFR/LFR-FSW/3.0.0.0/fsw 

 Les scripts de validation sont installés dans /opt/VALIDATION_R3 et donc les outils en python 
 sont adaptés en conséquence.  

 J'ai egalement développé des petits tests unitaires pour facilité la vérification des interfaces ( /home/validation/SCRIPT/R3/). 

 Le script utilisé se trouve dans /home/validation/SCRIPT/R3/just_normal_mode.py 

 15:18:33.60106, *** 32 ***, TM_LFR_SCIENCE_NORMAL_BP1_F0, CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TM_PACKET = 0, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: PRIVATE_SCIENCE_OR_TELECOMMAND = 12, (PACKET_ID=0xccc), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=0, (PACKET_SEQUENCE_CONTROL=0xc000), PACKET_LENGTH=143, SPARE_1=0, PUS_VERSION = 1, SPARE_2=0, SERVICE_TYPE: SCIENCE_DATA_TRANSFER = 21, SERVICE_SUBTYPE: SCIENCE_REPORT_FIXED_LENGTH = 3, DESTINATION_ID: GROUND = 0, TIME=0x8000000684b1, PA_LFR_SID_PKT: SC_N_BP1_F0 = 14, PA_BIA_MODE_MUX_SET: SET_0 = 0, PA_BIA_MODE_HV_ENABLED: DISABLED = 0, PA_BIA_MODE_BIAS1_ENABLED: DISABLED = 0, PA_BIA_MODE_BIAS2_ENABLED: DISABLED = 0, PA_BIA_MODE_BIAS3_ENABLED: DISABLED = 0, PA_BIA_ON_OFF: OFF = 0, *SPARE=0x2fc*, SY_LFR_BW=1, SY_LFR_SP0=0, SY_LFR_SP1=0, SY_LFR_R0=0, SY_LFR_R1=0, SY_LFR_R2=0, PA_LFR_ACQUISITION_TIME=0x8000000684b1, SPARE=0x0, PA_LFR_N_BP1_BLK_NR_F0=11 

 Le champ SPARE est constitué des 10 bits extraits    des octets 18 et 19 
 - octet 18 --> 8bits, la valeur est 0xbf 
 - octet 19    --> b0 et b1    de l'octet bien initialisé à 0x0 
 On voit que l'octet 18 n est pas à zéro d'ou le résultat qui donne 0x2bc= (0xbf << 2)  


 Idem pour TM_LFR_SCIENCE_NORMAL_BP1_F2 
 15:18:33.622789, *** 32 ***, TM_LFR_SCIENCE_NORMAL_BP1_F2, CCSDS_VERSION_NUMBER = 0, PACKET_TYPE: TM_PACKET = 0, DATA_FIELD_HEADER_FLAG: WITH_HEADER = 1, PROCESS_ID: RPW_PID_2 = 76, PACKET_CATEGORY: PRIVATE_SCIENCE_OR_TELECOMMAND = 12, (PACKET_ID=0xccc), SEGMENTATION_GROUPING_FLAG: STANDALONE_PACKET = 3, SEQUENCE_CNT=2, (PACKET_SEQUENCE_CONTROL=0xc002), PACKET_LENGTH=153, SPARE_1=0, PUS_VERSION = 1, SPARE_2=0, SERVICE_TYPE: SCIENCE_DATA_TRANSFER = 21, SERVICE_SUBTYPE: SCIENCE_REPORT_FIXED_LENGTH = 3, DESTINATION_ID: GROUND = 0, TIME=0x8000000685a6, PA_LFR_SID_PKT: SC_N_BP1_F2 = 16, PA_BIA_MODE_MUX_SET: SET_0 = 0, PA_BIA_MODE_HV_ENABLED: DISABLED = 0, PA_BIA_MODE_BIAS1_ENABLED: DISABLED = 0, PA_BIA_MODE_BIAS2_ENABLED: DISABLED = 0, PA_BIA_MODE_BIAS3_ENABLED: DISABLED = 0, PA_BIA_ON_OFF: OFF = 0, *SPARE=0x340*, SY_LFR_BW=1, SY_LFR_SP0=0, SY_LFR_SP1=0, SY_LFR_R0=0, SY_LFR_R1=0, SY_LFR_R2=0, PA_LFR_ACQUISITION_TIME=0x8000000685a6, PA_LFR_N_BP1_BLK_NR_F2=12 

 Contexte de test 
 ---------------- 
 FSW 3.0.0.0 3.0.00 
 VHDL 0.1.68 VHD L0..1.68 
 Mini-lfr II 
 SocExplorer 0.6.0 
 StarDundee spacewire

Back