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

How use the 8052 timer 2 interrupt at the capture mode operation.

I have set all the configuration of the capture mode operation such as T2CON and IE.
When running on debug mode error will occur when run the interrupt routine.
The error message is" *** error 65: access violation at C:0x002B : no 'execute/read' permission".
The program code of the routine is :
void T2_int(void)interrupt 6
{


}

would you mind to tell me what is the error on the program.

0