# Presentation: 814141

## Section 9

_***Section 9***_
***Flight Software***

*** ******. . . Ray Whitley***
*EO-1 Flight Software Systems *

## FSW Overview (Requirements)

***FSW Overview (Requirements)***

***Mission Requirements***
***2 kbs r/t command up-link stream in  CCSDS***
***2, 32, 1000, or 2000 kbs telemetry in CCSDS AOS***
***Attitude Determination & Control  with Independent Safehold***
***24 hr autonomous operations***
***Spacecraft subsystem safing***
***Science data record & playback***
***Patch and/or  partially re-program all processors on-orbit***

## FSW Overview (Block Diagram)

## FSW Overview (Processors)

***FSW Overview (Processors)***

***ACS/C&DH/EFF Mongoose V***
***ACE RSN***
***Comm RSN***
***HK RSN***
***PSE RSN***
***WARP RSN***
***X-Band RSN***
***WARP Mongoose V***

## ACS / C&DH / EFF Mongoose V (1 of 2)

***ACS / C&DH / EFF Mongoose V ****(1 of 2)*

***Function***
***Attitude determination & control modes***
***Real-time & stored command distribution to all subsystems***
***Telemetry acquisition and frame generation***
***Time maintenance & distribution***
***SSR record and playback (S/C & instrument housekeeping data)***
***Enhanced Formation Flying Package***
***Processor/software/ s-c subsystem health & safety monitoring***
***SLOC/Language***
***ACS: 6209 lines of ANSI C code; C&DH: 8550 lines of ANSI C; EFF: 8203 lines of C++, 2183 lines of C***
***Heritage/% New Code***
***ACS derived from TRMM Mission, 60% new code***
***C&DH derived from XTE/TRMM/MAP Missions, 30% new code***
***EFF derived from previously developed ground software package, 100% new for flight***

## ACS / C&DH / EFF Mongoose V (2 of 2)

***ACS / C&DH / EFF Mongoose V ****(2 of 2)*

***Verification & Testing***
***All three components have been fully tested in both FSW lab and spacecraft environments many times over the past year***
***Independent/Peer Walkthroughs***
***ACS, C&DH, and EFF peer-level design reviews and code walk-throughs occurred relatively early in the development process***
***Independent Reviews***
***All three components were analyzed by code 300 personnel prior to the first Red Team review with very positive results***
***Code walk-through minutes were distributed to Red Team membership in response to  RFA #28****** ***
***T/V II Results***
***Nominal performance: No new problem reports (PRs) have been generated as a result of T/V II and recent mission simulations***
***Status***
***All PRs open at last Red Team review were closed without further need for software modifications prior to T/V II***
***Ready for flight, there are no outstanding issues***

## ACE RSN (1 of 2)

***ACE RSN ****(1 of 2)*

***Function***
***Sensor data acquisition***
***Actuator commanding***
***Independent safehold***
***SLOC/Language***
***1829 lines of ANSI C code***
***Heritage/% New Code***
***No previous heritage, 100% new for EO-1***
***Verification & Testing***
***ACE code has been thoroughly tested at the S/C numerous times***
***Independent/Peer Walkthroughs***
***Design and code walkthroughs were conducted by peers of FSW and S/C subsystem personnel early in the development life-cycle***

## ACE RSN (2 of 2)

***ACE RSN ****(2 of 2)*

***Independent Reviews***
***ACE code was delivered to Code 300 personnel for evaluation prior to the first Red Team Review***
***Recent S/C CCB Actions***
***2 of 3 Project CCB actions approved  (June 1, 2000) and implemented prior to T/V II***
*checksum verification of extended RAM**	**	**approved*
*comment out IRU checksum error message**	**	**approved*
*correct PPT control & RSN status GSE skin connector**	**rejected*
***T/V II Results***
***Nominal performance: no new PRs have been assigned to the ACE software as a result of T/V II and recent Mission Simulations***
***Current Status***
***The ACE software is ready for launch***

## Comm RSN (1 of 2)

***Comm RSN ****(1 of 2)*

