FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [September 2011 Threads] taskYIELD not workingPosted by Paul Coleman on September 21, 2011 I've got an ISR which may unblock another task, so I added a call to taskYIELD() as the very last thing in my ISR which gets called if a higher priority task has been woken. However, when I run my program it crashes on the call to taskYIELD(). I'm not completely sure why this is even needed as the RTOS should be able to cope with a context switch to a higher task anyway shouldn't it? Thanks, aul.
RE: taskYIELD not workingPosted by Richard on September 21, 2011 I have no means of assisting you as you have not provided enough information. On some ports what you are doing will work, on others it won't and a special call is needed. Please read the documentation page for the port you are using, and look at the examples provided for your port - both of which will demonstrate how to do what you are wanting to do.
If you need further assistance here, then please read: http://www.freertos.org/FAQ-how-to-use-the-FreeRTOS-support-forum.html first.
Regards.
RE: taskYIELD not workingPosted by Paul Coleman on September 21, 2011 Okay, thanks. I've found the relevant info for the AVR32 and I've included the necessary entry and exit functions for my ISR. I've declared the ISR using the naked attribute but I'm not sure whether to also use the interrupt attribute as well. Any ideas? Thanks, Paul.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|