Yahoo Groups archive

Lpc2000

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

Message

ARM-VIC-Crossworks

2006-04-18 by mgiaco82

I found this on the Page from Rowley.

>>I'm trying to use vectored interrupts on the LPC2000. I've 
programmed >>up the VIC but when the interrupt occurs the program 
jumps to >>the "irq_handler" label/function, not the ISR I have 
configured using >>the VIC.

>>How do I make the LPC2000 jump to my vectored ISR when the 
interrupt >>occurs? 

Answer:     
 
You need to have the instruction "ldr pc, [pc, #-0xFF0]" located at 
the IRQ exception vector for vectored interrupts to work.

To do this make sure you have the preprocessor definition 
VECTORED_IRQ_INTERRUPTS defined when you compile the 
Philips_LPC210X_Startup.s file.

This mean i have to define anything before i can use the vic?
Can anybody explain pleas.

thanks mathias

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.