Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

can't disable watchdog on TC399XE

$
0
0
The CPU will run for something like fifty milliseconds before a watchdog reset by default.

Are you using the iLLD and/or AURIX Development Studio? This code in Cpu0_Main.c disables the CPU watchdog and the Safety Watchdog:
Code:

    /* !!WATCHDOG0 AND SAFETY WATCHDOG ARE DISABLED HERE!!
    * Enable the watchdogs and service them periodically if it is required
    */
    IfxScuWdt_disableCpuWatchdog(IfxScuWdt_getCpuWatchdogPassword());
    IfxScuWdt_disableSafetyWatchdog(IfxScuWdt_getSafetyWatchdogPassword());


Viewing all articles
Browse latest Browse all 9892


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>