hi everyone
I have made small program for fiq interrupt and simulate in keil.The program goes like this way:
//... int main() { PINSEL0=0x10000000;//select p0.14 as external interrupt 1 according to datasheet VICIntSelect=0x0008000; VICIntEnable=0x0008000; while(1) { ;//IOSET=(1<<26); } } void blink() { .......... } __irq void fiq(void) { blink(); EXTINT=0x2; }
when i tried to simulate ,above code did not worked but run on my board
BUT....
............ PINSEL0=0x20000000; ..........
when i changed PINSEL0 to the above code.The code run in simulator but not in board.
Is this bug in the KEIL DEBUGGER and DEVICE lpc2103???
Does any one has face this problem??Please help Thanks in advance Manish shakya