summaryrefslogtreecommitdiffstats
path: root/doc/tools/bmenu/testdoc.texi
blob: da56254117513a3ba126448f0e6c59bf4b1f15e3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
@ifinfo
@node Avenger Control Electronics System, Avenger Control Electronics System General System, DOCS PREV, DOCS UP
@end ifinfo
@chapter Avenger Control Electronics System
@ifinfo
@menu
* Avenger Control Electronics System General System::
* Avenger Control Electronics System System Modes::
* Avenger Control Electronics System System BIT::
@end menu
@end ifinfo

@ifinfo
@node General System, Avenger Control Electronics System Monitor and Control Avenger, Avenger Control Electronics System, DOCS UP
@end ifinfo
@section General System
@ifinfo
@menu
* Avenger Control Electronics System Monitor and Control Avenger::
* Avenger Control Electronics System Control Weapons::
* Avenger Control Electronics System Handle Tone Signals::
* Avenger Control Electronics System Provide AVDAS::
* Avenger Control Electronics System Perform Initial Power-On Sequence::
* Avenger Control Electronics System Perform Post-power-on Initialization -- Deleted::
* Avenger Control Electronics System Update AVDAS Port::
* Avenger Control Electronics System Handle Minor Faults::
* Avenger Control Electronics System General Mode::
* Avenger Control Electronics System Mode Transition::
* Avenger Control Electronics System Boot BIT::
* Avenger Control Electronics System Background BIT::
@end menu
@end ifinfo

@ifinfo
@node Monitor and Control Avenger, Avenger Control Electronics System Control Weapons, General System, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Monitor and Control Avenger

The AFCC shall be the main computer that monitors and controls all AVENGER
system functions.  [MNTMN 1-21.b, MNTMN 11-3]

@ifinfo
@node Control Weapons, Avenger Control Electronics System Handle Tone Signals, Monitor and Control Avenger, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Control Weapons

The AFCC shall be capable of tracking a single target, and controlling the
missile and machine-gun systems.  [FUNCTIONAL]

@ifinfo
@node Handle Tone Signals, Avenger Control Electronics System Provide AVDAS, Control Weapons, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Handle Tone Signals

The AFCC shall receive a tone signal from the IEA and IFF system.  [MNTMN
11-3.a(3), MNTMN 11-3.b(1)] The AFCC shall generate a test tone.  [MNTMN
11-3.a(3), MNTMN 11-3.b(2)] The AFCC shall also amplify the tone signals
(target acquisition tone and IFF tone) from the IEA and IFF system and
apply them to the communications system via the gunner's control box to
the CVC helmet.  [MNTMN 11-3.a(3), MNTMN 11-3.b(2)] The IFF audio tone
shall be mixed with the missile acquisition tone and built-in-test tone
inside the AFCC.  [MNTMN 11-3.a(3), MNTMN 12-5.b(3&4)].

@ifinfo
@node Provide AVDAS, Avenger Control Electronics System Perform Initial Power-On Sequence, Handle Tone Signals, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Provide AVDAS

The AFCC shall provide system status information on the AVDAS serial test
port.  [FUNCTIONAL]

@ifinfo
@node Perform Initial Power-On Sequence, Avenger Control Electronics System Perform Post-power-on Initialization -- Deleted, Provide AVDAS, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Perform Initial Power-On Sequence

During power-on, the AFCC shall perform the following:

@itemize @bullet

@item initialize all software programmable peripherals,

@item set all A/D output values to zero,

@item safe the laser range finder by setting both first return and last return to a high state,

@item safe the machine-gun system,

@item set the turret drive to high speed mode,

@item set the following outputs inactive

@enumerate 1
@item  FLIR fire permit, missile active, RSO authorize, and uncage verify

@item  sight fire permit, missile active, RSO authorize, and uncage verify

@item  sight display active, and driven reticle

@item  power interlock

@item  FLIR field of view

