##// END OF EJS Templates
Several TC actions added...
paul@pc-solar1.lab-lpp.local -
r11:84136ad726a3 default
parent child
Show More
@@ -1,69 +1,69
1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2 <CodeBlocks_project_file>
2 <CodeBlocks_project_file>
3 <FileVersion major="1" minor="6" />
3 <FileVersion major="1" minor="6" />
4 <Project>
4 <Project>
5 <Option title="FSW-rtems" />
5 <Option title="FSW-rtems" />
6 <Option pch_mode="2" />
6 <Option pch_mode="2" />
7 <Option compiler="sparcrtemsgcc446" />
7 <Option compiler="sparcrtemsgcc446" />
8 <Build>
8 <Build>
9 <Target title="Debug">
9 <Target title="Debug">
10 <Option output="bin/Debug/fsw" prefix_auto="1" extension_auto="1" />
10 <Option output="bin/Debug/fsw" prefix_auto="1" extension_auto="1" />
11 <Option object_output="obj/Debug/" />
11 <Option object_output="obj/Debug/" />
12 <Option type="1" />
12 <Option type="1" />
13 <Option compiler="sparcrtems446" />
13 <Option compiler="sparcrtemsgcc446" />
14 <Compiler>
14 <Compiler>
15 <Add option="-fexpensive-optimizations" />
15 <Add option="-fexpensive-optimizations" />
16 <Add option="-O3" />
16 <Add option="-O3" />
17 <Add option="-g" />
17 <Add option="-g" />
18 <Add directory="../header" />
18 <Add directory="../header" />
19 <Add directory="../src" />
19 <Add directory="../src" />
20 </Compiler>
20 </Compiler>
21 </Target>
21 </Target>
22 <Target title="Release">
22 <Target title="Release">
23 <Option output="bin/Release/FSW-rtems" prefix_auto="1" extension_auto="1" />
23 <Option output="bin/Release/FSW-rtems" prefix_auto="1" extension_auto="1" />
24 <Option object_output="obj/Release/" />
24 <Option object_output="obj/Release/" />
25 <Option type="1" />
25 <Option type="1" />
26 <Option compiler="sparcrtemsgcc446" />
26 <Option compiler="sparcrtemsgcc446" />
27 <Compiler>
27 <Compiler>
28 <Add option="-O2" />
28 <Add option="-O2" />
29 </Compiler>
29 </Compiler>
30 <Linker>
30 <Linker>
31 <Add option="-s" />
31 <Add option="-s" />
32 </Linker>
32 </Linker>
33 </Target>
33 </Target>
34 </Build>
34 </Build>
35 <Compiler>
35 <Compiler>
36 <Add option="-Wall" />
36 <Add option="-Wall" />
37 </Compiler>
37 </Compiler>
38 <Unit filename="../header/ccsds_types.h" />
38 <Unit filename="../header/ccsds_types.h" />
39 <Unit filename="../header/fsw_init.h" />
39 <Unit filename="../header/fsw_init.h" />
40 <Unit filename="../header/fsw_misc.h" />
40 <Unit filename="../header/fsw_misc.h" />
41 <Unit filename="../header/fsw_params.h" />
41 <Unit filename="../header/fsw_params.h" />
42 <Unit filename="../header/fsw_processing.h" />
42 <Unit filename="../header/fsw_processing.h" />
43 <Unit filename="../header/grlib_regs.h" />
43 <Unit filename="../header/grlib_regs.h" />
44 <Unit filename="../header/tc_handler.h" />
44 <Unit filename="../header/tc_handler.h" />
45 <Unit filename="../header/wf_handler.h" />
45 <Unit filename="../header/wf_handler.h" />
46 <Unit filename="../src/fsw_globals.c">
46 <Unit filename="../src/fsw_globals.c">
47 <Option compilerVar="CC" />
47 <Option compilerVar="CC" />
48 </Unit>
48 </Unit>
49 <Unit filename="../src/fsw_init.c">
49 <Unit filename="../src/fsw_init.c">
50 <Option compilerVar="CC" />
50 <Option compilerVar="CC" />
51 </Unit>
51 </Unit>
52 <Unit filename="../src/fsw_misc.c">
52 <Unit filename="../src/fsw_misc.c">
53 <Option compilerVar="CC" />
53 <Option compilerVar="CC" />
54 </Unit>
54 </Unit>
55 <Unit filename="../src/fsw_processing.c">
55 <Unit filename="../src/fsw_processing.c">
56 <Option compilerVar="CC" />
56 <Option compilerVar="CC" />
57 </Unit>
57 </Unit>
58 <Unit filename="../src/tc_handler.c">
58 <Unit filename="../src/tc_handler.c">
59 <Option compilerVar="CC" />
59 <Option compilerVar="CC" />
60 </Unit>
60 </Unit>
61 <Unit filename="../src/wf_handler.c">
61 <Unit filename="../src/wf_handler.c">
62 <Option compilerVar="CC" />
62 <Option compilerVar="CC" />
63 </Unit>
63 </Unit>
64 <Extensions>
64 <Extensions>
65 <code_completion />
65 <code_completion />
66 <debugger />
66 <debugger />
67 </Extensions>
67 </Extensions>
68 </Project>
68 </Project>
69 </CodeBlocks_project_file>
69 </CodeBlocks_project_file>
@@ -1,310 +1,310
1 # depslib dependency file v1.0
1 # depslib dependency file v1.0
2 1355231335 source:e:\missions\solo\dev_ple\src\fsw-rtems.c
2 1355231335 source:e:\missions\solo\dev_ple\src\fsw-rtems.c
3 <rtems.h>
3 <rtems.h>
4 <bsp.h>
4 <bsp.h>
5 <rtems/confdefs.h>
5 <rtems/confdefs.h>
6 <drvmgr/drvmgr_confdefs.h>
6 <drvmgr/drvmgr_confdefs.h>
7 <rtems.h>
7 <rtems.h>
8 <errno.h>
8 <errno.h>
9 <fcntl.h>
9 <fcntl.h>
10 <stdio.h>
10 <stdio.h>
11 <stdlib.h>
11 <stdlib.h>
12 <FSW-config.c>
12 <FSW-config.c>
13 <grspw.h>
13 <grspw.h>
14 <apbuart.h>
14 <apbuart.h>
15 <FSW-rtems-processing.h>
15 <FSW-rtems-processing.h>
16
16
17 1355231335 -processing.h>
17 1355231335 -processing.h>
18
18
19 1350983928 source:e:\missions\solo\dev_ple\src\grspw.c
19 1350983928 source:e:\missions\solo\dev_ple\src\grspw.c
20 <..\header\grspw.h>
20 <..\header\grspw.h>
21 <stdio.h>
21 <stdio.h>
22
22
23 1354190601
23 1354190601
24
24
25 1350983928 e:\missions\solo\dev_ple\header\grspw.h
25 1350983928 e:\missions\solo\dev_ple\header\grspw.h
26
26
27 1351173364 source:e:\missions\solo\dev_ple\src\fsw-config.c
27 1351173364 source:e:\missions\solo\dev_ple\src\fsw-config.c
28 <drvmgr/ambapp_bus.h>
28 <drvmgr/ambapp_bus.h>
29
29
30 1354190602 bapp_bus.h>
30 1354190602 bapp_bus.h>
31
31
32 1354190602 e:\missions\solo\dev_ple\src\fsw-config.c
32 1354190602 e:\missions\solo\dev_ple\src\fsw-config.c
33 <drvmgr/ambapp_bus.h>
33 <drvmgr/ambapp_bus.h>
34
34
35 1354190602 source:e:\missions\solo\dev_ple\src\fsw-rtems-processing.c
35 1354190602 source:e:\missions\solo\dev_ple\src\fsw-rtems-processing.c
36 <FSW-rtems-processing.h>
36 <FSW-rtems-processing.h>
37 <math.h>
37 <math.h>
38 <stdio.h>
38 <stdio.h>
39 <leon.h>
39 <leon.h>
40
40
41 1354190601 e:\missions\solo\dev_ple\header\fsw-rtems-processing.h
41 1354190601 e:\missions\solo\dev_ple\header\fsw-rtems-processing.h
42 <rtems.h>
42 <rtems.h>
43
43
44 1359451040 source:/opt/DEV_PLE/src/FSW-rtems-processing.c
44 1359451040 source:/opt/DEV_PLE/src/FSW-rtems-processing.c
45 <FSW-rtems-processing.h>
45 <FSW-rtems-processing.h>
46 <math.h>
46 <math.h>
47 <stdio.h>
47 <stdio.h>
48 <leon.h>
48 <leon.h>
49
49
50 1359458568 /opt/DEV_PLE/header/FSW-rtems-processing.h
50 1359458568 /opt/DEV_PLE/header/FSW-rtems-processing.h
51 <rtems.h>
51 <rtems.h>
52 <grlibregs.h>
52 <grlibregs.h>
53 <FSW-params.h>
53 <FSW-params.h>
54
54
55 1359458854 source:/opt/DEV_PLE/src/FSW-rtems.c
55 1359458854 source:/opt/DEV_PLE/src/FSW-rtems.c
56 <rtems.h>
56 <rtems.h>
57 <bsp.h>
57 <bsp.h>
58 <rtems/confdefs.h>
58 <rtems/confdefs.h>
59 <drvmgr/drvmgr_confdefs.h>
59 <drvmgr/drvmgr_confdefs.h>
60 <FSW-rtems.h>
60 <FSW-rtems.h>
61 <FSW-config.c>
61 <FSW-config.c>
62
62
63 1359365823 /opt/DEV_PLE/src/FSW-config.c
63 1359365823 /opt/DEV_PLE/src/FSW-config.c
64 <drvmgr/ambapp_bus.h>
64 <drvmgr/ambapp_bus.h>
65
65
66 1359458568 source:/opt/DEV_PLE/src/TC_handler.c
66 1359458568 source:/opt/DEV_PLE/src/TC_handler.c
67 <TC_handler.h>
67 <TC_handler.h>
68 <FSW-params.h>
68 <FSW-params.h>
69
69
70 1359377846 /opt/DEV_PLE/header/TC_handler.h
70 1359377846 /opt/DEV_PLE/header/TC_handler.h
71 <stdio.h>
71 <stdio.h>
72 <ccsds_types.h>
72 <ccsds_types.h>
73
73
74 1359640245 /opt/DEV_PLE/header/ccsds_types.h
74 1359640245 /opt/DEV_PLE/header/ccsds_types.h
75
75
76 1359365823 source:/opt/DEV_PLE/src/FSW-config.c
76 1359365823 source:/opt/DEV_PLE/src/FSW-config.c
77 <drvmgr/ambapp_bus.h>
77 <drvmgr/ambapp_bus.h>
78
78
79 1359452642 /opt/DEV_PLE/header/FSW-config.h
79 1359452642 /opt/DEV_PLE/header/FSW-config.h
80
80
81 1359440704 /opt/DEV_PLE/header/grlibregs.h
81 1359440704 /opt/DEV_PLE/header/grlibregs.h
82
82
83 1359382989 source:/opt/DEV_PLE/src/WF_handler.c
83 1359382989 source:/opt/DEV_PLE/src/WF_handler.c
84
84
85 1359459475 source:/opt/DEV_PLE/src/FSW-misc.c
85 1359459475 source:/opt/DEV_PLE/src/FSW-misc.c
86 <FSW-misc.h>
86 <FSW-misc.h>
87 <FSW-params.h>
87 <FSW-params.h>
88
88
89 1359459330 /opt/DEV_PLE/header/FSW-misc.h
89 1359459330 /opt/DEV_PLE/header/FSW-misc.h
90 <rtems.h>
90 <rtems.h>
91 <stdio.h>
91 <stdio.h>
92 <FSW-rtems.h>
92 <FSW-rtems.h>
93 <FSW-params.h>
93 <FSW-params.h>
94 <grlibregs.h>
94 <grlibregs.h>
95 <grspw.h>
95 <grspw.h>
96 <ccsds_types.h>
96 <ccsds_types.h>
97
97
98 1359459364 /opt/DEV_PLE/header/FSW-rtems.h
98 1359459364 /opt/DEV_PLE/header/FSW-rtems.h
99 <errno.h>
99 <errno.h>
100 <fcntl.h>
100 <fcntl.h>
101 <stdio.h>
101 <stdio.h>
102 <stdlib.h>
102 <stdlib.h>
103 <grspw.h>
103 <grspw.h>
104 <apbuart.h>
104 <apbuart.h>
105 <FSW-params.h>
105 <FSW-params.h>
106 <FSW-misc.h>
106 <FSW-misc.h>
107 <FSW-rtems-processing.h>
107 <FSW-rtems-processing.h>
108 <TC_handler.h>
108 <TC_handler.h>
109 <WF_handler.h>
109 <WF_handler.h>
110 <grlibregs.h>
110 <grlibregs.h>
111
111
112 1359458453 /opt/DEV_PLE/header/FSW-params.h
112 1359458453 /opt/DEV_PLE/header/FSW-params.h
113
113
114 1359459642 /opt/DEV_PLE/header/WF_handler.h
114 1359459642 /opt/DEV_PLE/header/WF_handler.h
115 <rtems.h>
115 <rtems.h>
116 <FSW-params.h>
116 <FSW-params.h>
117 <grspw.h>
117 <grspw.h>
118 <grlibregs.h>
118 <grlibregs.h>
119 <ccsds_types.h>
119 <ccsds_types.h>
120 <stdio.h>
120 <stdio.h>
121 <FSW-rtems.h>
121 <FSW-rtems.h>
122
122
123 1359464354 source:/opt/DEV_PLE/src/fsw_main.c
123 1359464354 source:/opt/DEV_PLE/src/fsw_main.c
124 <rtems.h>
124 <rtems.h>
125 <bsp.h>
125 <bsp.h>
126 <rtems/confdefs.h>
126 <rtems/confdefs.h>
127 <drvmgr/drvmgr_confdefs.h>
127 <drvmgr/drvmgr_confdefs.h>
128 <fsw_main.h>
128 <fsw_main.h>
129 <fsw_config.c>
129 <fsw_config.c>
130
130
131 1359464346 /opt/DEV_PLE/header/fsw_main.h
131 1359464346 /opt/DEV_PLE/header/fsw_main.h
132 <errno.h>
132 <errno.h>
133 <fcntl.h>
133 <fcntl.h>
134 <stdio.h>
134 <stdio.h>
135 <stdlib.h>
135 <stdlib.h>
136 <grspw.h>
136 <grspw.h>
137 <apbuart.h>
137 <apbuart.h>
138 <fsw_params.h>
138 <fsw_params.h>
139 <fsw_misc.h>
139 <fsw_misc.h>
140 <fsw_processing.h>
140 <fsw_processing.h>
141 <tc_handler.h>
141 <tc_handler.h>
142 <wf_handler.h>
142 <wf_handler.h>
143 <grlib_regs.h>
143 <grlib_regs.h>
144
144
145 1359616894 /opt/DEV_PLE/header/fsw_params.h
145 1359959307 /opt/DEV_PLE/header/fsw_params.h
146
146
147 1359614518 /opt/DEV_PLE/header/fsw_misc.h
147 1359614518 /opt/DEV_PLE/header/fsw_misc.h
148 <rtems.h>
148 <rtems.h>
149 <stdio.h>
149 <stdio.h>
150 <fsw_init.h>
150 <fsw_init.h>
151 <fsw_params.h>
151 <fsw_params.h>
152 <grlib_regs.h>
152 <grlib_regs.h>
153 <grspw.h>
153 <grspw.h>
154 <ccsds_types.h>
154 <ccsds_types.h>
155
155
156 1359440704 /opt/DEV_PLE/header/grlib_regs.h
156 1359959822 /opt/DEV_PLE/header/grlib_regs.h
157
157
158 1359614517 /opt/DEV_PLE/header/fsw_processing.h
158 1359614517 /opt/DEV_PLE/header/fsw_processing.h
159 <rtems.h>
159 <rtems.h>
160 <grlib_regs.h>
160 <grlib_regs.h>
161 <fsw_params.h>
161 <fsw_params.h>
162
162
163 1359643450 /opt/DEV_PLE/header/tc_handler.h
163 1359959377 /opt/DEV_PLE/header/tc_handler.h
164 <rtems.h>
164 <rtems.h>
165 <stdio.h>
165 <stdio.h>
166 <unistd.h>
166 <unistd.h>
167 <sys/ioctl.h>
167 <sys/ioctl.h>
168 <ccsds_types.h>
168 <ccsds_types.h>
169 <grspw.h>
169 <grspw.h>
170 <fsw_init.h>
170 <fsw_init.h>
171
171
172 1359614518 /opt/DEV_PLE/header/wf_handler.h
172 1359614518 /opt/DEV_PLE/header/wf_handler.h
173 <rtems.h>
173 <rtems.h>
174 <fsw_params.h>
174 <fsw_params.h>
175 <grspw.h>
175 <grspw.h>
176 <grlib_regs.h>
176 <grlib_regs.h>
177 <ccsds_types.h>
177 <ccsds_types.h>
178 <stdio.h>
178 <stdio.h>
179 <fsw_init.h>
179 <fsw_init.h>
180
180
181 1359365823 /opt/DEV_PLE/src/fsw_config.c
181 1359365823 /opt/DEV_PLE/src/fsw_config.c
182 <drvmgr/ambapp_bus.h>
182 <drvmgr/ambapp_bus.h>
183
183
184 1359614518 source:/opt/DEV_PLE/src/fsw_misc.c
184 1359614518 source:/opt/DEV_PLE/src/fsw_misc.c
185 <fsw_misc.h>
185 <fsw_misc.h>
186 <fsw_params.h>
186 <fsw_params.h>
187
187
188 1359643720 source:/opt/DEV_PLE/src/tc_handler.c
188 1359715931 source:/opt/DEV_PLE/src/tc_handler.c
189 <tc_handler.h>
189 <tc_handler.h>
190 <fsw_params.h>
190 <fsw_params.h>
191
191
192 1359614518 source:/opt/DEV_PLE/src/wf_handler.c
192 1359715982 source:/opt/DEV_PLE/src/wf_handler.c
193 <wf_handler.h>
193 <wf_handler.h>
194
194
195 1359615705 source:/opt/DEV_PLE/src/fsw_globals.c
195 1359959319 source:/opt/DEV_PLE/src/fsw_globals.c
196 <fsw_processing.h>
196 <fsw_processing.h>
197 <rtems.h>
197 <rtems.h>
198
198
199 1359622160 source:/opt/DEV_PLE/src/fsw_init.c
199 1359959173 source:/opt/DEV_PLE/src/fsw_init.c
200 <rtems.h>
200 <rtems.h>
201 <bsp.h>
201 <bsp.h>
202 <rtems/confdefs.h>
202 <rtems/confdefs.h>
203 <drvmgr/drvmgr_confdefs.h>
203 <drvmgr/drvmgr_confdefs.h>
204 <fsw_init.h>
204 <fsw_init.h>
205 <fsw_config.c>
205 <fsw_config.c>
206
206
207 1359615705 /opt/DEV_PLE/header/fsw_init.h
207 1359714779 /opt/DEV_PLE/header/fsw_init.h
208 <errno.h>
208 <errno.h>
209 <fcntl.h>
209 <fcntl.h>
210 <stdio.h>
210 <stdio.h>
211 <stdlib.h>
211 <stdlib.h>
212 <grspw.h>
212 <grspw.h>
213 <apbuart.h>
213 <apbuart.h>
214 <fsw_params.h>
214 <fsw_params.h>
215 <fsw_misc.h>
215 <fsw_misc.h>
216 <fsw_processing.h>
216 <fsw_processing.h>
217 <tc_handler.h>
217 <tc_handler.h>
218 <wf_handler.h>
218 <wf_handler.h>
219 <grlib_regs.h>
219 <grlib_regs.h>
220
220
221 1359614518 source:/opt/DEV_PLE/src/fsw_processing.c
221 1359715903 source:/opt/DEV_PLE/src/fsw_processing.c
222 <fsw_processing.h>
222 <fsw_processing.h>
223 <math.h>
223 <math.h>
224 <stdio.h>
224 <stdio.h>
225 <leon.h>
225 <leon.h>
226
226
227 1359665502 source:/home/admin/opt/DEV_PLE/src/fsw_globals.c
227 1359665502 source:/home/admin/opt/DEV_PLE/src/fsw_globals.c
228 <fsw_processing.h>
228 <fsw_processing.h>
229 <rtems.h>
229 <rtems.h>
230
230
231 1359663364 /home/admin/opt/DEV_PLE/header/fsw_processing.h
231 1359663364 /home/admin/opt/DEV_PLE/header/fsw_processing.h
232 <rtems.h>
232 <rtems.h>
233 <grlib_regs.h>
233 <grlib_regs.h>
234 <fsw_params.h>
234 <fsw_params.h>
235
235
236 1359470426 /home/admin/opt/DEV_PLE/header/grlib_regs.h
236 1359470426 /home/admin/opt/DEV_PLE/header/grlib_regs.h
237
237
238 1359665475 /home/admin/opt/DEV_PLE/header/fsw_params.h
238 1359665475 /home/admin/opt/DEV_PLE/header/fsw_params.h
239
239
240 1359666330 source:/home/admin/opt/DEV_PLE/src/fsw_init.c
240 1359666330 source:/home/admin/opt/DEV_PLE/src/fsw_init.c
241 <rtems.h>
241 <rtems.h>
242 <bsp.h>
242 <bsp.h>
243 <rtems/confdefs.h>
243 <rtems/confdefs.h>
244 <drvmgr/drvmgr_confdefs.h>
244 <drvmgr/drvmgr_confdefs.h>
245 <fsw_init.h>
245 <fsw_init.h>
246 <fsw_config.c>
246 <fsw_config.c>
247
247
248 1359666373 /home/admin/opt/DEV_PLE/header/fsw_init.h
248 1359666373 /home/admin/opt/DEV_PLE/header/fsw_init.h
249 <errno.h>
249 <errno.h>
250 <fcntl.h>
250 <fcntl.h>
251 <stdio.h>
251 <stdio.h>
252 <stdlib.h>
252 <stdlib.h>
253 <grspw.h>
253 <grspw.h>
254 <apbuart.h>
254 <apbuart.h>
255 <fsw_params.h>
255 <fsw_params.h>
256 <fsw_misc.h>
256 <fsw_misc.h>
257 <fsw_processing.h>
257 <fsw_processing.h>
258 <tc_handler.h>
258 <tc_handler.h>
259 <wf_handler.h>
259 <wf_handler.h>
260 <grlib_regs.h>
260 <grlib_regs.h>
261
261
262 1359663364 /home/admin/opt/DEV_PLE/header/fsw_misc.h
262 1359663364 /home/admin/opt/DEV_PLE/header/fsw_misc.h
263 <rtems.h>
263 <rtems.h>
264 <stdio.h>
264 <stdio.h>
265 <fsw_init.h>
265 <fsw_init.h>
266 <fsw_params.h>
266 <fsw_params.h>
267 <grlib_regs.h>
267 <grlib_regs.h>
268 <grspw.h>
268 <grspw.h>
269 <ccsds_types.h>
269 <ccsds_types.h>
270
270
271 1359663364 /home/admin/opt/DEV_PLE/header/ccsds_types.h
271 1359663364 /home/admin/opt/DEV_PLE/header/ccsds_types.h
272
272
273 1359665643 /home/admin/opt/DEV_PLE/header/tc_handler.h
273 1359665643 /home/admin/opt/DEV_PLE/header/tc_handler.h
274 <rtems.h>
274 <rtems.h>
275 <stdio.h>
275 <stdio.h>
276 <unistd.h>
276 <unistd.h>
277 <sys/ioctl.h>
277 <sys/ioctl.h>
278 <ccsds_types.h>
278 <ccsds_types.h>
279 <grspw.h>
279 <grspw.h>
280 <fsw_init.h>
280 <fsw_init.h>
281
281
282 1359663364 /home/admin/opt/DEV_PLE/header/wf_handler.h
282 1359663364 /home/admin/opt/DEV_PLE/header/wf_handler.h
283 <rtems.h>
283 <rtems.h>
284 <fsw_params.h>
284 <fsw_params.h>
285 <grspw.h>
285 <grspw.h>
286 <grlib_regs.h>
286 <grlib_regs.h>
287 <ccsds_types.h>
287 <ccsds_types.h>
288 <stdio.h>
288 <stdio.h>
289 <fsw_init.h>
289 <fsw_init.h>
290
290
291 1359470426 /home/admin/opt/DEV_PLE/src/fsw_config.c
291 1359470426 /home/admin/opt/DEV_PLE/src/fsw_config.c
292 <drvmgr/ambapp_bus.h>
292 <drvmgr/ambapp_bus.h>
293
293
294 1359663364 source:/home/admin/opt/DEV_PLE/src/fsw_misc.c
294 1359663364 source:/home/admin/opt/DEV_PLE/src/fsw_misc.c
295 <fsw_misc.h>
295 <fsw_misc.h>
296 <fsw_params.h>
296 <fsw_params.h>
297
297
298 1359663364 source:/home/admin/opt/DEV_PLE/src/fsw_processing.c
298 1359663364 source:/home/admin/opt/DEV_PLE/src/fsw_processing.c
299 <fsw_processing.h>
299 <fsw_processing.h>
300 <math.h>
300 <math.h>
301 <stdio.h>
301 <stdio.h>
302 <leon.h>
302 <leon.h>
303
303
304 1359663364 source:/home/admin/opt/DEV_PLE/src/wf_handler.c
304 1359663364 source:/home/admin/opt/DEV_PLE/src/wf_handler.c
305 <wf_handler.h>
305 <wf_handler.h>
306
306
307 1359665083 source:/home/admin/opt/DEV_PLE/src/tc_handler.c
307 1359665083 source:/home/admin/opt/DEV_PLE/src/tc_handler.c
308 <tc_handler.h>
308 <tc_handler.h>
309 <fsw_params.h>
309 <fsw_params.h>
310
310
@@ -1,43 +1,46
1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
1 <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
2 <CodeBlocks_layout_file>
2 <CodeBlocks_layout_file>
3 <ActiveTarget name="Debug" />
3 <ActiveTarget name="Debug" />
4 <File name="../header/ccsds_types.h" open="0" top="0" tabpos="5">
4 <File name="../header/ccsds_types.h" open="1" top="0" tabpos="3">
5 <Cursor position="4079" topLine="120" />
5 <Cursor position="3403" topLine="101" />
6 </File>
6 </File>
7 <File name="../header/fsw_init.h" open="0" top="0" tabpos="3">
7 <File name="../header/fsw_init.h" open="0" top="0" tabpos="3">
8 <Cursor position="1128" topLine="26" />
8 <Cursor position="899" topLine="0" />
9 </File>
9 </File>
10 <File name="../header/fsw_misc.h" open="0" top="0" tabpos="0">
10 <File name="../header/fsw_misc.h" open="0" top="0" tabpos="0">
11 <Cursor position="114" topLine="0" />
11 <Cursor position="114" topLine="0" />
12 </File>
12 </File>
13 <File name="../header/fsw_params.h" open="0" top="0" tabpos="0">
13 <File name="../header/fsw_params.h" open="0" top="0" tabpos="0">
14 <Cursor position="1374" topLine="49" />
14 <Cursor position="2405" topLine="52" />
15 </File>
15 </File>
16 <File name="../header/fsw_processing.h" open="0" top="0" tabpos="0">
16 <File name="../header/fsw_processing.h" open="0" top="0" tabpos="0">
17 <Cursor position="576" topLine="0" />
17 <Cursor position="576" topLine="0" />
18 </File>
18 </File>
19 <File name="../header/grlib_regs.h" open="0" top="0" tabpos="0">
20 <Cursor position="1072" topLine="0" />
21 </File>
19 <File name="../header/tc_handler.h" open="0" top="0" tabpos="4">
22 <File name="../header/tc_handler.h" open="0" top="0" tabpos="4">
20 <Cursor position="437" topLine="35" />
23 <Cursor position="481" topLine="0" />
21 </File>
24 </File>
22 <File name="../header/wf_handler.h" open="0" top="0" tabpos="0">
25 <File name="../header/wf_handler.h" open="0" top="0" tabpos="0">
23 <Cursor position="212" topLine="0" />
26 <Cursor position="212" topLine="0" />
24 </File>
27 </File>
25 <File name="../src/fsw_globals.c" open="0" top="0" tabpos="4">
28 <File name="../src/fsw_globals.c" open="0" top="0" tabpos="4">
26 <Cursor position="1271" topLine="18" />
29 <Cursor position="1531" topLine="1" />
27 </File>
30 </File>
28 <File name="../src/fsw_init.c" open="1" top="0" tabpos="1">
31 <File name="../src/fsw_init.c" open="1" top="0" tabpos="1">
29 <Cursor position="1814" topLine="48" />
32 <Cursor position="9387" topLine="83" />
30 </File>
33 </File>
31 <File name="../src/fsw_misc.c" open="0" top="0" tabpos="0">
34 <File name="../src/fsw_misc.c" open="0" top="0" tabpos="0">
32 <Cursor position="20" topLine="0" />
35 <Cursor position="20" topLine="0" />
33 </File>
36 </File>
34 <File name="../src/fsw_processing.c" open="0" top="0" tabpos="2">
37 <File name="../src/fsw_processing.c" open="0" top="0" tabpos="3">
35 <Cursor position="1175" topLine="46" />
38 <Cursor position="1797" topLine="73" />
36 </File>
39 </File>
37 <File name="../src/tc_handler.c" open="1" top="1" tabpos="2">
40 <File name="../src/tc_handler.c" open="1" top="1" tabpos="2">
38 <Cursor position="13133" topLine="89" />
41 <Cursor position="10603" topLine="21" />
39 </File>
42 </File>
40 <File name="../src/wf_handler.c" open="0" top="0" tabpos="0">
43 <File name="../src/wf_handler.c" open="0" top="0" tabpos="0">
41 <Cursor position="3936" topLine="62" />
44 <Cursor position="542" topLine="0" />
42 </File>
45 </File>
43 </CodeBlocks_layout_file>
46 </CodeBlocks_layout_file>
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,47 +1,52
1 #ifndef FSW_RTEMS_H_INCLUDED
1 #ifndef FSW_RTEMS_H_INCLUDED
2 #define FSW_RTEMS_H_INCLUDED
2 #define FSW_RTEMS_H_INCLUDED
3
3
4 #include <errno.h>
4 #include <errno.h>
5 #include <fcntl.h>
5 #include <fcntl.h>
6 #include <stdio.h>
6 #include <stdio.h>
7 #include <stdlib.h>
7 #include <stdlib.h>
8
8
9 #include <grspw.h>
9 #include <grspw.h>
10 #include <apbuart.h>
10 #include <apbuart.h>
11
11
12 #include <fsw_params.h>
12 #include <fsw_params.h>
13 #include <fsw_misc.h>
13 #include <fsw_misc.h>
14 #include <fsw_processing.h>
14 #include <fsw_processing.h>
15 #include <tc_handler.h>
15 #include <tc_handler.h>
16 #include <wf_handler.h>
16 #include <wf_handler.h>
17 #include <grlib_regs.h>
17 #include <grlib_regs.h>
18
18
19 extern int sched_yield();
19 extern int sched_yield();
20 extern int errno;
20 extern int errno;
21 extern rtems_id Task_id[ ]; /* array of task ids */
21 extern rtems_id Task_id[ ]; /* array of task ids */
22 extern rtems_name Task_name[ ]; /* array of task names */
22 extern rtems_name Task_name[ ]; /* array of task names */
23 extern rtems_name misc_name[ ]; /* arry of miscellaneous names for rtems objects */
23 extern rtems_name misc_name[ ]; /* arry of miscellaneous names for rtems objects */
24 extern int fdSPW; // grspw file descriptor
24 extern int fdSPW; // grspw file descriptor
25 extern int fdUART; // uart file descriptor
25 extern int fdUART; // uart file descriptor
26 // MODE PARAMETERS
26 extern struct param_norm_str param_norm;
27 extern struct param_norm_str param_norm;
28 extern struct param_burst_str param_burst;
29 extern struct param_sbm1_str param_sbm1;
30 extern struct param_sbm2_str param_sbm2;
31 extern unsigned char param_common[];
27
32
28 // RTEMS TASKS
33 // RTEMS TASKS
29 rtems_task Init( rtems_task_argument argument); /* forward declaration needed */
34 rtems_task Init( rtems_task_argument argument); /* forward declaration needed */
30 rtems_task recv_task(rtems_task_argument argument);
35 rtems_task recv_task(rtems_task_argument argument);
31 rtems_task spiq_task(rtems_task_argument argument);
36 rtems_task spiq_task(rtems_task_argument argument);
32 rtems_task stat_task(rtems_task_argument argument);
37 rtems_task stat_task(rtems_task_argument argument);
33 rtems_task wfrm_task(rtems_task_argument argument);
38 rtems_task wfrm_task(rtems_task_argument argument);
34 int create_all_tasks();
39 int create_all_tasks();
35 int start_all_tasks();
40 int start_all_tasks();
36 int create_message_queue();
41 int create_message_queue();
37
42
38 // OTHER functions
43 // OTHER functions
39 void init_default_mode_parameters();
44 void init_default_mode_parameters();
40 int configure_spw_link();
45 int configure_spw_link();
41 int send_console_outputs_on_serial_port();
46 int send_console_outputs_on_serial_port();
42 extern int rtems_cpu_usage_report();
47 extern int rtems_cpu_usage_report();
43 extern int rtems_cpu_usage_reset();
48 extern int rtems_cpu_usage_reset();
44 void print_statistics(spw_stats *);
49 void print_statistics(spw_stats *);
45 rtems_status_code write_spw(spw_ioctl_pkt_send* spw_ioctl_send);
50 rtems_status_code write_spw(spw_ioctl_pkt_send* spw_ioctl_send);
46
51
47 #endif // FSW_RTEMS_CONFIG_H_INCLUDED
52 #endif // FSW_RTEMS_CONFIG_H_INCLUDED
@@ -1,68 +1,92
1 #ifndef FSW_RTEMS_CONFIG_H_INCLUDED
1 #ifndef FSW_RTEMS_CONFIG_H_INCLUDED
2 #define FSW_RTEMS_CONFIG_H_INCLUDED
2 #define FSW_RTEMS_CONFIG_H_INCLUDED
3
3
4 #define GRSPW_DEVICE_NAME "/dev/grspw0"
4 #define GRSPW_DEVICE_NAME "/dev/grspw0"
5 #define UART_DEVICE_NAME "/dev/console"
5 #define UART_DEVICE_NAME "/dev/console"
6
6
7 //**********
8 // LFR MODES
9 #define LFR_MODE_STANDBY 0
10 #define LFR_MODE_NORMAL 1
11 #define LFR_MODE_BURST 2
12 #define LFR_MODE_SBM1 3
13 #define LFR_MODE_SBM2 4
14
7 //*****************************
15 //*****************************
8 // APB REGISTERS BASE ADDRESSES
16 // APB REGISTERS BASE ADDRESSES
9 #define REGS_ADDR_APBUART 0x80000100
17 #define REGS_ADDR_APBUART 0x80000100
10 #define REGS_ADDR_GPTIMER 0x80000300
18 #define REGS_ADDR_GPTIMER 0x80000300
11 #define REGS_ADDR_GRSPW 0x80000500
19 #define REGS_ADDR_GRSPW 0x80000500
20 #define REGS_ADDR_TIME_MANAGEMENT 0x80000600
12 #define REGS_ADDR_SPECTRAL_MATRICES 0x80000700
21 #define REGS_ADDR_SPECTRAL_MATRICES 0x80000700
13
22
14 #define APBUART_CTRL_REG_MASK_DB 0xfffff7ff
23 #define APBUART_CTRL_REG_MASK_DB 0xfffff7ff
15
24
16 #define IRQ_SM 9
25 #define IRQ_SM 9
17 #define IRQ_SPARC_SM 0x19 // see sparcv8.pdf p.76 for interrupt levels
26 #define IRQ_SPARC_SM 0x19 // see sparcv8.pdf p.76 for interrupt levels
18 #define IRQ_WF 10
27 #define IRQ_WF 10
19 #define IRQ_SPARC_WF 0x1a // see sparcv8.pdf p.76 for interrupt levels
28 #define IRQ_SPARC_WF 0x1a // see sparcv8.pdf p.76 for interrupt levels
20
29
21 #define CLKDIV_SM_SIMULATOR 9999
30 #define CLKDIV_SM_SIMULATOR 9999
22 #define CLKDIV_WF_SIMULATOR 9999999
31 #define CLKDIV_WF_SIMULATOR 9999999
23 #define TIMER_SM_SIMULATOR 1
32 #define TIMER_SM_SIMULATOR 1
24 #define TIMER_WF_SIMULATOR 2
33 #define TIMER_WF_SIMULATOR 2
25
34
26 //******
35 //******
27 // RTEMS
36 // RTEMS
28 #define TASKID_RECV 1
37 #define TASKID_RECV 1
29 #define TASKID_ACTN 1
38 #define TASKID_ACTN 1
30 #define TASKID_SPIQ 3
39 #define TASKID_SPIQ 3
31 #define TASKID_SMIQ 4
40 #define TASKID_SMIQ 4
32 #define TASKID_STAT 5
41 #define TASKID_STAT 5
33 #define TASKID_AVF0 6
42 #define TASKID_AVF0 6
34 #define TASKID_BPF0 7
43 #define TASKID_BPF0 7
35 #define TASKID_WFRM 8
44 #define TASKID_WFRM 8
36
45
37 #define ACTION_MSG_QUEUE_COUNT 10
46 #define ACTION_MSG_QUEUE_COUNT 10
38
47
39 //*******
48 //*******
40 // MACROS
49 // MACROS
41 #define PRINT_MESSAGES_ON_CONSOLE // enable or disable the printf instructions
50 #define PRINT_MESSAGES_ON_CONSOLE // enable or disable the printf instructions
42 #ifdef PRINT_MESSAGES_ON_CONSOLE
51 #ifdef PRINT_MESSAGES_ON_CONSOLE
43 #define PRINTF(x) printf(x);
52 #define PRINTF(x) printf(x);
44 #define PRINTF1(x,y) printf(x,y);
53 #define PRINTF1(x,y) printf(x,y);
45 #define PRINTF2(x,y,z) printf(x,y,z);
54 #define PRINTF2(x,y,z) printf(x,y,z);
46 #else
55 #else
47 #define PRINTF(x) ;
56 #define PRINTF(x) ;
48 #define PRINTF1(x,y) ;
57 #define PRINTF1(x,y) ;
49 #define PRINTF2(x,y,z) ;
58 #define PRINTF2(x,y,z) ;
50 #endif
59 #endif
51
60
52 #define NB_SAMPLES_PER_SNAPSHOT 2048
61 #define NB_SAMPLES_PER_SNAPSHOT 2048
53 #define NB_BYTES_SWF_BLK 2 * 6
62 #define NB_BYTES_SWF_BLK 2 * 6
54
63
55 struct param_norm_str{
64 struct param_norm_str{
56 unsigned int sy_lfr_n_swf_l; // length of the snapshots
65 unsigned int sy_lfr_n_swf_l; // length of the snapshots
57 unsigned int sy_lfr_n_swf_p; // time between two snapshots
66 unsigned int sy_lfr_n_swf_p; // time between two snapshots
58 unsigned int sy_lfr_n_asm_p; // time between two asm
67 unsigned int sy_lfr_n_asm_p; // time between two asm
59 unsigned char sy_lfr_n_bp_p0; // timebetween two products BP1 set
68 unsigned char sy_lfr_n_bp_p0; // timebetween two products BP1 set
60 unsigned char sy_lfr_n_bp_p1; // time between two products BP2 set
69 unsigned char sy_lfr_n_bp_p1; // time between two products BP2 set
61 };
70 };
62
71
72 struct param_burst_str{
73 unsigned char sy_lfr_b_bp_p0; // timebetween two products BP1 set
74 unsigned char sy_lfr_b_bp_p1; // time between two products BP2 set
75 };
76
77 struct param_sbm1_str{
78 unsigned char sy_lfr_s1_bp_p0; // timebetween two products BP1 set
79 unsigned char sy_lfr_s1_bp_p1; // time between two products BP2 set
80 };
81
82 struct param_sbm2_str{
83 unsigned char sy_lfr_s2_bp_p0; // timebetween two products BP1 set
84 unsigned char sy_lfr_s2_bp_p1; // time between two products BP2 set
85 };
86
63 extern volatile int wf_snap_f0[ ]; // 24576 bytes
87 extern volatile int wf_snap_f0[ ]; // 24576 bytes
64 extern volatile int wf_snap_f1[ ]; // 24576 bytes
88 extern volatile int wf_snap_f1[ ]; // 24576 bytes
65 extern volatile int wf_snap_f2[ ]; // 24576 bytes
89 extern volatile int wf_snap_f2[ ]; // 24576 bytes
66 extern volatile int wf_cont_f3[ ]; // 24576 bytes
90 extern volatile int wf_cont_f3[ ]; // 24576 bytes
67
91
68 #endif // FSW_RTEMS_CONFIG_H_INCLUDED
92 #endif // FSW_RTEMS_CONFIG_H_INCLUDED
@@ -1,40 +1,48
1 #ifndef GRLIBREGS_H_INCLUDED
1 #ifndef GRLIBREGS_H_INCLUDED
2 #define GRLIBREGS_H_INCLUDED
2 #define GRLIBREGS_H_INCLUDED
3
3
4 #define NB_GPTIMER 3
4 #define NB_GPTIMER 3
5
5
6 struct apbuart_regs_str{
6 struct apbuart_regs_str{
7 volatile unsigned int data;
7 volatile unsigned int data;
8 volatile unsigned int status;
8 volatile unsigned int status;
9 volatile unsigned int ctrl;
9 volatile unsigned int ctrl;
10 volatile unsigned int scaler;
10 volatile unsigned int scaler;
11 volatile unsigned int fifoDebug;
11 volatile unsigned int fifoDebug;
12 };
12 };
13
13
14 struct timer_regs_str
14 struct timer_regs_str
15 {
15 {
16 volatile unsigned int counter;
16 volatile unsigned int counter;
17 volatile unsigned int reload;
17 volatile unsigned int reload;
18 volatile unsigned int ctrl;
18 volatile unsigned int ctrl;
19 volatile unsigned int unused;
19 volatile unsigned int unused;
20 };
20 };
21 typedef struct timer_regs_str timer_regs_t;
21 typedef struct timer_regs_str timer_regs_t;
22
22
23 struct gptimer_regs_str
23 struct gptimer_regs_str
24 {
24 {
25 volatile unsigned int scaler_value;
25 volatile unsigned int scaler_value;
26 volatile unsigned int scaler_reload;
26 volatile unsigned int scaler_reload;
27 volatile unsigned int conf;
27 volatile unsigned int conf;
28 volatile unsigned int unused0;
28 volatile unsigned int unused0;
29 timer_regs_t timer[NB_GPTIMER];
29 timer_regs_t timer[NB_GPTIMER];
30 };
30 };
31 typedef struct gptimer_regs_str gptimer_regs_t;
31 typedef struct gptimer_regs_str gptimer_regs_t;
32
32
33 struct spectral_matrices_regs_str{
33 struct spectral_matrices_regs_str{
34 volatile int ctrl;
34 volatile int ctrl;
35 volatile int address0;
35 volatile int address0;
36 volatile int address1;
36 volatile int address1;
37 };
37 };
38 typedef struct spectral_matrices_regs_str spectral_matrices_regs_t;
38 typedef struct spectral_matrices_regs_str spectral_matrices_regs_t;
39
39
40 struct time_management_regs_str{
41 volatile int ctrl; // bit 0 forces the load of the coarse_time_load value and resets the fine_time
42 volatile int coarse_time_load;
43 volatile int coarse_time;
44 volatile int fine_time;
45 };
46 typedef struct time_management_regs_str time_management_regs_t;
47
40 #endif // GRLIBREGS_H_INCLUDED
48 #endif // GRLIBREGS_H_INCLUDED
@@ -1,54 +1,63
1 #ifndef TC_HANDLER_H_INCLUDED
1 #ifndef TC_HANDLER_H_INCLUDED
2 #define TC_HANDLER_H_INCLUDED
2 #define TC_HANDLER_H_INCLUDED
3
3
4 #include <rtems.h>
4 #include <rtems.h>
5 #include <bsp.h> // for the LEON_Unmask_interrupt function
5 #include <stdio.h>
6 #include <stdio.h>
6 #include <unistd.h> // for the read call
7 #include <unistd.h> // for the read call
7 #include <sys/ioctl.h> // for the ioctl call
8 #include <sys/ioctl.h> // for the ioctl call
8 #include <ccsds_types.h>
9 #include <ccsds_types.h>
9 #include <grspw.h>
10 #include <grspw.h>
10 #include <fsw_init.h>
11 #include <fsw_init.h>
11
12
12 extern int fdSPW;
13 extern int fdSPW;
13 extern rtems_name misc_name[ ];
14 extern rtems_name misc_name[ ];
14 extern rtems_name misc_id[ ];
15 extern rtems_name misc_id[ ];
15 extern rtems_id Task_id[ ]; // array of task ids
16 extern rtems_id Task_id[ ]; // array of task ids
17 // MODE PARAMETERS
16 extern struct param_norm_str param_norm;
18 extern struct param_norm_str param_norm;
19 extern struct param_sbm1_str param_sbm1;
20 extern struct param_sbm2_str param_sbm2;
21 extern time_management_regs_t *time_management_regs;
22 extern unsigned char param_common[];
17
23
18 unsigned char currentTC_LEN_RCV[2]; // SHALL be equal to the current TC packet estimated packet length field
24 unsigned char currentTC_LEN_RCV[2]; // SHALL be equal to the current TC packet estimated packet length field
19 unsigned char currentTC_COMPUTED_CRC[2];
25 unsigned char currentTC_COMPUTED_CRC[2];
20 unsigned int currentTC_LEN_RCV_AsUnsignedInt;
26 unsigned int currentTC_LEN_RCV_AsUnsignedInt;
21 unsigned int currentTM_length;
27 unsigned int currentTM_length;
22 unsigned char currentTC_processedFlag;
28 unsigned char currentTC_processedFlag;
23
29
24 //**********************
30 //**********************
25 // GENERAL USE FUNCTIONS
31 // GENERAL USE FUNCTIONS
26 unsigned int lookUpTableForCRC[256];
32 unsigned int lookUpTableForCRC[256];
27 void InitLookUpTableForCRC();
33 void initLookUpTableForCRC();
28 void GetCRCAsTwoBytes(unsigned char* data, unsigned char* crcAsTwoBytes, unsigned int sizeOfData);
34 void GetCRCAsTwoBytes(unsigned char* data, unsigned char* crcAsTwoBytes, unsigned int sizeOfData);
29
35
30 //*********************
36 //*********************
31 // ACCEPTANCE FUNCTIONS
37 // ACCEPTANCE FUNCTIONS
32 unsigned char acceptTM(ccsdsTelecommandPacket_t * TMPacket, unsigned int tc_len_recv);
38 unsigned char acceptTM(ccsdsTelecommandPacket_t * TMPacket, unsigned int tc_len_recv);
33
39
34 unsigned char TM_build_header( enum TM_TYPE tm_type, unsigned int packetLength,
40 unsigned char TM_build_header( enum TM_TYPE tm_type, unsigned int packetLength,
35 unsigned int coarseTime, unsigned int fineTime, TMHeader_t *TMHeader);
41 unsigned int coarseTime, unsigned int fineTime, TMHeader_t *TMHeader);
36 unsigned char TM_build_data(ccsdsTelecommandPacket_t *TC, char* data, unsigned int SID, unsigned char *computed_CRC);
42 unsigned char TM_build_data(ccsdsTelecommandPacket_t *TC, char* data, unsigned int SID, unsigned char *computed_CRC);
37 int TC_checker(ccsdsTelecommandPacket_t *TC, unsigned int TC_LEN_RCV);
43 int TC_checker(ccsdsTelecommandPacket_t *TC, unsigned int TC_LEN_RCV);
38
44
39 //***********
45 //***********
40 // RTEMS TASK
46 // RTEMS TASK
41 rtems_task recv_task( rtems_task_argument unused );
47 rtems_task recv_task( rtems_task_argument unused );
42 rtems_task actn_task( rtems_task_argument unused );
48 rtems_task actn_task( rtems_task_argument unused );
43 int create_message_queue();