##// END OF EJS Templates
Modification of the launch of NORMAL, SBM1 and SBM2 modes
Modification of the launch of NORMAL, SBM1 and SBM2 modes

File last commit:

r235:ea3fc7af2139 R3
r238:3412b0dcc87a R3
Show More
fsw_globals.c
79 lines | 3.3 KiB | text/x-c | CLexer
paul
Minor changes in .h inclusion
r45 /** Global variables of the LFR flight software.
*
* @file
* @author P. LEROY
*
* Among global variables, there are:
* - RTEMS names and id.
* - APB configuration registers.
* - waveforms global buffers, used by the waveform picker hardware module to store data.
* - spectral matrices buffesr, used by the hardware module to store data.
* - variable related to LFR modes parameters.
* - the global HK packet buffer.
* - the global dump parameter buffer.
*
*/
admin@pc-p-leroy3.LAB-LPP.LOCAL
Beginning of the message queue implementation for the actions handler
r8 #include <rtems.h>
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 #include <grspw.h>
paul
Minor changes in .h inclusion
r45
paul
Header files inclusion reworked...
r40 #include "ccsds_types.h"
#include "grlib_regs.h"
#include "fsw_params.h"
paul
waveform buffers declaration modified...
r131 #include "fsw_params_wf_handler.h"
admin@pc-p-leroy3.LAB-LPP.LOCAL
Beginning of the message queue implementation for the actions handler
r8
// RTEMS GLOBAL VARIABLES
paul
Last commit before release 0-13...
r35 rtems_name misc_name[5];
rtems_name Task_name[20]; /* array of task names */
rtems_id Task_id[20]; /* array of task ids */
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18 int fdSPW = 0;
int fdUART = 0;
paul
packet emission task added...
r33 unsigned char lfrCurrentMode;
paul
bug #456 pa_bia_status_info byte is updated upon the reception of...
r224 unsigned char pa_bia_status_info;
paul@pc-solar1.lab-lpp.local
Updates of the ICD taken into account...
r18
paul
SM simulator functionnal...
r100 // WAVEFORMS GLOBAL VARIABLES // 2048 * 3 * 4 + 2 * 4 = 24576 + 8 bytes = 24584
// 97 * 256 = 24832 => delta = 248 bytes = 62 words
// WAVEFORMS GLOBAL VARIABLES // 2688 * 3 * 4 + 2 * 4 = 32256 + 8 bytes = 32264
// 127 * 256 = 32512 => delta = 248 bytes = 62 words
paul
waveform buffers declaration modified...
r131 // F0 F1 F2 F3
paul
New version of the waveform picker packet transmission...
r172 volatile int wf_buffer_f0[ NB_RING_NODES_F0 * WFRM_BUFFER ] __attribute__((aligned(0x100)));
volatile int wf_buffer_f1[ NB_RING_NODES_F1 * WFRM_BUFFER ] __attribute__((aligned(0x100)));
volatile int wf_buffer_f2[ NB_RING_NODES_F2 * WFRM_BUFFER ] __attribute__((aligned(0x100)));
volatile int wf_buffer_f3[ NB_RING_NODES_F3 * WFRM_BUFFER ] __attribute__((aligned(0x100)));
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul
Sync...
r117 //***********************************
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 // SPECTRAL MATRICES GLOBAL VARIABLES
paul
Sync...
r117
paul
snapshots extraction fully functionnal in SBM1 and SBM2
r106 // alignment constraints for the spectral matrices buffers => the first data after the time (8 bytes) shall be aligned on 0x00
paul
Sync...
r117 volatile int sm_f0[ NB_RING_NODES_SM_F0 * TOTAL_SIZE_SM ] __attribute__((aligned(0x100)));
volatile int sm_f1[ NB_RING_NODES_SM_F1 * TOTAL_SIZE_SM ] __attribute__((aligned(0x100)));
volatile int sm_f2[ NB_RING_NODES_SM_F2 * TOTAL_SIZE_SM ] __attribute__((aligned(0x100)));
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul
First version of the rings for the waveform picker.
r87 // APB CONFIGURATION REGISTERS
paul
timegen version 0.0.0.1
r170 time_management_regs_t *time_management_regs = (time_management_regs_t*) REGS_ADDR_TIME_MANAGEMENT;
gptimer_regs_t *gptimer_regs = (gptimer_regs_t *) REGS_ADDR_GPTIMER;
waveform_picker_regs_0_1_18_t *waveform_picker_regs = (waveform_picker_regs_0_1_18_t*) REGS_ADDR_WAVEFORM_PICKER;
spectral_matrix_regs_t *spectral_matrix_regs = (spectral_matrix_regs_t*) REGS_ADDR_SPECTRAL_MATRIX;
paul
First version of the rings for the waveform picker.
r87
paul@pc-solar1.lab-lpp.local
Several TC actions added...
r11 // MODE PARAMETERS
paul@pc-solar1.lab-lpp.local
Release 0.7...
r28 Packet_TM_LFR_PARAMETER_DUMP_t parameter_dump_packet;
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 struct param_local_str param_local;
admin@pc-p-leroy3.LAB-LPP.LOCAL
Draft implementation of the TC_LFR_LOAD_NORMAL_PAR
r10
paul@pc-solar1.lab-lpp.local
fsw-0-2 delivery to LESIA...
r16 // HK PACKETS
paul@pc-solar1.lab-lpp.local
automatic reconnexion of the spacewire link...
r17 Packet_TM_LFR_HK_t housekeeping_packet;
paul
fifo occupation reported in the HK packet
r197 // message queues occupancy
unsigned char hk_lfr_q_sd_fifo_size_max;
unsigned char hk_lfr_q_rv_fifo_size_max;
unsigned char hk_lfr_q_p0_fifo_size_max;
unsigned char hk_lfr_q_p1_fifo_size_max;
unsigned char hk_lfr_q_p2_fifo_size_max;
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 // sequence counters are incremented by APID (PID + CAT) and destination ID
paul
sequence counters management added
r56 unsigned short sequenceCounters_SCIENCE_NORMAL_BURST;
unsigned short sequenceCounters_SCIENCE_SBM1_SBM2;
unsigned short sequenceCounters_TC_EXE[SEQ_CNT_NB_DEST_ID];
paul
printf removed or replaced by PRINTF macros...
r227 unsigned short sequenceCounters_TM_DUMP[SEQ_CNT_NB_DEST_ID];
paul
Bug #117
r149 unsigned short sequenceCounterHK;
paul@pc-solar1.lab-lpp.local
All modes implemented for the waveforms...
r23 spw_stats spacewire_stats;
spw_stats spacewire_stats_backup;
paul@pc-solar1.lab-lpp.local
fsw-0-2 delivery to LESIA...
r16
paul@pc-solar1.lab-lpp.local
FSW modified to have correct answers to TC_LFR_DUMP_PAR
r15