Tagged: table run 0xCC000020
June 5, 2017 at 4:35 pm #1661
While attempting to set up the cFS (initially on a Raspberry Pi, but I have since replicated this on a normal x86 linux machine), I’ve run into trouble getting tables to work. While building the cFS works fine after changing the architecture in a couple makefiles, I run into the same error as khldragon in this thread: https://coreflightsystem.org/forums/topic/cubesatsraspberry-pi/#post-1654.
CFE_TBL:Load-App(13) Fail to load Tbl ‘HK_APP.CopyTable’ from ‘/cf/apps/hk_cpy_tbl.tbl’ (Stat=0xCC000020)
For every table I attempt to load in, I receive the
0xCC000020error, which indicates that “The calling Application tried to load a table using a file whose header indicated that it was for a different table.”
I have made no configuration changes, and am following the instructions in the cFS Deployment Guide for integrating the applications and building the system.
- download the cFE, OSAL, and any cFS application requiring tables (e.g. HK) from sourceforge
- place the application in the top-level “
apps” directory (renaming to its abbreviation –
hk) and the OSAL in the
- add the application name to
- add the application to
CFE_APP, /cf/apps/sch_lab.so, SCH_Lab_AppMain, SCH_LAB_APP, 80, 8192, 0x0, 0;)
- go to
sudo ./core-linux.bin PO 1
This may very well be something silly like a mission name mismatch, but I’m unfamiliar with the software and would appreciate some guidance.
June 12, 2017 at 7:22 pm #1665
- This topic was modified 2 years, 1 month ago by AstroCat.
This was a rookie mistake on my part. When adding a mission app to the startup script (HK, in this example), I set its CFE Name (column 4) to
HK_APP. This seemed logical at first, because the (SAMPLE/CI_LAB/TO_LAB/SCH_LAB) apps are loaded as
_APP. However, the code generating the table was creating the header for an app with a CFE name of just
HK. After removing the
_APPin column 4, the tables loaded just fine.
Hopefully this helps khldragon and anybody else getting started with the software. If any cFS developers read this, I would recommend mentioning the difference somewhere in documentation since it seems like an easy (and potentially common) mistake to make.November 13, 2017 at 3:02 pm #1702
Hi AstroCat! This is an excellent question and answer.
We are looking into reorganizing this site a bit which will include trying to funnel questions like this into the Q/A section (https://coreflightsystem.org/questions/). We hope that this will make it easier for new users to find previously answered questions and also give veterans a single place to go to help out. It also lets folks easily see what questions are in need of answers (thanks for answering your own question!).
Would you mind adding this questing and answer to the Q/A section? Don’t worry if you are too busy, I can just add it myself. But I would prefer you to add it so that your user account is associated with it instead of mine.
You must be logged in to reply to this topic.