Custom application for coreFlightSystem: "Could not load cFE application"

-3

When I run coreFlightSystem with my custom application, I get the following log message:

ES Startup: Loading file: /cf/apps/lls_app.so, APP: LLS_APP
ES Startup: loading directly:/cf/apps/lls_app.so (LLS_APP) -70028.
ES Startup: Could not load cFE application file:/cf/apps/lls_app.so. EC = 0xFFFFFFFF

I have checked, and lls_app.so is built and placed in the correct location (build/cpu1/exe/cf/apps/lls_app.so).

c
embedded
core-flight-system
asked on Stack Overflow Dec 19, 2018 by superdesk • edited Dec 19, 2018 by Clifford

1 Answer

-2

Failing to load an application may be caused by a number of issues. A few things to check:

  • Check that the application is be generated (the .so) and is in the correct directory
  • Review the startup script to make sure that the application name and entry location are correct
  • Check for warnings such as undefined references when building.

This specific case was caused by a typo in a function name called by the application's *_AppInit function. This resulted in an undefined reference warning when building.

answered on Stack Overflow Dec 19, 2018 by superdesk • edited Dec 21, 2018 by superdesk

User contributions licensed under CC BY-SA 3.0