Sign in

username:

password:



Not a member?

Search lpc2000



Search tips

Subscribe to lpc2000



lpc2000 by Keywords

2106 | ADC | ARM7 | Atmel | Bootloader | CAN | CrossStudio | CrossWorks | DDS | ECos | Ethernet | ETM | FIFO | FLASH | FPGA | GCC | GDB | GNU | GNUARM | GPIO | I2C | IAP | IAR | JTAG | Kickstart | LCD | Linux | LPC | LPC-E2294 | LPC2000 | LPC2100 | LPC2104 | Lpc2106 | Lpc210x | LPC2114 | LPC2119 | LPC2124 | LPC2129 | Lpc2138 | LPC213x | LPC21xx | LPC2210 | LPC2212 | LPC2214 | LPC2292 | LPC2294 | LPC2xxx | LPC3128 | MCB2100 | Olimex | Philips | PWM | Rowley | RTC | RTOS | SPI | SSP | UART | UART0 | UART1 | ULINK | USB | Watchdog | Wiggler

Ads

Discussion Groups

Discussion Groups | LPC2000 | not entering a interrupt service routine lpc2378

Discussion group dedicated to the Philips LPC2000 family of ARM MCUs

not entering a interrupt service routine lpc2378 - kd7vn - Apr 12 0:13:11 2008

I'm using an olimex lpc-p2378 dev board.

I'm trying to use the timer0 to generate an interrupt. I have
confirmed that the timer0 portion of my code is working. I set up a
few defines in gdb to print out the contents of the registers below.
You can see once the TC reaches 5 the timer0 interrupt flag in T0IR
gets set.
(gdb) t0ir
0xe0004000: 0x00000000
(gdb) t0tc
0xe0004008: 0x00000005
(gdb) t0tc
0xe0004008: 0x00000000
(gdb) t0ir
0xe0004000: 0x00000001

One thing I'm not sure of is, in gdb if I try to set a break at my
timer_isr_irq function it sets a break point at address 0x218.
Howerver if I look at the VICVectAddr0 register it has the value
0x214. Is this a problem?

I'm not sure about my linker script either. Could someone point me to
somethign that will explain that script?

My complete source can be downloaded at
www.myisland.as/lpc2378.tar.gz
(sorry I didn't make a separate dir first so it will unzip into a
bunch of files).

-Markus
------------------------------------



(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )