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.

TMS320F28379S: How to leave the "Interrupt_illegalOperationHandler"?

Part Number: TMS320F28379S

This is an additional question to this. https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1012223/tms320f28379s-itrap-with-watchdog-isr

As workaround, we bring currently our device to an safe state, if the "Interrupt_illegalOperationHandler" occurres and afterwards we would trigger the reset to execute the bootloader.

I would like to know whether there are one or more bulletproof implementations to trigger an software reset in the "Interrupt_illegalOperationHandler".

To trigger the reset via the watchdog causes on our side an undefined behavior.
The variant "asm(" TRAP #0");" unfortunaly does not work also too.

Regards Alex

  • Alex,

    The watchdog reset is designed to be one of the most reliable means of generating a clean reset for the device. If you are not able to produce a clean reset using watchdog, I would recommend correcting the underlying issue rather than seeking a workaround.

    Having said that there is also an NMI Watchdog that operates independently of the normal Watchdog. This can be activated by triggering one of the covered NMI exceptions.

    -Tommy

  • Solved because the underlying problem is resolved.