Questions tagged [watchdog]

An independent timer module usually incorporated into the same chip as a uProcessor which resets the processor after a certain length of time. The idea is that during usual operation the code running should always be able to reset the watchdog timer before the watchdog resets the processor. If the processor gets into a bad state or the code is corrupted it will not reset the watchdog and in turn will be reset back to normal operation.

Filter by
Sorted by
Tagged with
1 vote
2 answers
67 views

Is there any MPU where the watchdog has its own clock?

Forgive me for sort of meandering towards the question. I feel that all is pertinent, so please don't "improve" my question by removing all of its "flavor"! I was lamenting over ...
3 votes
1 answer
595 views

How to burn bootloader to ATmega 2560 using Atmel Studio and AVRISP mkII?

Although my question might come familiar to many Arduino developer including me, but, I am somehow lost burning bootloader to ATmega 2560. Many comments I found were related to AVRDude (never used ...
3 votes
1 answer
1k views

What is logic contention when using a voltage supervisor?

I am using a voltage supervisor from MAXIAM (MAX6734A).I am confused about design notes in page 11. So, what is logic contention? The uP that I want to monitor is STM32F103ZET6. I read its datasheet: ...
0 votes
0 answers
37 views

Hardware watchdog for my ESP32 Board - circuit and design suggestion

i've made my custom board based on LM2596, LM1117, ESP32 with ethernet based on LAN8720. This works without any issue but i want to prevent any type of software issues/hangs using an external watchdog ...
0 votes
1 answer
37 views

Arduino Watchdog Power Cycle Circuit

I'm looking at building a watchdog that will power cycle my arduino (weather station) when it is not responding (my arduino gets a CMOS lockup and doesn't respond to reset). I've read about designs ...
0 votes
1 answer
61 views

Watchdog timer circuit without continual re-trigger

