The Core Flight System (cFS) is a reusable, open-source flight software framework developed at NASA’s Goddard Space Flight Center. It supplies the plumbing every spacecraft computer needs, such as messaging, timekeeping, commanding and telemetry, so mission teams can concentrate on the code that is unique to their spacecraft.
Goddard says cFS has been used on more than 40 missions, from small satellites to a commercial Moon lander. It is one of the common foundations on which onboard autonomy is built; see What is Space Autonomy?
๐งญ Why it matters
Writing flight software from scratch for every mission is slow, costly and risky. Much of it, such as moving packets between tasks or storing files, is the same from one spacecraft to the next.
- Reuse: cFS began in 2004 when Goddard engineers building two concurrent missions, the Solar Dynamics Observatory and the Lunar Reconnaissance Orbiter, chose to share one software base.
- Portability: applications written for cFS can move to different processors and operating systems with little change.
- Heritage: code already flown and tested lowers risk for new missions, including small teams without large software departments.
- A home for autonomy: planners, fault managers and onboard analytics can be added as cFS applications that talk to the rest of the spacecraft over a standard bus.
โ๏ธ How it works
cFS is layered, so that mission applications never talk directly to hardware or to a particular operating system. A 2016 paper by Goddard engineers describes the structure in detail.
- Platform Support Package (PSP): the board-specific layer that adapts cFS to a particular computer.
- Operating System Abstraction Layer (OSAL): a common interface to operating system services. Goddard lists support for Linux, RTEMS, VxWorks and QNX.
- Core Flight Executive (cFE): five core services. Executive Services start and manage applications; the Software Bus carries messages; Time Management provides spacecraft time; Event Services send timestamped alerts; and Table Services hold parameters that can be changed in flight.
- Publish and subscribe: applications publish messages to the Software Bus and subscribe to the ones they need, using CCSDS packet standards, so a new app can be added without rewiring the others.
- Applications: the open-source distribution includes apps such as Health and Safety, Limit Checker, Stored Command, Data Storage and CFDP file transfer, according to the NASA cFS repository.
In practice, an autonomy application such as an onboard planner can subscribe to housekeeping telemetry, reason about it and publish commands back onto the bus like any other app. Table Services then let operators retune its thresholds in flight without uploading new code.
The bundle is published under the Apache 2.0 licence. NASA first released a suite of 12 command and data handling applications as open source in March 2015.
๐ In the field
| Mission | Agency | Year | What cFS did |
|---|---|---|---|
| LADEE | NASA (Ames) | 2013 | Used cFS for its lunar orbiter flight software, launching on 6 September 2013. |
| GPM Core Observatory | NASA | 2014 | Ran its command and data handling on cFS from launch on 27 February 2014. |
| Lunar Gateway | NASA | 2021 | Selected cFS as the base for its flight software, including the Vehicle System Manager; Goddard and Johnson are working to certify it to Class A, NASA’s human-rated level. |
| Odysseus (IM-1) | Intuitive Machines | 2024 | Used NASA’s core flight software on the lander that made the first private Moon landing in February 2024. |
Use has spread beyond NASA. Goddard names JAXA, ESA, the Canadian Space Agency and the UAE Space Agency among users, and a 2025 NASA Spinoff article describes Aitech building cFS into its SP0 space computers. cFS was also named NASA’s Software of the Year in July 2020.
โ ๏ธ Challenges
- Learning curve: the layered design and build system take time to master, especially for small teams on short schedules.
- Certification is per mission: reusing cFS does not remove the need to verify each configuration; Gateway’s Class A effort shows how much work human rating adds.
- Version churn: applications built on older releases may need porting as the framework evolves.
- Security: open-source code is visible to everyone, which aids review but also means missions must harden their own deployments.
๐ Related topics
- Flight Software
- Time-Triggered Ethernet
- Failure Detection & Recovery
- Spacecraft Autonomy Levels
- What is Space Autonomy?
๐ฐ Latest coverage
๐ Sources
- NASA Goddard, “Celebrating Twenty Years of Core Flight Software”: etd.gsfc.nasa.gov
- NASA Goddard, “Core Flight System”: etd.gsfc.nasa.gov
- D. McComas, J. Wilmot and A. Cudmore (NASA GSFC), “The Core Flight System (cFS) Community: Providing Low Cost Solutions for Small Spacecraft” (2016): ntrs.nasa.gov
- NASA, “nasa/cFS” GitHub repository: github.com
- NASA, “NASA Goddard Releases Open Source Core Flight Software System Application Suite to Public”: nasa.gov
- NASA, “Goddard’s Core Flight Software Chosen for NASA’s Lunar Gateway”: nasa.gov
- NASA Spinoff, “Hardware to the Core”: spinoff.nasa.gov