Hi,
We are developing a control system that has hmi panel and a control subsystem. We use m3 core to drive tft and c28 to do the control stuff. We are developing the software for couple of months. Near the completion we started to get wierd errors. And the last error is illegal isr. When user pushes the button ipc interrupt is triggered in c28 core. It's fine. We were using the same software for months but in two weeks we started to get illegal isr many times. How can I find the source of the illegal isr? And I see some compiler problems, although the optimizations are off. Here i give you an example.
1. Weird Problem
For c28 :
version1
example.c
compile
working
change one line of code
version2
example.c
compile
working
change back the line of code as it was
version1
example.c
compile
not working
2. Weird Problem
I am using the QEP module and the EPWM modul in my project.
When I changed the EPwm9Regs.CMPA.half.CMPA, QEP starts to count to the opposite direction. Bu the motion is not changing the direction. Is it possible?
I don't know if these are coding issues or they are about concerto device. But I don't think that concerto is reliable. These nonsense errors are more than enough. Still I hope it's not a problem about the mcu, if so it would be much bigger problem.