nasa / nasa/sample_app

Release Table Address Prior to cFE call to CFE_TBL_Manage

Open
#255 0 comments 0 reactions 1 assignee View on GitHub

@jphickey is already working on this.

Since Jul 7, 2026.

  • #256 by @DHerceg-NASA — closed without merging
Dominant language
C
Stars
67
Forks
60
PR merge metrics
No merged PRs in 30d

Description

Is your feature request related to a problem? Please describe.
I believe a CFE_TBL_ReleaseAddress should be issued before CFE_TBL_Manage from the function SAMPLE_APP_SendHkCmd of sample_app_cmd.c as it clears associated an associated lock flag.

Describe the solution you'd like
From sample_app_cmd.c, SAMPLE_APP_SendHkCmd:

...
    /*
    ** Manage any pending table loads, validations, etc.
    */
    for (i = 0; i < SAMPLE_APP_PLATFORM_NUMBER_OF_TABLES; i++)
    {
        CFE_TBL_ReleaseAddress(SAMPLE_APP_Data.TblHandles[i]);
        CFE_TBL_Manage(SAMPLE_APP_Data.TblHandles[i]);
    }

    return CFE_SUCCESS;

Describe alternatives you've considered
N/A

Additional context

  • cfe_tbl_api.c - CFE_TBL_ReleaseAddress()
  • cfe_tbl_api.c - CFE_TBL_Manage()
  • sample_app_cmds.c - SAMPLE_APP_SendHkCmd()

Requester Info
David Herceg - david.t.herceg@nasa.gov

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.