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.

AM3359: Watchdog timer in ROM code

Part Number: AM3359

The Public ROM Code configures the watchdog timer 1 (set to three minutes) in the startup sequence.

When does the ROM Code disable the watchdog timer 1?

Should a USER Code disable the watchdog timer 1?

Our customer's board is rebooted after a booting has completed and several minutes passed.

Best regards,

Daisuke

  • ROM code does not disable the WDT. User code should be responsible for this.
  • Hi Biser-san,

    Thank you for your reply.

    I found the code which disable WDT1 in RTOS Processor SDK.

    \pdk_am335x_1_0_6\packages\ti\starterware\bootloader\src\sbl_main.c
    int main(void)
        SBLPlatformConfig();

    \pdk_am335x_1_0_6\packages\ti\starterware\bootloader\src\am335x\sbl_am335x_platform.c
    void SBLPlatformConfig(void)
        HW_WR_REG32((SOC_WDT_1_REGS + WDT_WSPR) , 0xAAAAU);
        while(HW_RD_REG32(SOC_WDT_1_REGS + WDT_WWPS) != 0x00U);

        HW_WR_REG32((SOC_WDT_1_REGS + WDT_WSPR) , 0x5555U);
        while(HW_RD_REG32(SOC_WDT_1_REGS + WDT_WWPS) != 0x00U);

    Best regards,

    Daisuke