infineon4engineers Facebook

infineon@google+ Google+

infineon@linkedin linkedin

infineon4engi@twitter twitter

infineon@youtube youtube

+ Reply to Thread
Results 1 to 3 of 3

Thread: TC275 watchdog does not work

  1. #1
    Beginner Beginner lsh9640 is on a distinguished road
    Join Date
    Jul 2018

    TC275 watchdog does not work

    Hi I am using TC275 evaluation board and the sample code coming with the product.

    at the below code, which is cpu0 start-up driver
    as you can see, I remove those two 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?

        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();
            Ifx_C_Init();           /*Initialization of C runtime variables */
    	IfxPort_setPinMode(&MODULE_P33, 8, IfxPort_Mode_outputPushPullGeneral);
    	IfxPort_setPinLow(&MODULE_P33, 8);
        /*Initialize the clock system */
    Sorry my english is not good but I tried to explain as much as I could


    Best Regards,
    Dongah Electric Componenet R&D Center Research Engineer, Korea
    Last edited by lsh9640; Aug 16th, 2018 at 07:43 PM. Reason: for better understanding

  2. #2
    Advanced Advanced cwunder is on a distinguished road
    Join Date
    Feb 2015
    By default when a debugger is connected the watchdogs are disabled. To enable it on the Trace32 by using the following command:

    SYStem.Option WDTSUS [ON | OFF]

    ?????? ?????? 2018_08_16_21_51_48_TriCore_Debugger_and_Trace.png‎   2018_08_16_22_02_38_TriCore_Debugger_and_Trace.png‎  
    Last edited by cwunder; Aug 17th, 2018 at 04:35 AM.

  3. #3
    Beginner Beginner lsh9640 is on a distinguished road
    Join Date
    Jul 2018
    thanks man.

+ Reply to Thread

Tags for this Thread


All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.