AnsweredAssumed Answered

Independent Watchdog, Instruction before reset

Question asked by GeorgeP on Apr 18, 2015
Latest reply on Apr 20, 2015 by

I'm running an Cube project with FreeRTOS, with iWDT enabled, on STM32L1 and debugging on IAR.
iWDT is being cleared in its own thread, with the same priority as the other threads.
No thread is a blocking thread.
The iWDT resets the MCU after a random duration and I'm not sure how to to debug the situation, as I don't know what was the instruction or loop where the application froze and caused the reset.
I already use a UART to output some data communication, so I know that the other threads do not freeze.
Is there a way to find out what was the instruction before the iWDT reset jump?