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.

TMS570LS3137: Watchdog timer DWD - jump to the application

Part Number: TMS570LS3137

Hi,

In my bootloader I am initializing and kicking DWD as below.

To init:

dwdInit(4095);

dwdCounterEnable();

and to kick DWD => dwdReset();

I know the DWD is still running when the execution jumps to the application (since once the DWD starts, only reset can disable DWD). So that makes me think that I do not need to re-init the DWD inside application, is that correct? Or do I have to repeat the DWD init code inside application as well?

In that case, I just need to kick DWD periodically inside the application. correct?

Currently, the MCU resets when the execution jumps to the application. So, that means I didn't get this right.

thank you,

  • You are correct that you don't need to reinitialize the DWD once it has started. Do you cause a software reset to make the execution jump from the bootloader to the application? That would require the DWD to be initialized once more in the application. If you jump to the application and get a reset from the watchdog, that would mean that you missed servicing the watchddog on time.

    Regards,
    Sunil