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.

CCS/AM3358: Watchdog timer

Part Number: AM3358
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

There is watchdog timer In VxWork

Application can use its API like follow

wdId = wdCreate();

wdStart(wdId, DELAY_PERIOD, myWDISR, 0);

There are watchdog timer in AM3358. If yes, what is its API? Thanks

  • Hi Anping,

    We do not have WDT API for AM335x TI RTOS. We have only direct register access. Check below files for details:

    pdk_am335x_1_0_15/packages/ti/starterware/include/hw/soc_am335x.h:   #define SOC_WDT_1_REGS                       (0x44E35000)

    pdk_am335x_1_0_15/packages/ti/starterware/bootloader/src/am335x/sbl_am335x_platform.c - SBLPlatformConfig()

    pdk_am335x_1_0_15/packages/ti/board/utils/uniflash/target/board/src/board.c - socPlatformConfig()


    Regards,
    Pavel

  • Hi Pavel

         Thank you for your info. Do you have example project to use direct register access? Thanks

  • Anping,

    No, we do not have example projects with WDT. The only AM335x files which are using WDT, are the one I have provided in my previous e2e post.

    We have WDT example only for AM57x device.

    {PDK}/ti/csl/example/wdtimer/


    Regards,
    Pavel

  • I have found something related to WDTimer in RTOS package, that might be useful for you. Please check below files:

    pdk_am335x_1_0_15/packages/ti/starterware/include/wdt.h
    pdk_am335x_1_0_15/packages/ti/starterware/dal/wdt.c
    pdk_am335x_1_0_15/packages/ti/starterware/examples/wdt/cpu_reset/cpu_reset_app_main.c
    pdk_am335x_1_0_15/packages/ti/starterware/examples/wdt/wdt_app.c