Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Questions about OS_TimerSet #27

Open
yuanshuaipeng-sakura opened this issue Oct 24, 2023 · 1 comment
Open

Questions about OS_TimerSet #27

yuanshuaipeng-sakura opened this issue Oct 24, 2023 · 1 comment

Comments

@yuanshuaipeng-sakura
Copy link

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.

@yuanshuaipeng-sakura yuanshuaipeng-sakura changed the title Questions about SyncToMET Questions about OS_TimerSet Oct 24, 2023
@PeanutTheDog
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants