NASA Logo

NTRS

NTRS - NASA Technical Reports Server

Back to Results
Using the cFS Command and Data Dictionary (CCDD) to Automate Software Development on HabulousFinal paper is attached. The NASA developed Core Flight System (cFS) is a reusable software architecture that has been used on multiple spaceflight missions. By using this framework, missions are able to reuse code from other missions, as well as leverage deployment onto similar computer architectures (i.e. not "reinvent the wheel" on each new mission). The success in the cFS concept can be seen in the large number of projects using cFS at FSW-2018. The Habulous project is an Earth-based testbed, used for hardware and software that may one day be used on a future space habitat unit, with many participating groups from various NASA centers and aerospace organizations around the country. The distributed nature of the various teams mean that defining (and following) an interface definition is critical on the project. Additionally, since various groups use various types of computer hardware (32/64-bit, big/little endian, Linux/VxWorks/Windows) many additional complications exist in interfacing all the various components into a final integrated system. cFS is used on the majority the flight software (FSW) in running in Habulous. But some subsystems have elected to not use cFS, and use a software bridge (called SBN_lib) to interact with the other cFS nodes in Habulous. In order to most efficiently develop the FSW, a central database is used to define and store each message sent by cFS. A Command and Data Dictionary (CDD) is something nearly universal on spacecraft, but as a team we worked to develop the CDD before the SW development was complete, and not treat it like "as built" documentation. To manage the CDD, the cFS Command and Data Dictionary (CCDD) tool was chosen (available from NASA as open source software). The CCDD tool has successfully been used to automate/autocode a large amount of software used on Habulous, as we are hoping to use it to define even more items in the future (time-triggered Ethernet (TTE) network maps, CPU scheduling). Additionally, Habulous has been exploring the use of cFS on wildly heterogeneous CPUs, and how to coordinate all those various machines using/extending the software bus – network (SBN) application in cFS, as well as TTE to coordinate message passing between various synchronized machines. The major topics to be covered in the presentation are: (1) Updating to the CCSDS_v2 extended headers (and using CPU# as subsystem ID). (2) Managing all the message identification numbers for each cFS message sent/received on any of the various CPUs. (3) Using the CCDD information to automatically generate the C-header files that define the structure for all software bus (SB) commands/telemetry messages. (4) Using the CCDD to automatically generate XML Telemetry and Command Exchange (XTCE) files, which streams display production/integration/testing in a web based display architecture (5) Extending/customizing SBN to pass messages among computers on multiple networks. (6) Using "Protobetter" inside SBN to manage different endian-ness/architectures. (7) Using SBN_lib to allow non-cFS node to communicate with cFS nodes. (8) Developing TTE network and schedule tables for all the various CPUs to use.
Document ID
20190000012
Acquisition Source
Johnson Space Center
Document Type
Presentation
Authors
Hirsh, Robert L.
(NASA Johnson Space Center Houston, TX, United States)
McCluney, Russell K.
(NASA Johnson Space Center Houston, TX, United States)
Carrejo, Daniel B.
(NASA Johnson Space Center Houston, TX, United States)
Date Acquired
January 7, 2019
Publication Date
December 3, 2018
Subject Category
Space Communications, Spacecraft Communications, Command And Tracking
Computer Programming And Software
Report/Patent Number
JSC-E-DAA-TN63306
Meeting Information
Meeting: Annual Workshop on Spacecraft Flight Software
Location: San Antonio, TX
Country: United States
Start Date: December 3, 2018
End Date: December 6, 2018
Sponsors: Southwest Research Inst., Johns Hopkins Univ., Jet Propulsion Lab., California Inst. of Tech.
Distribution Limits
Public
Copyright
Public Use Permitted.
No Preview Available