Hello,
I'm using the LPC2129 and I use the startup and lpc2106-rom.ld of
LPC2106 but I change size of memory in file lpc2106-rom.ld. can the
problem be here? in attachment go the files....
Note: the UART not use interrupt is only function that send the byte!!
Thanks!!
Domingos
Citando Jenish <jenish@...>:
>
> <html><body>
>
>
> <tt>
> In addition to the the stack initialization you would want to
check<BR>
> the� Interrupt vector routine addresses� also.if it is
stored
> with the<BR>
> correct address of the UART interrupt routine.One thing which
you<BR>
> could try is to ,install� a dummy function implemented for all
the<BR>
> unused interrupt vectors .and have a UART report back function in
that<BR>
> routine.So any false interrupt goes to the dummy vector and prints
a<BR>
> report string.I once had a problem that UART interrupt was
recognised<BR>
> as interrupt ID 0 where as the IRQ ID generated should be IRQ ID 2.
If<BR>
> need help just tell.<BR>
> bye<BR>
> jens<BR>
> <BR>
> <BR>
> On Thu, 28 Oct 2004 23:46:33 -0400, Robert Adsett<BR>
> <subscriptions@aeolusdevelopment.com> wrote:<BR>
> > At 01:41 AM 10/29/04 +0100, you wrote:<BR>
> > <BR>
> > >Anybody can help in the following situation:<BR>
> > ><BR>
> > >in the main program I'm enable the capture interrupt and
one
> cycle<BR>
> > >while(1) where I can write for UART0 keyboard character.
<BR>
> > ><BR>
> > >Initially I write character of keyboard and work whith
interrupt
> at<BR>
> > >same time working fine, but past one little time the
program no go
> to<BR>
> > >back at cycle while(1), remaining in interrupt and then
finish
> for<BR>
> > >crash!!!<BR>
> > ><BR>
> > >Now, the cycle while(1) run only while no happen one
capture<BR>
> > >interrupt. After it happen the capture interrupt run fine
but no
> go to<BR>
> > >back the cycle while(1) in function main().<BR>
> > ><BR>
> > >I think that is problem with the stack!!!<BR>
> > <BR>
> > Let's start with this and ask the obvious question.� Does
your
> startup set <BR>
> > up a stack for the interrupt exception?� And how large is
it?<BR>
> > <BR>
> > Robert<BR>
> > <BR>
> > " 'Freedom' has no meaning of itself.� There are
always
> restrictions,<BR>
> > be they legal, genetic, or physical.� If you don't believe
me,
> try to<BR>
> > chew a radio signal. "<BR>
> > <BR>
> >����������
�����������
����
> Kelvin Throop, III<BR>
> > <BR>
> > <BR>
> > <BR>
> > <BR>
> > <BR>
> > Yahoo! Groups Sponsor<BR>
> >� <BR>
> > <BR>
> > Get unlimited calls to<BR>
> > <BR>
> > U.S./Canada<BR>
> > <BR>
> > ________________________________<BR>
> > Yahoo! Groups Links<BR>
> > <BR>
> > To visit your group on the web, go to:<BR>
> > <a
> href="http://groups.yahoo.com/group/lpc2000/">http://groups.yahoo.
com/group/lpc2000/</a><BR>
> >�� <BR>
> > To unsubscribe from this group, send an email to:<BR>
> > lpc2000-unsubscribe@yahoogroups.com<BR>
> >�� <BR>
> > Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> Service.<BR>
> </tt>
>
>
> <br>
>
> <!-- |**|begin egp html banner|**| -->
>
> <table border=0 cellspacing=0 cellpadding=2>
> <tr bgcolor=#FFFFCC>
> <td align=center><font size="-1" color=#003399><b>Yahoo! Groups
> Sponsor</b></font></td>
> </tr>
> <tr bgcolor=#FFFFFF>
> <td align=center width=470><a
> href="http://us.ard.yahoo.com/SIG=129pe94rd/M=281955.5530326.
6602771.3001176/D=groups/S=1706554205:HM/EXP=1099116528/A=2343726/R=0/
SIG=12ivgjjpb/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/
01/&time=1099030128345965"
> target="_blank"> <img
> src="http://us.a1.yimg.com/us.yimg.com/a/vo/vonage/logo_25x25.gif"
> width="25" height="25" border="0"></a> <a
> href="http://us.ard.yahoo.com/SIG=129pe94rd/M=281955.5530326.
6602771.3001176/D=groups/S=1706554205:HM/EXP=1099116528/A=2343726/R=1/
SIG=12ivgjjpb/*http://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/
01/&time=1099030128345965"
> target="_blank"><p>Get unlimited calls to</p> <p>U.S./Canada</p> </
a> <img
> src="http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/
&time=1099030128345965"
> width=1 height=1 border=0></td>
> </tr>
> <tr><td><img alt="" width=1 height=1
> src="http://us.adserver.yahoo.com/l?M=281955.5530326.6602771.
3001176/D=groups/S=:HM/A=2343726/rand=296439502"></td></tr>
> </table>
>
> <!-- |**|end egp html banner|**| -->
>
>
>
> <!-- |**|begin egp html banner|**| -->
>
> <br>
> <tt><hr width="500">
> <b>Yahoo! Groups Links</b><br>
> <ul>
> <li>To visit your group on the web, go to:<br><a
> href="http://groups.yahoo.com/group/lpc2000/">http://groups.yahoo.
com/group/lpc2000/</a><br>�
> <li>To unsubscribe from this group, send an email to:<br><a
> href="mailto:lpc2000-unsubscribe@yahoogroups.com?
subject=Unsubscribe">lpc2000-unsubscribe@yahoogroups.com</a><br>�
> <li>Your use of Yahoo! Groups is subject to the <a
> href="http://docs.yahoo.com/info/terms/">Yahoo! Terms of Service</
a>.
> </ul>
> </tt>
> </br>
>
> <!-- |**|end egp html banner|**| -->
>
>
> </body></html>
>
>
>
>
_________________________________________________________
CEAC Cursos de forma��o profissional - pe�a informa��es aqui.:
http://ceac.online.pt/
[Non-text portions of this message have been removed]Message
Re: [lpc2000] help for capture interrupt
2004-10-29 by dasbento@aeiou.pt
Attachments
- No local attachments were found for this message.