Skip to content

cFE cES1515.1 Requirement Failure #199

@skliper

Description

@skliper

Requirements cES1515 and cES1515.1 state:

"cES1515 Upon a Processor Reset, the cFE shall create all operating system objects required by the
cFE."

"cES1515.1 If the creation of the operating system object fails, the cFE shall perform a power on
reset."

To satisify this requirement, the CFE_ES_CreateObjects function makes a call to the CFE_PSP_Panic function in the case where the return from OS_TaskCreate != OS_SUCCESS. The CFE_PSP_Panic function however, does not perform a power on reset. It performs an exit(-1). To correctly satisfy this requirement, ES needs to make a call to CFE_PSP_Restart with an input argument of CFE_PSP_RST_TYPE_POWERON to specify a power on reset. This may not be the best solution. It is recommended to reconsider this requirement. It may be the best/required course of action to perform a power on reset following a processor reset if the creation of one of the cFE core application objects fails. This may not be the best/required course of action if the creation of one of the applications listed in the ES startup script fails.

It should be noted that this requirement has not been properly handled in past releases of the cFE. The call to the CFE_PSP_Panic function to satisfy this requirement has been in place since the initial release of the cFE. It was recently found that the test to verify this requirement was faulty producing a false positive.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions