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.

TMS320F28379D: ITRAP NMI

Part Number: TMS320F28379D

Hello,

In case of an ITRAP, if illegal instruction flags are not cleared is the NMIWD counting like other NMIs or no WD and no reset in case of ITRAP?

Thanks.

  • Hi Dvir,

    ITRAP does not trigger NMI so NMIWD counter will not count and no reset. It's another fault which user should have handler for.

    Regards,

    Vivek Singh

  • Hi Vivek,

    Thank you for the prompt response.

    But just to be sure, ITRAP does trigger a different kind of non-maskable interrupt, right?

    As mentioned in SPRUHM8H:

    "Illegal Instruction Trap (ITRAP)
    If the CPU tries to execute an illegal instruction, it generates a special interrupt called an illegal instruction
    trap (ITRAP). This interrupt is non-maskable and has its own vector in the PIE vector table. For more
    information about ITRAPs, see the Illegal-Instruction Trap section of the TMS320C28x DSP CPU and
    Instruction Set Reference Guide (SPRU430)."

    Is this enabled by the boot ROM similarly to the NMI module?

    Regards,

    Dvir

  • Hi Dvir,

     But just to be sure, ITRAP does trigger a different kind of non-maskable interrupt, right?

    Yes, it's a different type of fault which can not be disable.

     Is this enabled by the boot ROM similarly to the NMI module?

    No, there is no SW configuration bit to enable/disable this.

    Regards,

    Vivek Singh

  • Hi Vivek,

    Thank you for the prompt response and the support.

    Regards,

    Dvir