I am attempting to debug several tasks in the CLA using CCS3.3 evaluation version.
I was able to successfully generate a breakpoint in CLA_TASK1 using the MDEBUGSTOP statement. This task is triggered by ADCINT1.
When trying to generate a breakpoint in CLA_TASK8 which is triggered by the statement
Cla1Regs.MIFRC.bit.INT8 = 1;
in the CPU code, (with the appropriate EALLOW/DIS wrapper) the MDEBUGSTOP instruction was not executed and the task ran to completion without stopping at the breakpoint. I was able to force the task to execute by writing 0x0080 to MIFRC in the Cla debug window and that caused the CLA to stop at the MDEBUGSTOP instruction. The CLA debug window is connected to the processor, so the breakpoints should be enabled.
Is this a device issue, or a CCS issue? Has anyone else had a problem with this? Has it been fixed in CCS4?
It looks like the work-around is to comment out the line of code in the CPU that forces the task and just force it by changing the MIFRC register in the register window.