Pumpkin, Inc.

Pumpkin User Forums

Problem with PICC 3.1.0-c

If you think you've found a bug or other mistake in your Salvo distribution, post it here.

Problem with PICC 3.1.0-c

Postby george » Sun Nov 10, 2002 11:06 am

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
george
 
Posts: 1
Joined: Sun Nov 10, 2002 12:00 am
Location: Russia

Re: Problem with PICC 3.1.0-c

Postby aek » Mon Nov 11, 2002 12:05 pm

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 ...

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

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: Problem with PICC 3.1.0-c

Postby aek » Tue Nov 26, 2002 1:54 am

This has now been fixed and will be part of the next release ...

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

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm


Return to Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron