Page 1 of 1

Problem with PICC 3.1.0-c

PostPosted: Sun Nov 10, 2002 11:06 am
by george
Hello
I evaluate IAR EW 2.11A with Salvo Pro 3.1.0-c.
If OSENABLE_IDLING_HOOK=FALSE and scheduler do nothing, don't execute OSEndCriticalSection() in module sched.c.
tu6 with SYSP don't work correctly (in point OS_WaitMsg(...), TaskShow()). I suppose, there is a bug in IAR compiler...
Regards,
George

Re: Problem with PICC 3.1.0-c

PostPosted: Mon Nov 11, 2002 12:05 pm
by aek
Hi George.

You mean the OSEndCriticalSection() on line 515?

That looks like our mistake, actually ... OSSched() fails to re-enable interrupts after it dispatches a task AND the task was no longer eligible when it returned to the scheduler.

We'll post a fix for that later this week. For now, you can put an OSEndCriticalSection() after the last #endif in OSSched() (line 522) as long as you keep OSENABLE_IDLING_HOOK=FALSE.

Sorry about that ...

------------------


Re: Problem with PICC 3.1.0-c

PostPosted: Tue Nov 26, 2002 1:54 am
by aek
This has now been fixed and will be part of the next release ...

------------------