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.

TDA4VM: How to generate a period "signal" communication "into" watchdog, and let system keep alive without reboot?

Part Number: TDA4VM

Hi, TI Expert

I follow this thread, and success enable an watchdog test.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1170965/faq-sk-tda4vm-how-to-reset-the-system-using-main-domain-watchdog

https://software-dl.ti.com/jacinto7/esd/processor-sdk-rtos-jacinto7/08_05_00_11/exports/docs/sdl/sdl_docs/userguide/j721e/modules/rti.html

cd /opt/ltp/
./runltp -P j721e-idk-gw -f ddt/wdt_test -s "WDT_M_FUNC_WRI"

Follow "runltp test", The Windowed Watchdog Timer (WWDT) generates "system reboot" after a programmable period (80 sec), "if not serviced" within that period.

My question : base on this test demo, How to generate a period "signal" communication "into" watchdog, and let system keep alive without reboot?

(I guess it should be reset watchdog timer for a period)

Need sample code or command in Linux.

Many Thanks

Gibbs

  • Hi Gibbs,

    By default the watchdogs are enabled and periodically petted. When you run the above test case we let it run till expiry and it resets.

    Please add debug prints in the function:

    rti_wdt_ping in the file drivers/watchdog/rti_wdt.c

    - Keerthy