##// END OF EJS Templates
Étiquette 3.2.0.24 ajoutée à la révision f3243196bdc5
Étiquette 3.2.0.24 ajoutée à la révision f3243196bdc5

File last commit:

r405:f3243196bdc5 3.2.0.24 R3++
r406:72f973a48116 R3++
Show More
fsw_misc.h
158 lines | 4.5 KiB | text/x-c | CLexer
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #ifndef FSW_MISC_H_INCLUDED
#define FSW_MISC_H_INCLUDED
paul
Minor changes in .h inclusion
r45 #include <rtems.h>
#include <stdio.h>
#include <grspw.h>
paul
Sync
r175 #include <grlib_regs.h>
paul
Minor changes in .h inclusion
r45
#include "fsw_params.h"
#include "fsw_spacewire.h"
paul
cpu_load added to the housekeeping packets
r134 #include "lfr_cpu_usage_report.h"
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5
paul
Many corrections, mainly related to #807 Don_Enumeration
r318 #define WATCHDOG_LOOP_PRINTF 10
#define WATCHDOG_LOOP_DEBUG 3
#define NB_RTEMS_EVENTS 32
#define EVENT_12 12
#define EVENT_13 13
#define EVENT_14 14
#define DUMB_MESSAGE_1 "in DUMB *** timecode_irq_handler"
#define DUMB_MESSAGE_12 "WATCHDOG timer"
#define DUMB_MESSAGE_13 "TIMECODE timer"
paul
ASM restart sequence updated at the interrupt service routine level...
r259
paul
correction de Bug #514, lfr_reset_cause = power_on
r226 enum lfr_reset_cause_t{
UNKNOWN_CAUSE,
POWER_ON,
TC_RESET,
WATCHDOG,
ERROR_RESET,
UNEXP_RESET
};
paul
Bug #703 hk_lfr_le and hk_lfr_me handling corrected
r317 typedef struct{
unsigned char dpu_spw_parity;
unsigned char dpu_spw_disconnect;
unsigned char dpu_spw_escape;
unsigned char dpu_spw_credit;
unsigned char dpu_spw_write_sync;
unsigned char timecode_erroneous;
unsigned char timecode_missing;
unsigned char timecode_invalid;
unsigned char time_timecode_it;
unsigned char time_not_synchro;
unsigned char time_timecode_ctr;
unsigned char ahb_correctable;
} hk_lfr_le_t;
typedef struct{
unsigned char dpu_spw_early_eop;
unsigned char dpu_spw_invalid_addr;
unsigned char dpu_spw_eep;
unsigned char dpu_spw_rx_too_big;
} hk_lfr_me_t;
paul
3.2.0.14...
r366 #define B00 196
#define B01 196
paul
3.2.0.10...
r360 #define B02 0
paul
3.2.0.14...
r366 #define B10 131
#define B11 -244
#define B12 131
#define B20 161
#define B21 -314
#define B22 161
paul
3.2.0.10...
r360
#define A00 1
paul
3.2.0.14...
r366 #define A01 -925
paul
3.2.0.10...
r360 #define A02 0
#define A10 1
paul
3.2.0.14...
r366 #define A11 -947
#define A12 439
paul
3.2.0.10...
r360 #define A20 1
paul
3.2.0.14...
r366 #define A21 -993
#define A22 486
paul
3.2.0.10...
r360
paul
3.2.0.14...
r366 #define GAIN_B0 12
paul
3.2.0.11...
r361 #define GAIN_B1 11
paul
3.2.0.14...
r366 #define GAIN_B2 10
paul
3.2.0.11...
r361
paul
3.2.0.14...
r366 #define GAIN_A0 10
#define GAIN_A1 9
#define GAIN_A2 9
paul
3.2.0.10...
r360
#define NB_COEFFS 3
#define COEFF0 0
#define COEFF1 1
#define COEFF2 2
typedef struct filter_ctx
{
int W[NB_COEFFS][NB_COEFFS];
}filter_ctx;
paul
STAT task removec...
r239 extern gptimer_regs_t *gptimer_regs;
paul
ASM restart sequence updated at the interrupt service routine level...
r259 extern void ASR16_get_FPRF_IURF_ErrorCounters( unsigned int*, unsigned int* );
extern void CCR_getInstructionAndDataErrorCounters( unsigned int*, unsigned int* );
paul
STAT task removec...
r239
paul
Minor bugs corrected before logiscope analysis
r322 extern rtems_name name_hk_rate_monotonic; // name of the HK rate monotonic
extern rtems_id HK_id;// id of the HK rate monotonic period
extern rtems_name name_avgv_rate_monotonic; // name of the AVGV rate monotonic
extern rtems_id AVGV_id;// id of the AVGV rate monotonic period
paul
Minor changes in .h inclusion
r45
paul
STAT task removec...
r239 void timer_configure( unsigned char timer, unsigned int clock_divider,
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 unsigned char interrupt_level, rtems_isr (*timer_isr)() );
Forgot to remove dead code functions declarations
r405 #ifdef ENABLE_DEAD_CODE
void timer_start( unsigned char timer );
#endif
paul
STAT task removec...
r239 void timer_stop( unsigned char timer );
void timer_set_clock_divider(unsigned char timer, unsigned int clock_divider);
// WATCHDOG
rtems_isr watchdog_isr( rtems_vector_number vector );
void watchdog_configure(void);
void watchdog_stop(void);
paul
sy_lfr_watchdog_enabled handled...
r262 void watchdog_reload(void);
paul
STAT task removec...
r239 void watchdog_start(void);
paul@pc-solar1.lab-lpp.local
automatic reconnexion of the spacewire link...
r17
// SERIAL LINK
paul@pc-solar1.lab-lpp.local
commit before release
r25 int send_console_outputs_on_apbuart_port( void );
paul
Minor changes
r94 int enable_apbuart_transmitter( void );
paul
Header files inclusion reworked...
r40 void set_apbuart_scaler_reload_register(unsigned int regs, unsigned int value);
paul@pc-solar1.lab-lpp.local
automatic reconnexion of the spacewire link...
r17
// RTEMS TASKS
paul
STAT task removec...
r239 rtems_task load_task( rtems_task_argument argument );
paul
Minor changes in .h inclusion
r45 rtems_task hous_task( rtems_task_argument argument );
paul
AVGV task added...
r298 rtems_task avgv_task( rtems_task_argument argument );
paul
Minor changes in .h inclusion
r45 rtems_task dumb_task( rtems_task_argument unused );
Added scrubbing Task, to increase scrubbing frequency and avoid entering...
r372 rtems_task scrubbing_task( rtems_task_argument unused );
Implemented Calibrations Task...
r375 rtems_task calibration_sweep_task( rtems_task_argument unused );
paul
Last commit before release 0-13...
r35
paul
Ignore doc files...
r46 void init_housekeeping_parameters( void );
paul
Bug #117
r149 void increment_seq_counter(unsigned short *packetSequenceControl);
paul
fsw-0-23...
r75 void getTime( unsigned char *time);
paul
Sync...
r117 unsigned long long int getTimeAsUnsignedLongLongInt( );
paul
2.0.2.1
r185 void get_temperatures( unsigned char *temperatures );
paul
sync
r182 void get_v_e1_e2_f3( unsigned char *spacecraft_potential );
paul
cpu_load added to the housekeeping packets
r134 void get_cpu_load( unsigned char *resource_statistics );
paul
Rev 3.0.0.4...
r212 void set_hk_lfr_sc_potential_flag( bool state );
paul
commit before going back to 3.1.0.2 for LESIA compilation
r295 void set_sy_lfr_pas_filter_enabled( bool state );
paul
sy_lfr_watchdog_enabled handled...
r262 void set_sy_lfr_watchdog_enabled( bool state );
paul
Rev 3.0.0.4...
r212 void set_hk_lfr_calib_enable( bool state );
paul
correction de Bug #514, lfr_reset_cause = power_on
r226 void set_hk_lfr_reset_cause( enum lfr_reset_cause_t lfr_reset_cause );
paul
minor updates on documentation
r240 void hk_lfr_le_me_he_update();
paul
hk_lfr_time_not_synchro is updated each time the synchro is lost....
r249 void set_hk_lfr_time_not_synchro();
paul
fsw-0-23...
r75
paul
There is a message queue between AVFO and MATR...
r118 extern int sched_yield( void );
paul
Many corrections done after Logiscope analysis
r166 extern void rtems_cpu_usage_reset();
paul
HK packet changed due to misalignment of one int data...
r132 extern ring_node *current_ring_node_f3;
extern ring_node *ring_node_to_send_cwf_f3;
paul
The flight software is now compatible with the VHDL 0.1.32...
r171 extern ring_node waveform_ring_f3[];
paul
Bug #117
r149 extern unsigned short sequenceCounterHK;
paul
There is a message queue between AVFO and MATR...
r118
paul
fifo occupation reported in the HK packet
r197 extern unsigned char hk_lfr_q_sd_fifo_size_max;
extern unsigned char hk_lfr_q_rv_fifo_size_max;
extern unsigned char hk_lfr_q_p0_fifo_size_max;
extern unsigned char hk_lfr_q_p1_fifo_size_max;
extern unsigned char hk_lfr_q_p2_fifo_size_max;
paul@pc-solar1.lab-lpp.local
Naming convention changed...
r5 #endif // FSW_MISC_H_INCLUDED