@item  IFF challenge

@item  gunner palm grips and drift switch

@item  fire command

@item  uncage command

@item  BIT initiate command

@item  ATAS power on

@item  sequence command

@item  arm command

@item  activate command

@item  autotrack lock on command

@item  laser fire command,

@end enumerate

@item set the following inputs to the indicated state

@enumerate 1
@item  uncage mode to AUTO

@item  helicopter mode to OFF

@item  track mode to MANUAL

@item  turret drive mode to STAB.
@end enumerate

@item initialize the missile range tables in RAM from values in EPROM,

@item clear the north reference value and fire permit limits.  [FUNCTIONAL]
@end itemize

@ifinfo
@node Perform Post-power-on Initialization -- Deleted, Avenger Control Electronics System Update AVDAS Port, Perform Initial Power-On Sequence, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Perform Post-power-on Initialization -- Deleted

Requirement was deleted.

@ifinfo
@node Update AVDAS Port, Avenger Control Electronics System Handle Minor Faults, Perform Post-power-on Initialization -- Deleted, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Update AVDAS Port

The AFCC shall update the AVDAS port every 100ms.  [FUNCTIONAL]

@ifinfo
@node Handle Minor Faults, Avenger Control Electronics System System Modes, Update AVDAS Port, Avenger Control Electronics System System Modes
@end ifinfo
@subsection Handle Minor Faults

Detection of a minor fault shall cause an error message to be displayed on
the CDT and the system fault light to be lit.


@ifinfo
@node System Modes, Avenger Control Electronics System General Mode, Handle Minor Faults, DOCS UP
@end ifinfo
@section System Modes
@ifinfo
@menu
* Avenger Control Electronics System General Mode::
* Avenger Control Electronics System Mode Transition::
* Avenger Control Electronics System Boot BIT::
* Avenger Control Electronics System Background BIT::
@end menu
@end ifinfo


@ifinfo
@node General Mode, Avenger Control Electronics System Process System Mode Periodically -- Deleted, System Modes, Avenger Control Electronics System System BIT
@end ifinfo
@subsection General Mode
@ifinfo
@menu
* Avenger Control Electronics System Process System Mode Periodically -- Deleted::
* Avenger Control Electronics System Determine System Mode::
* Avenger Control Electronics System OFF Mode::
* Avenger Control Electronics System COMM Mode::
* Avenger Control Electronics System SAFE Mode::
* Avenger Control Electronics System RUN Mode::
* Avenger Control Electronics System ENGAGE Mode::
* Avenger Control Electronics System Mode Fault::
* Avenger Control Electronics System ENGAGE Mode Processing::
* Avenger Control Electronics System Process Transition to OFF Mode::
* Avenger Control Electronics System Process Transition to COMM Mode::
* Avenger Control Electronics System Process Transition to SAFE Mode::
* Avenger Control Electronics System Process Transition to RUN Mode::
* Avenger Control Electronics System Process Transition to ENGAGE Mode::
@end menu
@end ifinfo


@ifinfo
@node Process System Mode Periodically -- Deleted, Avenger Control Electronics System Determine System Mode, General Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection Process System Mode Periodically -- Deleted

Requirement was deleted.

@ifinfo
@node Determine System Mode, Avenger Control Electronics System OFF Mode, Process System Mode Periodically -- Deleted, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection Determine System Mode

The AFCC shall determine the system mode from the state of the system mode
switch on the gunner's console and the remote mode indication from the
remote terminal.  [FUNCTIONAL]

@ifinfo
@node OFF Mode, Avenger Control Electronics System COMM Mode, Determine System Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection OFF Mode

If the system mode switch is in the OFF position, the system mode shall be
OFF.  [FUNCTIONAL]

@ifinfo
@node COMM Mode, Avenger Control Electronics System SAFE Mode, OFF Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection COMM Mode

If the system mode switch is in the COMM position, the system mode shall
be COMM.  [FUNCTIONAL]

