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.

Testing Watchdog

HI All,

I want to test watchdog on my OMAP processor

In my serial port i am getting this

omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec...

But when i am giving command echo 0 > /dev/watchdog,my board is not getting rebooted after 60s.

Could you please help me in this??

Moreover I am interested in testing watchdog ..Could you please give me steps for this.

Thanks in Advance 

 Abhijit

  • Hi Abhijit,

    Take a look at this article:

    http://labs.isee.biz/index.php/Watchdog_timers_on_OMAP3_boards

    Regards,

    Boyko

  • Hi Boyko,

    I followed below steps mentioned in the link..but still after 60secs my board is not getting resets

    modprobe omap_wdt
    
    OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec-OK

       If enable and tick the watchdog card

    $ watchdog-test -e; watchdog-test
    
    Watchdog card enabled -OK.
    Watchdog Ticking Away!-OK
    

      after 60 sec NOT resets.-OK

      If enable and not tick the watchdog card.

    $ watchdog-test -e
    Watchdog card enabled.
    
    Watchdog Ticking Away!
    

    after 60 sec resets.------------------------NOT OK-(Here my board is not getting reset)

    If disable the watchdog card.

    $ watchdog-test -d
    Watchdog card disabled.
    

    after 60 sec NOT resets unless NOWAYOUT is defined (CONFIG_WATCHDOG_NOWAYOUT)

    Could you help me in this??

    Thanks

    Abhijit

  • i want to restart my board with the help of watchdog ..Can anybody help me in this