Hi,
We are developing a project with concerto. Our software that is in the c2000 side branches to illegal_isr strangely. We are using the QEI timer interrupt. But weird things happen. When I change a line of code it branches to illegal_isr. To solve it I change the optimization level from 2 to 1 and it is working. Then I changed another line of code that has nothing to do with the interrupt. Then does the same thing. Then I changed the optimization level from to 2 to 1 and it works again. Sometimes when the optimization level is 0 it doesn't work. I am playing with the optimization to make the code run after changing a few lines of code. How can I find the reason of illegal_isr? I can not turn off the optimizations. When I do that, illegal_isr happens more frequently.It was happening sometimes before I started to use the QEI timer interrupt.
If anyone has an idea, please help.
Thanks.