@ifinfo
@node SAFE Mode, Avenger Control Electronics System RUN Mode, COMM Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection SAFE Mode

If the system mode switch is in the SAFE position, the system mode shall
be SAFE.  [FUNCTIONAL]

@ifinfo
@node RUN Mode, Avenger Control Electronics System ENGAGE Mode, SAFE Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection RUN Mode

If the system mode switch is in the RUN position, the system mode shall be
RUN.  [FUNCTIONAL]

@ifinfo
@node ENGAGE Mode, Avenger Control Electronics System Mode Fault, RUN Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection ENGAGE Mode

If the system mode switch is in the ENGAGE position, the system mode shall
be ENGAGE or REMOTE.  [FUNCTIONAL]

@ifinfo
@node Mode Fault, Avenger Control Electronics System ENGAGE Mode Processing, ENGAGE Mode, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection Mode Fault

If the system mode switch is not in a valid position, the system mode
shall remain unchanged and the AFCC shall output 'MODE FAULT' to the CDT.
[FUNCTIONAL]

@ifinfo
@node ENGAGE Mode Processing, Avenger Control Electronics System Mode Transition, Mode Fault, Avenger Control Electronics System Mode Transition
@end ifinfo
@subsubsection ENGAGE Mode Processing

When the system is in the ENGAGE mode, the AFCC shall:

@itemize @bullet

@item perform auto slew processing,

@item perform lead angle processing,

@item perform autotrack processing,

@item output rate commands to the turret drive system,

@item control the firing of the weapons systems.  [FUNCTIONAL]

@end itemize

@ifinfo
@node Mode Transition, Avenger Control Electronics System Process Transition to OFF Mode, ENGAGE Mode Processing, Avenger Control Electronics System System BIT
@end ifinfo
@subsection Mode Transition
@ifinfo
@menu
* Avenger Control Electronics System Process Transition to OFF Mode::
* Avenger Control Electronics System Process Transition to COMM Mode::
* Avenger Control Electronics System Process Transition to SAFE Mode::
* Avenger Control Electronics System Process Transition to RUN Mode::
* Avenger Control Electronics System Process Transition to ENGAGE Mode::
@end menu
@end ifinfo

The AFCC can operate in one of the following modes:  OFF, COMM, SAFE, RUN,
or ENGAGE.  The mode transitions are depicted in Figure 3-1.

@ifhtml
@html
<CENTER>
<IMG SRC="modes.gif" ALT="Figure 3-1 Mode Transitions">
</CENTER>
@end html
@end ifhtml

@ifset use-ascii
@example
Figure 3-1 Mode Transitions - modes.gif
@end example
@end ifset

@ifset use-tex
@example
Figure 3-1 Mode Transitions - modes.gif
@end example
@end ifset


@ifinfo
@node Process Transition to OFF Mode, Avenger Control Electronics System Process Transition to COMM Mode, Mode Transition, Avenger Control Electronics System Boot BIT
@end ifinfo
@subsubsection Process Transition to OFF Mode

When the AFCC detects a valid transition to the OFF mode, the following
actions shall be performed:

@itemize @bullet

@item update the elapsed time counter for the last mode the system was in,

@item output 'OFF MODE' to the CDT,

@item safe the laser by setting the last and first return to a high state,

@item disable the turret drive system,

@item disable the missile system,

@item disable the machine-gun system,

@item deactivate the sight and reticle,

@item update the EEPROM with the current elapsed time and count values,

@item disable continuous BIT,

@item insure that the machine-gun cool down has completed before clearing the power hold circuit.  [FUNCTIONAL]

@end itemize


@ifinfo
@node Process Transition to COMM Mode, Avenger Control Electronics System Process Transition to SAFE Mode, Process Transition to OFF Mode, Avenger Control Electronics System Boot BIT
@end ifinfo
@subsubsection Process Transition to COMM Mode

When the AFCC detects a valid transition to the COMM mode, the following
actions shall be performed:

@itemize @bullet

@item update the elapsed time counter for the last mode the system was in,

@item output `COMM MODE' to the CDT,

@item safe the laser by setting the last and first return to a high state,

@item disable the turret drive system,

@item disable the missile system,

@item disable the machine-gun system,

@item deactivate the sight and reticle,

@item reset the power hold circuit to insure power if the system is put in the OFF mode,

@item enable current monitoring.  [OPMAN 2-27.b(2), FUNCTIONAL]

@end itemize

@ifinfo
@node Process Transition to SAFE Mode, Avenger Control Electronics System Process Transition to RUN Mode, Process Transition to COMM Mode, Avenger Control Electronics System Boot BIT
@end ifinfo
@subsubsection Process Transition to SAFE Mode

When the AFCC detects a valid transition to the SAFE mode, the following
actions shall be performed:

@itemize @bullet

@item update the elapsed time counter for the last mode the system was in,

@item output `SAFE MODE' to the CDT,

@item safe the laser by setting the last and first return to a high state,

@item disable the turret drive system,

@item disable the missile system,

@item disable the machine-gun system,

@item deactivate the sight and reticle,

@item reset the power hold circuit to insure power if the system is put in the OFF mode,

@item enable current monitoring.  [FUNCTIONAL]

@end itemize

@ifinfo
@node Process Transition to RUN Mode, Avenger Control Electronics System Process Transition to ENGAGE Mode, Process Transition to SAFE Mode, Avenger Control Electronics System Boot BIT
@end ifinfo
@subsubsection Process Transition to RUN Mode

When the AFCC detects a valid transition to the RUN mode, the following
actions shall be performed:

@itemize @bullet

@item update the elapsed time counter for the last mode the system was in,

@item output `RUN MODE' to the CDT,

@item safe the laser by setting the last and first return to a high state,

@item enable the turret drive system,

@item disable the missile system,

@item disable the machine-gun system,

@item deactivate the sight and reticle,

@item reset the power hold circuit to insure power if the system is put in the OFF mode,

@item enable current monitoring.  [FUNCTIONAL]

@end itemize

@ifinfo
@node Process Transition to ENGAGE Mode, Avenger Control Electronics System System BIT, Process Transition to RUN Mode, Avenger Control Electronics System Boot BIT
@end ifinfo
@subsubsection Process Transition to ENGAGE Mode

When the AFCC detects a valid transition to the ENGAGE mode, the following
actions shall be performed:

@itemize @bullet

@item update the elapsed time counter for the last mode the system was in,

@item output `ENGAGE MODE' to the CDT,

@item enable the turret drive system,

@item enable the missile system power,

@item reset the power hold circuit to insure power if the system is put in the OFF mode,

@item enable current monitoring.  [FUNCTIONAL]

@end itemize

@ifinfo
@node System BIT, Avenger Control Electronics System Boot BIT, Process Transition to ENGAGE Mode, DOCS UP
@end ifinfo
@section System BIT
@ifinfo
@menu
* Avenger Control Electronics System Boot BIT::
* Avenger Control Electronics System Background BIT::
@end menu
@end ifinfo


@ifinfo
@node Boot BIT, Avenger Control Electronics System Perform ROM Checksum, System BIT, DOCS UP
@end ifinfo
@subsection Boot BIT
@ifinfo
@menu
* Avenger Control Electronics System Perform ROM Checksum::
* Avenger Control Electronics System Boot Test AFCC Boards::
* Avenger Control Electronics System Boot Test CPU Board::
* Avenger Control Electronics System Boot Test AFCC Controller Board DAC's::
* Avenger Control Electronics System Boot Test Interface Board Discrete Inputs::
* Avenger Control Electronics System Boot Test AFCC Controller Board Relay and Discrete Outputs::
* Avenger Control Electronics System Boot Check Voltages::
* Avenger Control Electronics System Boot Handle Fatal Error::
* Avenger Control Electronics System Perform Background BIT::
* Avenger Control Electronics System Background Process CPU and Software Exceptions::
* Avenger Control Electronics System Background Test AFCC Controller Board DAC's::
* Avenger Control Electronics System Background Test AFCC Controller Board Relay and Discrete Outputs::
* Avenger Control Electronics System Perform RAM Checksum::
* Avenger Control Electronics System Background Monitor Voltages::
* Avenger Control Electronics System Background Handle Fatal Error::
@end menu
@end ifinfo


@ifinfo
@node Perform ROM Checksum, Avenger Control Electronics System Boot Test AFCC Boards, Boot BIT, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Perform ROM Checksum

During initialization of the AFCC, the AFCC shall checksum the code image
stored in ROM to insure that it is correct.  If the checksum does not
match the code image, the system shall halt.

@ifinfo
@node Boot Test AFCC Boards, Avenger Control Electronics System Boot Test CPU Board, Perform ROM Checksum, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Test AFCC Boards

During initialization of the AFCC, all boards shall be tested to determine
their functional state.  If all tests performed on a board pass, the board
shall have a functional state of passed.  If any test performed on a board
fails, the board shall have a functional state of failed.

@ifinfo
@node Boot Test CPU Board, Avenger Control Electronics System Boot Test AFCC Controller Board DAC's, Boot Test AFCC Boards, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Test CPU Board

During initialization of the AFCC, the AFCC shall test the following CPU
board components by invoking all non-destructive card-level diagnostic
tests provided by the CPU board vendor.  If any CPU board component fails
diagnostic testing, a fatal error shall occur.

@ifinfo
@node Boot Test AFCC Controller Board DAC's, Avenger Control Electronics System Boot Test Interface Board Discrete Inputs, Boot Test CPU Board, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Test AFCC Controller Board DAC's

During initialization of the AFCC, the AFCC shall utilize the DAC test
capability of the AFCC Controller board to verify that the DAC components
of the AFCC Controller board are set to their initial values.  If any DAC
component is not properly set, a fatal error shall occur.

@ifinfo
@node Boot Test Interface Board Discrete Inputs, Avenger Control Electronics System Boot Test AFCC Controller Board Relay and Discrete Outputs, Boot Test AFCC Controller Board DAC's, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Test Interface Board Discrete Inputs

During initialization of the AFCC, the AFCC shall utilize the discrete
input loopback capability of the AFCC Interface board to test that the
discrete input components of the AFCC Interface board are working
properly.  If any discrete input component does not function properly, a
fatal error shall occur.

@ifinfo
@node Boot Test AFCC Controller Board Relay and Discrete Outputs, Avenger Control Electronics System Boot Check Voltages, Boot Test Interface Board Discrete Inputs, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Test AFCC Controller Board Relay and Discrete Outputs

During initialization of the AFCC, the AFCC shall utilize the relay and
discrete output test capability of the AFCC Controller board to verify
that the relay and discrete output components of the AFCC Controller board
are set to their initial values.  If any relay or discrete output
component is not properly set, a fatal error shall occur.

@ifinfo
@node Boot Check Voltages, Avenger Control Electronics System Boot Handle Fatal Error, Boot Test AFCC Controller Board Relay and Discrete Outputs, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Check Voltages

During initialization of the AFCC, the +5 volt, +15 volt, -15 volt, and
+28 volt power supplies shall be checked to insure that they are within
tolerance.  If any of the power supplies are out of tolerance, a fatal
error shall occur.

@ifinfo
@node Boot Handle Fatal Error, Avenger Control Electronics System Background BIT, Boot Check Voltages, Avenger Control Electronics System Background BIT
@end ifinfo
@subsubsection Boot Handle Fatal Error

If a fatal error occurs during initialization, the AFCC shall attempt to
output a diagnostic message to the CDT and halt initialization.

