Yahoo Groups archive

Lpc2000

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

Message

Interrupts run but main program halts

2005-08-03 by sengoontoh

I've a program running interrupts on both UART0 and UART1 as well as a
Match timer interrupt. All interrupts are routed through the VIC with
Timer0 having slot 0, uart0 and uart1 having slot 1 and 2
respectively. When my application starts getting busy with lots of
activity on uart 1 and uart 0, it hangs. The interrupts continue to
work flawlessly. You can even trace through them in IAR. However every
single time I break, I'm in an interrupt handler. Occasionally I'm in
the low level program startup code. Does anyone have any idea what
would cause this behavior.

Also I had a question about resetting the Vic. I'm doing
VicVectorAddres s = 0. I've seen people setting it to 0xff. Which one
is correct?

Thanks!

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.