For some reason I am seeing during debug resets when I use the SR command to enable the interrupts. It occurs at different times.
If I remove this so does the reset go away. Appreciate the help.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
For some reason I am seeing during debug resets when I use the SR command to enable the interrupts. It occurs at different times.
If I remove this so does the reset go away. Appreciate the help.
You probably did not prepare an Interrupt Service Routine and an Interrupt Vector point to that. Thus when you enable interrupt, an unexpected interrupt is granted and cause a crash.
Sort of like releasing the parking break without looking at how the car is parked. You may find the car rolls and crashs.
**Attention** This is a public forum