Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Spurious interrupts - my final contribution

2006-03-24 by rtstofer

--- In lpc2000@yahoogroups.com, "Karim Virani" <karim@...> wrote:
>
> Given the assertion that Brendon's solution/approach/workaround
meets my needs - Are there any LPC RTOSes out there that already
handle this problem similarly or are amenable to this solution given
that device drivers are crafted accordingly?  I'm thinking about
FreeRTOS specifically, but I'd like to know if this has been
considered a significant reliability factor for LPC RTOSes - from the
perspective of the practical (as opposed to academic) community.
> 
> Thanks,
> 
> Karim

Why should there be an issue with ANY of the RTOSes?  You need to have
a default VIC interrupt handler, you need to point the default entry
of the VIC to the default handler and the default handler needs to do
exactly nothing except tell the VIC the interrupt has been handled and
return.

The RTOS doesn't even need to know the interrupt happened.  Any real
vectored interrupt will be handled via the RTOS (presumably) but it
doesn't need to know about the transient interrupt because it won't
cause a context change.

Personally, I might keep a counter just for reference but I'm not sure
how I would get at the value.  It would be application specific.

Richard

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.