Presently I am using a push-button to pull-down the RST/NMI/SBWTDIO port to call the vector=NMI_VECTOR ISR routine.
The catch is that I need to call the ISR more than one time, that is, each push of the button calls the NMI ISR.
I have experimented, and found that I can call the ISR more than one time by clearing the interrupt flag, and enabling the NMI interrupt, and _GID_SR(GIE), all in the for(;;).
The catch is, I have to repeatedly push the button, say 10-20 times to call the NMI ISR. I can see with an o-scope the signal is correct on the port.
Working without debugger is hard, has any one solved this dilemma? Or, have I over looked something in the documentation, such as the NMI ISR can only be called once per reset of the controller?
Thank you in advance!