Yahoo Groups archive

Lpc2000

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

Message

U1 IRQ works too well (sometimes)

2006-01-10 by nonuckingfumber

I have a strange problem.

I am using a vectored IRQ on UART1. Sometimes I boot the application
and it works fine. Other times I boot it and it locks up on the IRQ
vector handler, that is it keeps re-entering the IRQ handler and never
process the 'main loop'.

On Entry to the IRQ handler, VICIRQStatus=0x80, indicating Uart1, but
the U1LSR register is 0 (most of the time, regular int's also occur).
I am writing 0 to the VICVectAddr at the end of the routine, and like
I said, sometimes it works fine.

Is there some condition where it is possible to have a U1 interuppt
when U1LSR=0?

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.