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 2007 Threads] Interrupt NestingPosted by John W. on September 28, 2007 Hello Richard,
Will interrupt nesting be supported soon for all ports?
For the stack challenged like the 8051 it may not make much sense - but as a diagnostic tool it could be very helpful even on the 8051.
Thanks, John W.
RE: Interrupt NestingPosted by olibats on September 28, 2007 Hi,
As far as I know about it, Interrupt Nesting has to be supported by the processor. Which means, if a given processor does not support Interrupt Nesting, than it is not possible to add it to its Port.
If any other given processor supports it, you have to give the tick-timer-isr and the portYIELD (if realized as SWI) a priority number while installing them.
Regards, Olibats
RE: Interrupt NestingPosted by John W. on October 1, 2007 Richard,
It'd be great if we could get a comment from you on this.
Thanks, John
RE: Interrupt NestingPosted by Richard on October 2, 2007 My preference is not to nest interrupts because of the analysis complexity it incurs (how much stack do you need, for example?) and the additional overhead it requires on each interrupt. Thus I only implement it when absolutely required. The M3 port permits nested interrupts because it is easier to support them than not and the processor design is such that it does not generate an overhead.
The use of the configKERNEL_INTERRUPT_PRIORITY option will get rolled out to the other ports in time. This is not implement a complete nesting scheme as interrupts that use the FreeRTOS.org API run at the same priority - it just provides an easy way of implementing very high priority or time critical interrupts without the kernel interfering.
Full interrupt nesting is rarely actually required when using a kernel as per http://www.freertos.org/FAQISR.html#Nest (which I know you are familiar with already, I just link it here for other readers).
Regards.
RE: Interrupt NestingPosted by John W. on October 2, 2007 Richard,
Thanks for the response, John
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|