Good morning,
I am having trouble getting my ISR working on cpu2. The interrupt is from a shared peripheral and works on cpu1. The ISR is as follows:
interrupt void MyPWM1_ISR_2(void)
{
EINT;
my_interrupt_counter++;
//EPwm1Regs.ETCLR.bit.INT = 1;
//PieCtrlRegs.PIEACK.all = PIEACK_GROUP3;
}
As long as the last two lines are not executed, the ISR executes once and not again and there are no error messages and the program on cpu2 runs normally. Executing the last two statements, I get the following error message:
Trouble Reading Register PC:
(Error -1142 @ 0x0)
Device blocked debug access because it is currently executing non-debuggable code. Choose 'Rude Retry' to disable polite mode and force the operation.
(Emulation package 8.0.903.6)
Choosing 'Rude Retry’ results in same error message.
The exact same ISR executes perfectly on cpu1.
Thanks