The STWD100 is a watchdog timer, if a pulse from a microprocessor isn't received in X amount of time, it pulls it's output low. This is useful to detect if a processor has experienced an upset (...
3 votes
2 answers
5k views

How do I avoid a reset when using the watchdog in interrupt mode and changing the timeout?

I'm writing a program for an ATtiny85. I want to use the watchdog to wake up from power down in certain intervals. It all works fine as long as the intervals for a watch dog event don't change within ...
2 votes
4 answers
273 views

Resettable timer with opamp

I need to make a circuit with an opamp and passive components that has those constraints : When it receives a pulse on one input, its output should be high. After a predefined duration T, it should ...
0 votes
2 answers
359 views

STM32L0 IWDG > 32s

I need to implement a feature similar to that provided by the IWDG on the STM32L073RZ. The issue I'm facing is that the maximum timeout value of the IWDG is ~ 32 seconds - I need something that can ...
-1 votes
1 answer
87 views

What IC is marked WDG273?

I want to buy this USB watchdog V5.0 in order to restart my computer in case the PC hangs. As I'm an electronic designer, I was checking the hardware and when I saw the main IC reference, I said: &...
1 vote
0 answers
37 views

What options are there for a slow hardware watchdog monitoring an embedded HTTP client?

I'm trying to build a server health monitoring device around an ESP8266 module. The module will contain an embedded HTTP client that will contact a set of servers to check their responsiveness. The ...
3 votes
2 answers
187 views

Using a watchdog in low power application?

Most low-power applications operate in burst mode, where the system is asleep most of the time. I don't understand how to use a watchdog (WD) in those kinds of systems. The perfect scenario would be ...
0 votes
0 answers
61 views

Supervisory watchdog to assure UV LEDs are off and stay off during non-use

I'm designing a circuit consisting of 3 pairs of LEDs. Each pair has one UV-LED and a white LED. The pairs will be turned on consecutively and for about 1 second each. Between each use there will be ...
0 votes
1 answer
52 views

Use attiny as an external watchout timer

I like to failsafe an Atmega8 mcu despite having its own WDT. does it make sense that if I add an attiny to the circuit to check if each loop is taking a specific time, if not reset the Atmega chip?
1 vote
2 answers
41 views

ATmega48PB: wdt in interrupt mode still reset the MCU

I read the datasheet and this question, but there's still something wrong here. Here my wdt init code: ...
0 votes
1 answer
74 views

Continuous Reset generated by LDO to Microcontroller

I have the below schematic Datasheet of the LDO - L4995 -SSO24 package LDO Specification : Input Voltage : 12-16V Output Voltage : 5V Load Current : 100mA Issue : My LDO is generating RESET ...
0 votes
1 answer
146 views

STM32 external voltage monitor / watchdog - worth it?

I'm building a device that will have STM32F750, and now thinking about stability in case if power or software will misbehave. As per topic - is it worth it to have an external voltage monitor and ...
0 votes
1 answer
803 views

STM32F4 Independent Watchdog (IWDG) not triggering as expected

Im trying to understand how Independent watchdog really works and i wrote a piece of code that runs on STM32F411VE Eval board. I believe i have configured the Watchdog Timer correctly according to ...
0 votes
1 answer
127 views

Initialize IWDG with two difference handles

I am implementing a watchdog in my project, where i am using a IWDG in STM32F4 series controller. I am trying to initialize the watchdog twice with different handles, since it is implemented in two ...
3 votes
1 answer
138 views

Keyed access in PIC config settings for the WWDT

I'm playing around with the settings for the windowed watch dog timer (WWDT) for the PIC18F24K40. In chapter 3.7.3 (page 37) about device configuration, the DT Window Select bits are briefly ...
0 votes
2 answers
389 views

PIC: Watchdog timer off by a factor of 4

I have a PIC16 (datasheet here) for which I use the watchdog timer. I configure the watchdog timer as follows: WDTCONbits.WDTPS = 0b01110; According to page 105 ...
1 vote
3 answers
728 views

5V digital output to 24V

I need to come up with something to convert a 5V digital output signal from a USB-1608G DAQ device with DIO to 24V digital output signal to reset the timer on a watchdog. The watchdog timer will only ...
0 votes
1 answer
62 views

AVR ATtiny1634 - PB3 as Input and Watchdog Timer

I'm quite a beginner in AVRs and this is my first project soldering the microcontroller and programming it on board. I know the ATtiny1634 QFN might not me the best micro for a beginner, but ...
1 vote
2 answers
9k views

How to stop/reset the watchdog timer from low-power sleep mode on an STM32L0C8?

On an STM32L0C8 MCU, I have the watchdog enabled while executing. At certain points in execution, I would like the chip to go into low power sleep mode. When it goes into low-power sleep mode though, ...
2 votes
2 answers
351 views

Can the watchdog on an STM32F373 trigger a reset while the RESET pin is held high?

The reset pin on an STM32 chip is being pulled high by a Raspberry Pi Zero W in the field via GPIO pin BCM 17. Will the watchdog on the STM32 be capable of triggering a reset while the pin is being ...
0 votes
0 answers
356 views

Connection diagram of external WatchDog timer MAX6369KA+T and Arduino

Tasks: Ensure a reliable reboot of the microcontroller in case of a hang. The ability to disable the WDT timer. For these purposes, I found an external watchdog timer MAX6369KA+T. Scheme: Logic: ...
0 votes
1 answer
266 views

How should a watchdog timer be used? [closed]

I've seen and written programs in which the internal watchdog just resets in a super loop and trigers only when something goes wrong and forces the whole system to crash. I've also seen it can be ...
3 votes
3 answers
3k views

How to test a CPU watchdog on board?

The watchdog of an ATMEL ATXMega128 should have been enabled with fuses. It triggers a reset, if the timer was not reset within the configured time span. I want to be sure, that it is enabled and ...
0 votes
1 answer
233 views

How to enable PIC16 watchdog timer for software control?

I am working on a project where I have an I2C slave application running on a PIC16F1829. I am finding that because the ISR must read the slave address, wait for a new byte, then read that byte, that ...
0 votes
2 answers
170 views

Watchdog with long on and off periods for microcontroller [closed]

I have a microcontroller (Arduino-like IoT device) and would like to connect a low power external hardware watchdog to be able to recover from failures. I know that a software watchdog is already ...
1 vote
0 answers
300 views

Cannot Disable AVR ATmega32 Watchdog

I'm writing a code to enable and disable the watchdog timer in ATmega32. I'm using the function in the datasheet that disables the wdt. Also, I'm toggling led in the beginning of the code to know if ...
4 votes
2 answers
4k views

STM32F4: WWDG interrupt fires as soon as it's enabled

I'm doing some coding on an STM32F411 board, used the CubeMX & HAL Libraries for laziness. I'm trying to get the windowed watchdog (WWDG) up & running, and doing the very basic version (non ...
0 votes
1 answer
192 views

PIC16F884 keeps resetting even though WDT should be off

I just bought a PIC16F884 and put a simple C program on it using MPLAB: ...
0 votes
1 answer
46 views

Is 128KHz oscillator in ATmega same as Watch Dog Oscillator?

Where is the 128KHz oscillator located in ATmega328p? I am unable to find it on the ATmel data sheet ,Is it same as watch dog timer Oscillator? I am attaching the clock section from the ATmel ...
3 votes
1 answer
78 views

Preventing inadvertent feeding of an external watchdog

Most internal watchdog timers found on microcontrollers contain mechanisms to prevent an inadvertent feed, usually requiring the write of a specific key-value to the feed register, although some ...
1 vote
0 answers
59 views

IoT wireless solenoid circuit

I am a Newbie and I do not have a lot of expirience. The circuit has been put together from pieces I have found on the internet. My goal is to develop a reliable wireless solenoid circuit to water my ...
0 votes
1 answer
146 views

MSP microcontroller Watchdog timer

I am new to programming microcontroller. what does the following like of code do: WDT_A->CTL = WDT_A_CTL_PW | WDT_A_CTL_HOLD i have looked at the technical ...
21 votes
7 answers
7k views

Necessity of an external watchdog timer

What is the need for an external watchdog timer for a microcontroller? Most of the microcontrollers are designed with an internal watchdog timer. However, in some of the circuits they are using an ...
2 votes
1 answer
164 views

Way to reset an MCU when it's GPIO output becomes constant HIGH or LOW instead of a low frequency PWM

In one of our projects, we are observing MCU hanging up supposedly due to EFT. WDT is not helping. The only way to get the device into working condition is to reset the MCU by reset pin or power cycle....
5 votes
2 answers
7k views

Windowed watchdog timer

Can someone please explain how windowed watchdog timer is different from the normal watchdog timer? When is windowed watchdog timer prefferred over normal watchdog timer?
18 votes
3 answers
21k views

Use AVR Watchdog like normal ISR

I'm trying to wrap my head around the watchdog timer on the ATTinyX5 series. So things I've read made it seem like you could use it for making the program do something specific ever N seconds but ...
0 votes
1 answer
1k views

I can't get WDT (watchdog timer) working on ATmega2560

I have a running application on the ATmega2560 and it is working OK. Now, I wanted to implement Watchdog feature in order to reset the chip when the application takes longer to operate for some reason....
1 vote
1 answer
305 views

What's the name of a timeout relay which won't re-trigger if it times out?

I would like to replace the relay which triggers a water pump, with a relay which times out after, say, 10 minutes. And if it times out, it stays locked out until reset. Needs to be 230v AC on both ...
1 vote
1 answer
657 views

External Watchdog Timer

I am using TPL5010 http://www.ti.com/lit/ds/symlink/tpl5010.pdf watchdog timer's RSTn pulse to trigger 555 timer in monostable mode with 10 sec pulse width in order to turn ON relay using transistor ...
0 votes
1 answer
139 views

MSP430FR6989 Watch Dog Timer

I am trying to learning about the Watch Dog Timer peripheral of MSP430FR6989 (link to MSP430). It's Watch Dog Timer peripheral WDT_A have a 16 bit control register (WDTCTL), in order to perform a ...
1 vote
4 answers
3k views

Arduino watchdog with 555 Timer and a MOSFET

I want to protect an Arduino from stop running using a 555 timer. I saw some projects that use the Arduino RESET pin to do that but there are cases that my Arduino project still stop working even when ...
0 votes
1 answer
1k views

A watchdog-controlled power cycle

I would like to use a watchdog timer as a way to do a proper power cycle in last resort, that is: power down for 1 second, then power up. I have come up with the following design: The watchdog used ...
0 votes
2 answers
928 views

Looking for external watchdog chip for Raspberry Pi 3 model B board

I'm working on a project that has chosen an RPi3 model B board as part of the system. We previously had an external watchdog system that would cut the entire system power if the watchdog expired. ...
0 votes
1 answer
41 views

Reading part number

Can someone please guide me reading the part number? The screenshots are from a datasheet of a watchdog (STWD100). I don't know how to relate these two..
16 votes
5 answers
39k views

Independent watchdog (IWDG) or Window watchdog (WWDG)?

I'm still searching to find an answer for this question: Why while the stm32 MCUs have a perfect watchdog (I mean Window watchdog (WWDG)), there is a simple watchdog (Independent watchdog (IWDG)) ? ...