Re: A problem of interrupt !
Ok. Without seeing the code it is hard to tell what is happening.
Knowing which processor does help a bit.
Do you try and read P0.7 from within the interrupt?
Have you checked if the interrupt routine actually executes?
The ARM7TDMI has several shadow registers. A different CSPR is used for interrupts,exceptions,user mode, superviser mode etc. Disabling interrupts in one mode will not effect another. An interrupt routine automatically has interrupts disabled.
A couple of things to check are:
Are the PIN CONNECT, VIC end EXTERNAL INTERRUPT registers programmed correctly?
Because you are using EINT2, are you clearing the EINT2 interrupt flag in your interrupt routine? It is important to do this!.