***Function***
***Command reception & partial de-blocking (CCSDS encoding layer)***
***Telemetry transmission (CCSDS AOS transfer frame layer) ***
***Spacecraft-to-Ground time correlation data collection***
***SLOC/Language***
***412 lines of ANSI C code***
***Heritage/% New Code***
***No heritage, code is 100% new for EO-1, but also used on MAP***
***Verification & Testing***
***Fully tested in both FSW lab and spacecraft environments many times over the past 2 years***
***Independent/Peer Walkthroughs***
***Peer-level design reviews and code walk-through occurred relatively early in the development process in conjunction with MAP***

## Comm RSN (2 of 2)

***Comm RSN ****(2 of 2)*

***Independent Reviews***
***Code analyzed by code 300 personnel prior to the first Red Team review with very positive results***
***Code walk-through minutes were distributed to Red Team membership in response to  RFA #28***
***T/V II Results***
***Nominal performance: no new PRs have been assigned to the COMM software as a result of T/V II and recent Mission Simulations***
***Status***
***The COMM RSN software is ready for launch***

## HK RSN (1 of 2)

***HK RSN ****(1 of 2)*

***Function***
***GPS time/position data acquisition***
***Thermister data collection***
***High Output Paraffins (HOPS) deployment control & monitoring***
***Miscellaneous LVPC services***
***SLOC/Language***
***2038 lines of ANSI C code***
***Heritage/% New Code***
***None: the HK software is 100% new for EO-1***
***Verification & Testing***
***Full functionality and performance tested many times at the spacecraft over the past 10 months***
***Independent/Peer Walkthroughs***
***Design and code walk-through conducted in Oct’99 resulting in 33 RFAs that were incorporated and tested in Nov’99***

## HK RSN (2 of 2)

***HK RSN ****(2 of 2)*

***Independent Reviews***
***Code analyzed by code 300 personnel prior to the first Red Team review***
***Code walk-through minutes were distributed to Red Team membership in response to  RFA #28***
***T/V II Results***
***Nominal performance: no new PRs have been assigned to the HK software as a result of T/V II and recent Mission Simulations***
***Status***
***HK RSN software is ready for launch***

## PSE RSN (1 of 2)

***PSE RSN ****(1 of 2)*

***Function***
***Power subsystem housekeeping data acquisition & command distribution***
***Power subsystem monitoring & control***
***SLOC/Language***
***1405 lines of ANSI C code***
***Heritage/% New Code***
***No heritage: the PSE code is new for flight but has some commonality with MAP, 100% new***
***Verification & Testing***
***The PSE software has undergone numerous tests at the S/C over the past year, and the MAP PSE ETU has been used for special tests when needed***
***Independent/Peer Walkthroughs***
***Design and code walk-through occurred in Aug’99 resulting in 19 RFAs that were implemented in Sept’99***

## PSE RSN (2 of 2)

***PSE RSN ****(2 of 2)*

***Independent Reviews***
***Code analyzed by code 300 personnel prior to the first Red Team review***
***Code walk-through minutes were distributed to Red Team membership in response to  RFA #28***
***Recent S/C CCB Actions***
***1 of 3  Level II CCB actions approved  (June 6,’00) and implemented prior to T/V II***
*perform load shed at cold start-up to eliminate possible non-essential 1773 bus blabber (approved)*
*protect against erroneous PSE telemetry (rejected)*
*increase low voltage limit for PSE FDC and TSMs (rejected)*
***T/V II Results***
***Nominal performance: no new PRs have been assigned to the PSE software as a result of T/V II and recent Mission Simulations***
***Status***
***Ready for Launch***

## WARP RSN (1 of 2)

***WARP RSN ****(1 of 2)*

***Function***
***Command distribution for LVPS services***
***Housekeeping data acquisition & monitoring***
***SLOC/Language***
***1103 lines of ANSI C code***
***Heritage/% New Code***
***None, the WARP RSN code is 100% new***
***Verification & Testing***
***The WARP RSN software has been thoroughly tested at the spacecraft & during box-level functions***
***Independent/Peer Walkthroughs***
***Design & code walk-through was conducted with other RSN software engineers and key WARP engineers in late ‘98***

## WARP RSN (2 of 2)

***WARP RSN ****(2 of 2)*

***Independent Reviews***
***Code analyzed by code 300 personnel prior to the first Red Team review***
***Code walk-through minutes were distributed to Red Team membership in response to  RFA #28***
***T/V II Results***
***There were no PRs assigned to the WARP RSN as a result of T/V II and recent Mission Simulation test activities***
***Status***
***Ready for launch***

## X-Band RSN (1 of 2)

