Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] which boot.s correct for lpc2129

2004-11-05 by Robert Adsett

At 11:10 AM 11/5/04 +0000, you wrote:
>Thanks for you dedication in my problem!!!

You're welcome.


>What wanted saying is that the program doesn't work well!!
>
>What seems happen is the program to do for some time reset, i.e.,
>sometimes makes following configuration as capture the ports including
>enter in the interruption routine without existing and later it ends
>for blocking.

Sometimes you get the interrupt and sometimes you don't, correct?

This leads me back to interrupt entry and exit.  If those were incorrect 
then you might get this.  Have you checked the assembly output of your 
interrupt function?

Another possibility to look at is there is a known bug that will cause you 
to miss timer capture/compare interrupts if they occur while the status 
register is being updated.

One more note you have the following line in your interrupt code,

VICSoftIntClr = (1 << VIC_TIMER);

I don't believe this is actually causing problems, but it is also not doing 
anything worthwhile.



>Remember that writing in the uart is not interruption, is only for
>debug...

Thanks, I did manage to figure that out.


>Today I will try to see more some examples, but the code that I tried
>was obtained of examples. Concretely in:
>
>http://hubbard.engr.scu.edu/embedded/arm/armlib/docs/html/index.html
>
>I hope has been clear because my English is not very good.

I've seen a lot worse, I'm not having much trouble.  Keep practising and 
soon no one will be able to tell.

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

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.