Hi, I am sorry if there is already a thread open with this problem, I just couldn't find it.
I have a problem which should be easy to solve for you guys. I am trying to get a simple interrupt service routine to run, when i press the INT0 button on a MCB2300 Board (LPC2368). I didn't chance the startup.s code at all. When I press the button, nothing happens. Please help me.
#include <LPC23xx.h> int main(void) { PINSEL10 = 0; FIO2DIR = 0x000000FF; FIO2MASK = 0x00000000; FIO2CLR = 0xFF; FIO2SET = 0x55; VICIntSelect = 0x00008000; VICIntEnable = 0x00008000; while(1){ } return 0; } int i; void __irq FIQ_Handler (void) { FIO2DIR = 0x000000FF; FIO2MASK = 0x00000000; //Here goes the interrupt for ( i = 0; i <10000; i++) { FIO2CLR = 0xFF; FIO2SET = 0xAA; } FIO2CLR = 0xFF; VICVectAddr = 0x00000000; }