Hi Bar,
Quote from Bar
Do you see why this could happen?
OS_ERR_INV_TASK indicates that the task was not created before, or else that the task's control block was overwritten by the application after it was created.
Hence, could you please double-check that the task was actually created before the event gets signaled? Also, if it was created before, could you check wether the member "Id" of the respective task's control block holds the value "0x0Fu" at all times after creating that task?
Quote from Bar
Is there a missing stack also for the event structure?
No. OS primitives such as events do not require a stack of their own.
Quote from Bar
Now I have time for this and I check your first suggestion with the event,
Is this really necessary?
While signalling a task event from a software timer can make sense in specific situations, we'd typcially advise to execute the desired functionality directly inside the software timer's callback function if that's possible. Otherwise, a task can be made periodic by calling OS_TASK_DelayUntil() - then, no software timer is required at all.
As mentioned previously, if you were to give some more details on the job you're trying to perform periodically, we should be able to suggest the most appropriate approach to doing that with embOS.
Best regards,
Martin
PS, after having just seen your additional post:
Quote from Bar
I'm glad to hear that! Still, you might want to re-consider whether signlling a task from the software timer really is necessary, or if OS_TASK_DelayUntil() would do the trick already.
Quote from Bar
If we talk, what about the error on the plug in?
We'll notify you once an updated version of the plug-in becomes available.
Please let me know if I can be of any further help.
Best regards,
Martin