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.

TMS320F28377D: What condition does EMUINT occur in the TMS320F28377D chip?

Part Number: TMS320F28377D


Hi all,

I am using TMS320F28377D. The program was working normally, but, suddenly branches to EMU_ISR () and stops.

I wonder why EMU_ISR () is called.

What condition does EMUINT occur in the TMS320F28377D chip?

Thank you for considering my request.

  • In a normal application you should not endup in the EMU_ISR.  This interrupt source was originally intended to be used by debugger technology but to my knowledge is not used. 

    The CPU may have started executing somewhere it should not and by chance ended up in the emu_isr.  This can happen with buffer overflows and stack overflows. Please check your program for these problems. 

    Knowing where the CPU came from before it entered the EMU_ISR can help debug the problem  Comment out the for (;;); statement in the ISR.  Once the CPU halts, step until the CPU returns from the ISR.  This will show where the CPU was before and can provide clues to what the trouble is. 

    Regards

    Lori

  • Thank you Lori, Thank you for your kind reply.