Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] help for capture interrupt

2004-10-29 by Jenish

In addition to the the stack initialization you would want to check
the  Interrupt vector routine addresses  also.if it is stored with the
correct address of the UART interrupt routine.One thing which you
could try is to ,install  a dummy function implemented for all the
unused interrupt vectors .and have a UART report back function in that
routine.So any false interrupt goes to the dummy vector and prints a
report string.I once had a problem that UART interrupt was recognised
as interrupt ID 0 where as the IRQ ID generated should be IRQ ID 2.If
need help just tell.
bye
jens


On Thu, 28 Oct 2004 23:46:33 -0400, Robert Adsett
<subscriptions@...> wrote:
> At 01:41 AM 10/29/04 +0100, you wrote:
> 
> >Anybody can help in the following situation:
> >
> >in the main program I'm enable the capture interrupt and one cycle
> >while(1) where I can write for UART0 keyboard character.
> >
> >Initially I write character of keyboard and work whith interrupt at
> >same time working fine, but past one little time the program no go to
> >back at cycle while(1), remaining in interrupt and then finish for
> >crash!!!
> >
> >Now, the cycle while(1) run only while no happen one capture
> >interrupt. After it happen the capture interrupt run fine but no go to
> >back the cycle while(1) in function main().
> >
> >I think that is problem with the stack!!!
> 
> Let's start with this and ask the obvious question.  Does your startup set 
> up a stack for the interrupt exception?  And how large is it?
> 
> Robert
> 
> " 'Freedom' has no meaning of itself.  There are always restrictions,
> be they legal, genetic, or physical.  If you don't believe me, try to
> chew a radio signal. "
> 
>                          Kelvin Throop, III
> 
> 
> 
> 
> 
> Yahoo! Groups Sponsor
>  
> 
> Get unlimited calls to
> 
> U.S./Canada
> 
> ________________________________
> Yahoo! Groups Links
> 
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/lpc2000/
>   
> To unsubscribe from this group, send an email to:
> lpc2000-unsubscribe@yahoogroups.com
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

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.