This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging problem of MSC1210 Y2

Hi,

I am using an msc1210y2 chip which has a keyboard of 5 keys connected to it . I also have an interrupt pin connected to its external interrupt input (INT0) pin of MSc1210y2.

My initialization sequence of this keyboard has the following to it ..

EA = 1; /* Enable all global interrupts */
EX0 = 1; /* Enable external interrupt 0 */
IT0 = 1; /* Falling edge trigger */

After these statements i have an ISR function defined as below...

void KBD_Interrupt()interrupt 0 /* ISR of Priority 0
{

}

Now when i go for debugging of this code in the microvision2 compiler debugger it does not vector to this ISR after i enable a breakpoint in this ISR.

I am making the MSC1210y2 pin INT0 to go low to simulate the key press in the debugging option using the option from //peripherals/interrupts and //peripherals/ioports/port3 of the compiler.

Kindly let me know if i am not clear in stating my requirements in the above.
Any help in this regards will be appreciated.

Regards
Amit

0