Yahoo Groups archive

Lpc2000

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

Thread

Missing UART transmit and receive interrupts

Missing UART transmit and receive interrupts

2006-03-02 by phulepriya

hello all,

I am using LPC2292, GCC Compiler.

I am writing code which should handle nested interrupts.
Watchdog is enable and default handler is also written properly (all 
interrupts are handled over here).

My problem is:
After 3-4 hours sucessfull transmission and reception of frames,UART 
transmit interrupt is missed and unit gets hanged. 
I think it is the problem related to nested interrupt handling or 
some thing is missing in default handler.

I used the following interrupts:
External Interrupt
Timer 0 and 1
UART 0 
Watchdog

Please tell what must be the problem,which is occuring after 3-4 hr. 
sucessful operation??

Thanks,

Priya

Re: Missing UART transmit and receive interrupts

2006-03-02 by Guillermo Prandi

Perhaps interrupts are nesting more than you expected. You may want 
to add a stack check, or increase the stack size.

Guille

--- In lpc2000@yahoogroups.com, "phulepriya" <phulepriya@...> wrote:
>
> hello all,
> 
> I am using LPC2292, GCC Compiler.
> 
> I am writing code which should handle nested interrupts.
> Watchdog is enable and default handler is also written properly 
(all 
> interrupts are handled over here).
> 
> My problem is:
> After 3-4 hours sucessfull transmission and reception of 
frames,UART 
> transmit interrupt is missed and unit gets hanged. 
> I think it is the problem related to nested interrupt handling or 
> some thing is missing in default handler.
> 
> I used the following interrupts:
> External Interrupt
> Timer 0 and 1
> UART 0 
> Watchdog
> 
> Please tell what must be the problem,which is occuring after 3-4 
hr. 
Show quoted textHide quoted text
> sucessful operation??
> 
> Thanks,
> 
> Priya
>

Re: [lpc2000] Missing UART transmit and receive interrupts

2006-03-02 by Marcio Zaquela

I don\ufffdt know about LPC2292, but there is an errata for LPC2138 UART1 
concerning missing data.

----- Original Message ----- 
Show quoted textHide quoted text
From: "phulepriya" <phulepriya@...>
To: <lpc2000@yahoogroups.com>
Sent: Thursday, March 02, 2006 6:56 AM
Subject: [lpc2000] Missing UART transmit and receive interrupts


> hello all,
>
> I am using LPC2292, GCC Compiler.
>
> I am writing code which should handle nested interrupts.
> Watchdog is enable and default handler is also written properly (all
> interrupts are handled over here).
>
> My problem is:
> After 3-4 hours sucessfull transmission and reception of frames,UART
> transmit interrupt is missed and unit gets hanged.
> I think it is the problem related to nested interrupt handling or
> some thing is missing in default handler.
>
> I used the following interrupts:
> External Interrupt
> Timer 0 and 1
> UART 0
> Watchdog
>
> Please tell what must be the problem,which is occuring after 3-4 hr.
> sucessful operation??
>
> Thanks,
>
> Priya
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 01/03/2006 / Vers\ufffdo: 
> 4.4.00/4708
> Proteja o seu e-mail Terra: http://mail.terra.com.br/
>

Re: Missing UART transmit and receive interrupts

2006-03-02 by phulepriya

I have already checked the stack size and it seems to be sufficient.

any other suggestions??

Thanks.

Priya


--- In lpc2000@yahoogroups.com, "Guillermo Prandi" 
<yahoo.messenger@...> wrote:
>
> Perhaps interrupts are nesting more than you expected. You may 
want 
> to add a stack check, or increase the stack size.
> 
> Guille
> 
> --- In lpc2000@yahoogroups.com, "phulepriya" <phulepriya@> wrote:
> >
> > hello all,
> > 
> > I am using LPC2292, GCC Compiler.
> > 
> > I am writing code which should handle nested interrupts.
> > Watchdog is enable and default handler is also written properly 
> (all 
> > interrupts are handled over here).
> > 
> > My problem is:
> > After 3-4 hours sucessfull transmission and reception of 
> frames,UART 
> > transmit interrupt is missed and unit gets hanged. 
> > I think it is the problem related to nested interrupt handling 
or 
Show quoted textHide quoted text
> > some thing is missing in default handler.
> > 
> > I used the following interrupts:
> > External Interrupt
> > Timer 0 and 1
> > UART 0 
> > Watchdog
> > 
> > Please tell what must be the problem,which is occuring after 3-4 
> hr. 
> > sucessful operation??
> > 
> > Thanks,
> > 
> > Priya
> >
>

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.