***X-Band RSN ****(1 of 2)*

***Function***
***Phased Array Antenna command distribution***
***Phased Array Antenna housekeeping data collection & monitoring***
***SLOC/Language***
***811 lines of ANSI C code***
***Heritage/% New Code***
***No previous heritage, code is 100% new for EO-1***
***Verification & Testing***
***The X-band RSN software has been tested on numerous occasions at the S/C without error***
***Independent/Peer Walkthroughs***
***Design & code walk-through conducted June 8-9, 2000 resulting in no recommended changes for EO-1. Several  clean-up & enhancements were recommended should the code be used on a future mission***

## X-Band RSN (2 of 2)

***X-Band RSN ****(2 of 2)*

***Independent Reviews***
***Code analyzed by code 300 personnel prior to the first Red Team review***
***T/V II Results***
***No PRs have been assigned to the X-band RSN software as result of T/V II or recent Mission Simulations***
***Status***
***The X-band software is ready for launch***

## WARP Mongoose V (1 of 2)

***WARP Mongoose V ****(1 of 2)*

***Function***
***Science data record (set-up and control)***
***Science data playback control for both X-band and S-band playbacks***
***SLOC/Language***
***7446 lines of ANSI C code***
***Heritage/% New Code***
***The WARP M V incorporates several C&DH software components; however, the application specific components are entirely new. 65% new for EO-1***
***Verification & Testing***
***An independent SSC team was contracted for acceptance testing between Oct’98 & March ‘99***
***Independent/Peer Walkthroughs***
***Design reviews conducted early in development life-cycle***
***Code walk-throughs were “waived” due to IV&V above and demonstrated flawless operation at box-level and S/C level testing***

## WARP Mongoose V (2 of 2) 

***WARP Mongoose V ****(2 of 2)**** ***

***Independent Reviews***
***Code analyzed by code 300 personnel prior to the first Red Team review***
***T/V II Results***
***No PRs have been assigned to the WARP software as result of T/VII or recent Mission Simulations***
***Status***
***Ready for launch***

## Software Releases to the Spacecraft

## Operational Hours as of 8/3/00 

***Operational Hours as of 8/3/00 ***

_***Processor***__***	***__***Prior Versions***__***	***__***Launch Version***_

***ACS/C&DH/EFF Mongoose V******	******1813******	******773***
***ACE RSN******	****** 1494******	******434*******	***
***Communications RSN******	******1813******	******941***
***Housekeeping RSN******	****** 1813******	******940******	***
***PSE RSN******	****** 2087******	******462*******	***
***WARP RSN******	****** N/A******	******845******	***
***X-Band RSN******	****** 419******	******251******	***
***WARP Mongoose V******	****** N/A******	******845***
**** ****- Project CCB approved changes since last Red Team Review****	***

## Margins

- R = Record
- X = X-Band Playback
- S = S-Band Playback

## Special Topic:

***Failure Detection & Correction***

*** ******. . . Tom Feild***
*EO-1 Systems Engineer, GSFC Code 568*

## Failure Detection & Correction Testing

***Failure Detection & Correction Testing***

***All TSMs, RTSs, and FDCs have been tested and verified***
***ACS FDCs are an exception: many can be tested only on the high fidelity simulator***
***Some instrument FDCs are another exception: some could be tested only prior to instrument delivery***
***TSMs/RTSs and FDCs are retested after every new software load.  Many are tested during the CPT***
***Full TSM test conducted after last M5 software load.***

## Status

***Status***

***No open issues exist with EO-1 Failure Detection and Correction system***
***All changes to the TSMs and RTSs have been verified***
***The EO-1 Failure Detection and Correction System will be ready for launch***
***Final testing effectively retired residual risk***

## Special Topic Follow-Up:

***Flight Software Sustaining Engineering***

*** ******. . . Ray Whitley***
*EO-1 Flight Software Systems *

## FSW Sustaining Engineering: FSW Facility

## Flight Software Sustaining Engineering

***Flight Software Sustaining Engineering***

***Facility Status***
***FSW Testbed re-located from Swales to GSFC Building 14 and re-certified***
***ACE ETU delivered to GSFC and currently being integrated into the lab***
***WARP Testbed relocated from Building 23 to Building 14, but not integrated***
*discovered damaged processor breadboard component prior to move that has been scheduled for repair*