You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The functions CFE_ES_ResetCFE and CFE_ES_ProcessCoreException are not ISR safe. They must be called from the context of a running task.
In GSFC's MMS FSW, sometimes and exception can occur from an ISR. When this happens, the CFE_ES_ProcessCoreException code will not work, since it has multiple calls to take a semaphore.
Similarly, the CFE_ES_ResetCFE cannot be called from an ISR to reset the system, as it will hang.
This needs to be addressed with a long term solution or strategy for current and future platforms.
For MMS, it may be fixed by simply handling the exception completely within the PSP.
For future releases of the cFE we need to look at possibly re-writing the CFE_ES_ProcessCoreException and CFE_ES_ResetCFE functions to be ISR safe.
The text was updated successfully, but these errors were encountered:
The functions CFE_ES_ResetCFE and CFE_ES_ProcessCoreException are not ISR safe. They must be called from the context of a running task.
In GSFC's MMS FSW, sometimes and exception can occur from an ISR. When this happens, the CFE_ES_ProcessCoreException code will not work, since it has multiple calls to take a semaphore.
Similarly, the CFE_ES_ResetCFE cannot be called from an ISR to reset the system, as it will hang.
This needs to be addressed with a long term solution or strategy for current and future platforms.
For MMS, it may be fixed by simply handling the exception completely within the PSP.
For future releases of the cFE we need to look at possibly re-writing the CFE_ES_ProcessCoreException and CFE_ES_ResetCFE functions to be ISR safe.
The text was updated successfully, but these errors were encountered: