I know there are a lot of posts for this issue, but none does help.
I have SAME53J18 on custom board and configured peripherals with Atmel Start, using Visual Studio 7.0.??
At some point of the program, it gets stuck in Dummy_Handler.
I have looked in Debugger->Call Stack, but there is only the code line where I get the last breakpoint hit.
The following lines could'n produce a exeption:
- Last Line that is OK: wait_pwm_cs();
#define ANALOG_OUT_CS_PWM TCC0
With testpin-set and -clear, I've probed that program waits the whole time for the intflag.
And it takes 14µs from testpin_set() to entry to Dummy_Handler.
So the problem must be code in another interrupt routine. How to locate this?
- Is there a possibility in the debugger to see the stack and stack pointer?
- In NVIC->IABR1 the 16th Bit is set. Which Interrupt is that? Is there any valuable documentation of the NVIC?