Tool/software: Code Composer Studio
I just need a watchdog with the normal features which is usually expected.
It needs to detect code failure, hence causing the watchdog to trip and reset the CPU.
I setup the watchdog and noticed the Watchdog_ResetMode param has a comment that says it is not supported on all targets.
Does this mean I will need to add code to manual reset the cpu whenever the watchdog callback function is called ?
Structure of the Watchdog Params
typedef struct Watchdog_Params {
Watchdog_Callback callbackFxn; /*!< Pointer to callback. Not supported on all targets. */
Watchdog_ResetMode resetMode; /*!< Mode to enable resets. Not supported on all targets. */
Watchdog_DebugMode debugStallMode; /*!< Mode to stall WDT at breakpoints. Not supported on all targets. */
uintptr_t custom; /*!< Custom argument used by driver implementation */
} Watchdog_Params;