Open yuanshuaipeng-sakura opened 11 months ago
I have now run into the same problem; when a CPU is configured as a CFE Time client but isn't getting major frame interrupts, the scheduler stops running because of this issue (the timer isn't reset). The system basically halts. @yuanshuaipeng-sakura, did you find any sort of resolution?
In SCH APP, the function SCH_MinorFrameCallback uses OS_TimerSet, but OS_TimerSet specifies that it cannot be used in the callback function of timer, and SCH_MinorFrameCallback is the callback function of timer. What is the purpose of this design? I tried to run this scenario, and calling OS_TimerSet from SCH_MinorFrameCallback failed, returning -35.