# Watchdog

**URL:** <https://forums.openmv.io/t/watchdog/443>\
**Category:** OpenMV Boards\
**Created:** [October 5, 2017, 12:57pm UTC](https://forums.openmv.io/t/watchdog/443 "2017-10-05T12:57:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gonzague](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gonzague](https://forums.openmv.io/u/Gonzague)\
**Post date:** [October 5, 2017, 12:57pm UTC](https://forums.openmv.io/t/watchdog/443/1 "2017-10-05T12:57:47Z")

</div>

Hi,  
I am trying to implement a wathdog on my OpenMV Cam M7.  
As explained to that link : [class WDT – watchdog timer — MicroPython 1.15 documentation](http://docs.openmv.io/library/machine.WDT.html)  
I wrote that code :

import machine  
watchdog = machine.WDT(timeout=1000)  
while(True):  
watchdog.feed()  
  
  
But when I run the script I get this error :  
AttributeError: ‘module’ object has no attribute ‘WDT’

Do somebody know how to use correctly the watchdog timer ?

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 5, 2017, 3:11pm UTC](https://forums.openmv.io/t/watchdog/443/2 "2017-10-05T15:11:09Z")

</div>

Mmm, it might be disabled in our code. Can you summit a bug to the GitHub repo about this. It will get fixed then for the next firmware release.

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [October 5, 2017, 11:49pm UTC](https://forums.openmv.io/t/watchdog/443/3 "2017-10-05T23:49:28Z")

</div>

Hi,  
This code is enabled in the current development firmware. If you don’t want to wait for the next release, you can clone the repo and upload the firmware image.

---

<div class="post-metadata">

**Author:** ![Gonzague](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gonzague](https://forums.openmv.io/u/Gonzague)\
**Post date:** [October 6, 2017, 12:54pm UTC](https://forums.openmv.io/t/watchdog/443/4 "2017-10-06T12:54:01Z")

</div>

Hi,  
I upgraded the firmware from the repo and now it works properly.  
Thanks for your help !
