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

TC275 watchdog does not work

$
0
0
Hi I am using TC275 evaluation board and the sample code along with the board.

this is cpu0 start-up driver and I remove those lines that disable both CpuWatchdog and SafetyWatchdog.

So basically Watchdog function is enabled but whenever I downloaded the binary with Trace32 debugger and run it.
it does not trigger watchdog
there is no where to disable watchdog whatsoever.

what could be wrong with my thinking?

Code:

   
(...)
    IfxCpu_initCSA((uint32 *)__CSA(0), (uint32 *)__CSA_END(0));    /*Initialize the context save area for CPU0 */

    {
        /*CPU and safety watchdogs are enabled by default, C initialization functions are not servicing the watchdogs */
        uint16 safetyWdtPassword = IfxScuWdt_getSafetyWatchdogPassword();
        //IfxScuWdt_disableCpuWatchdog(cpuWdtPassword);
        //IfxScuWdt_disableSafetyWatchdog(safetyWdtPassword);

        Ifx_C_Init();          /*Initialization of C runtime variables */

        IfxScuWdt_enableCpuWatchdog(cpuWdtPassword);
        IfxScuWdt_enableSafetyWatchdog(safetyWdtPassword);
    }

        IfxPort_setPinMode(&MODULE_P33, 8, IfxPort_Mode_outputPushPullGeneral);
        IfxPort_setPinLow(&MODULE_P33, 8);
       
    /*Initialize the clock system */
    IFXCPU_CSTART_CCU_INIT_HOOK();
(...)

Sorry my english is not good but I try to explain as much as I could

Thanks.

Best Regards,
Dongah Electric Componenet R&D Center Research Engineer, Korea
SIHUN, LEE
lsh9640@dongah.biz
82-10-4902-9640

Viewing all articles
Browse latest Browse all 9892

Trending Articles



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