basterzysko
New Member
Hello,
I am newbie in programming ARM7. I have a Olimex LPC2378-STK board and I would like to test IRQ interrupt from Timer1, but it doesn't working.
Timer1 and blink led working without interrupt.
I put the whole code on **broken link removed**.
I have cleared I_BIT in CPSR, in crt.s I have Code:
ldr PC, [PC,#-0x120]
(LPC23xx why it's -0x120 not -0xFF0) and I have set VIC Registers.
I think that enableIRQ() and VIClowlevel.h and .c in my code can be deleted because I have set IRQ bit 0 in crt.s
My software:
openocd v1.0 svn: 1135
new yagarto & toolchain from yagarto.de
gcc: 4.3.2
eclipse: 3.4.1
Maybe anybody has any simple working code with interrupts on this board for Eclipse?
Could anybody look at my code? Plz help and sorry for my English.
Marcin
I am newbie in programming ARM7. I have a Olimex LPC2378-STK board and I would like to test IRQ interrupt from Timer1, but it doesn't working.
Timer1 and blink led working without interrupt.
I put the whole code on **broken link removed**.
I have cleared I_BIT in CPSR, in crt.s I have Code:
ldr PC, [PC,#-0x120]
(LPC23xx why it's -0x120 not -0xFF0) and I have set VIC Registers.
I think that enableIRQ() and VIClowlevel.h and .c in my code can be deleted because I have set IRQ bit 0 in crt.s
My software:
openocd v1.0 svn: 1135
new yagarto & toolchain from yagarto.de
gcc: 4.3.2
eclipse: 3.4.1
Maybe anybody has any simple working code with interrupts on this board for Eclipse?
Could anybody look at my code? Plz help and sorry for my English.
Marcin