Hello all,
I use embOS v4.02a, in OS_DEBUG mode, and my application stops line 9 :
C
#if OS_SCHEDULER_ACTIVATED_BY_EXCEPTION
OS_Global.Counters.Cnt.Region = 1u;
#elif OS_DEBUG
if (OS_Global.Counters.Cnt.Region == 0u) {
OS_Error(OS_ERR_INTERNAL);
}
Display More
In documentation it is written that this error appears when : OS_ChangeTask() called without Region Counter set (or other internal error).
In which cases the region counter could be equal to zero, since before OS_ChangeTask() is called, the counter is either incremented, either set to 1.
What could be the "other internal error" ?
Thanks in advance,
Audrey