@ifinfo
@node Background BIT, Avenger Control Electronics System Perform Background BIT, Boot Handle Fatal Error, DOCS UP
@end ifinfo
@subsection Background BIT
@ifinfo
@menu
* Avenger Control Electronics System Perform Background BIT::
* Avenger Control Electronics System Background Process CPU and Software Exceptions::
* Avenger Control Electronics System Background Test AFCC Controller Board DAC's::
* Avenger Control Electronics System Background Test AFCC Controller Board Relay and Discrete Outputs::
* Avenger Control Electronics System Perform RAM Checksum::
* Avenger Control Electronics System Background Monitor Voltages::
* Avenger Control Electronics System Background Handle Fatal Error::
@end menu
@end ifinfo


@ifinfo
@node Perform Background BIT, Avenger Control Electronics System Background Process CPU and Software Exceptions, Background BIT, DOCS UP
@end ifinfo
@subsubsection Perform Background BIT

During normal operation of the AFCC, the AFCC shall perform background BIT
of various system components.  Background BIT shall be performed during
system idle time.

@ifinfo
@node Background Process CPU and Software Exceptions, Avenger Control Electronics System Background Test AFCC Controller Board DAC's, Perform Background BIT, DOCS UP
@end ifinfo
@subsubsection Background Process CPU and Software Exceptions

During normal operation of the AFCC, the AFCC shall recognize all CPU and
software exceptions.  If any exception occurs, a fatal error shall occur.

@ifinfo
@node Background Test AFCC Controller Board DAC's, Avenger Control Electronics System Background Test AFCC Controller Board Relay and Discrete Outputs, Background Process CPU and Software Exceptions, DOCS UP
@end ifinfo
@subsubsection Background Test AFCC Controller Board DAC's

During background BIT, the AFCC shall utilize the DAC test capability of
the AFCC Controller board to verify that the DAC components of the AFCC
Controller board are set to their last written values.  If any DAC
component is not properly set, a fatal error shall occur.

@ifinfo
@node Background Test AFCC Controller Board Relay and Discrete Outputs, Avenger Control Electronics System Perform RAM Checksum, Background Test AFCC Controller Board DAC's, DOCS UP
@end ifinfo
@subsubsection Background Test AFCC Controller Board Relay and Discrete Outputs

During background BIT, the AFCC shall utilize the relay and discrete
output test capability of the AFCC Controller board to verify that the
relay and discrete output components of the AFCC Controller board are set
to their last written values.  If any relay or discrete output component
is not properly set, a fatal error shall occur.

@ifinfo
@node Perform RAM Checksum, Avenger Control Electronics System Background Monitor Voltages, Background Test AFCC Controller Board Relay and Discrete Outputs, DOCS UP
@end ifinfo
@subsubsection Perform RAM Checksum

During background BIT, the AFCC shall checksum the code image to insure
that it is correct.  If the checksum does not match the code image, a
fatal error shall occur.

@ifinfo
@node Background Monitor Voltages, Avenger Control Electronics System Background Handle Fatal Error, Perform RAM Checksum, DOCS UP
@end ifinfo
@subsubsection Background Monitor Voltages

During background BIT, the AFCC shall monitor the +5 volt, +15 volt, -15
volt, and +28 volt power supplies to insure that they are within
tolerance.  If any of the power supplies are out of tolerance, a fatal
error shall occur.

@ifinfo
@node Background Handle Fatal Error, DOCS NEXT, Background Monitor Voltages, DOCS UP
@end ifinfo
@subsubsection Background Handle Fatal Error

When the AFCC detects a fatal error, the following shall be attempted:

@enumerate a

@item light the fault light on the gunner console,

@item stop the execution of all tasks,

@item reset all hardware outputs to a safe state,

@item store a failure code or message in the EEPROM,

@item output a diagnostic message to the CDT and Console port,

@item halt the system.

@end enumerate