How to use CFDP? #828
Unanswered
GallopingTurtle
asked this question in
Q&A
Replies: 1 comment
-
|
Note the PDU's need to be wrapped in CCSDS space packets for ci_lab to ingest them. You could run cFS w/ CF on both the source and destination as free/open source way to transfer files. I can't endorse anything, but just as a reference https://github.com/OpenC3/openc3-cosmos-cfdp is another method I've seen used. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This may well be a noobie question, but documentation is sparse and I am struggling.
How do I setup the CF app with cFS?
My setup steps are:
CFas submodule toappsCFdir tocflist(APPEND MISSION_GLOBAL_APPLIST sample_app sample_lib cf)).scr(CFE_APP, cf, CF_AppMain, CF, 90, 16384, 0x0, 0;)CF_WAKE_UP_MIDtosch_lab's table ({CFE_SB_MSGID_WRAP_VALUE(CF_WAKE_UP_MID), 10, 0},)Now I am trying to send a file to cFS via CFDP using this python lib from this example (full script below)
Now I can see that three PDU's are being sent which upon inspection with a debugger appear compliant with the spec (at least the header according to Table 5-1 of ) and also contain the file contents. However, they are being dropped by CI with the message:
That status,
-939524094=0xC8 00 00 02=>CFE_STATUS_WRONG_MSG_LENGTH. Makes sense given other lines.I used a debugger to confirm that
CF_CFDP_CycleEngineis being called, and thatCF_AppData.engine.enabledis truthy.Is there a better (free and open source) way to send cfdp commands? Is there some setup I've missed?
Python script
Beta Was this translation helpful? Give feedback.
All reactions