This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Concerto compiler error. ipc, illegal isr (concerto the trouble maker!!!)

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. 

  • Hi

    We are also facing the same type of problem which you are facing.  Our project is almost at the stage of completion and we have face a strange problem.

    1.  Version 1 Hex file (M3,C28)

         working

    2.  Version 2 Hex file (M3,C28)

        working

    3.  Version 3 Hex file  (M3,C28)

       working

    4.  Version 4 Hex file (M3,C28)

      working

    5.  Version 5 Hex file  (M3,C28)

      not working

     

    Now only the version 1 and version 2 Hex file are working.  Version 3 and Version 4 Hex file is not working.  I have change the board and I observe the same problem in another board.

    I don't understand why my old hex files are not working.

    Really the behaviour or concerto is very unpredictable.

    Regards,

    Yashpal