Skip to main content

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
2 votes
2 answers
97 views

Square wave detector for safety circuit

I am trying to make a circuit that is similar to a watchdog circuit so if a processor locks up the line will go low if the incoming line is 'stuck' high or low. I started with a rectifier that is ...
Voltage Spike's user avatar
  • 84.9k
3 votes
2 answers
644 views

How is a watchdog timer and the main loop related?

This is what I understand: There is a main loop in the code who's time of execution is say, n ms. Now, the developer needs to configure the watchdog timer for such a time m ms where m < n. This ...
missedSemiColon's user avatar
0 votes
1 answer
88 views

Watchdog Timer doesn't play with input via Serial Monitor

I uploaded this very simple sketch to my Arduino Nano Every to isolate a problem I have. ...
Popeye's user avatar
  • 339
1 vote
1 answer
100 views

Easy way to delay watchdog POR, but ensure that one line is instantly pulled into reset

We have a CPU, and then several IO expanders. When the watchdog timer expires, we need the IO expanders to go into reset (inputs) instantly, otherwise bad things will happen if they stay configured as ...
Shaken_U's user avatar
  • 153
0 votes
1 answer
67 views

STM32F405: WWDG interrupt occurs right after WWDG enabling

I've faced the problem with WWDG on STM32F405 (the same problem described here, but with no no solution): After enabling WWDG interrupt occurs immediately, despite the fact, that counter is far from ...
MatTab's user avatar
  • 11
0 votes
0 answers
51 views

What type of components would be used to make a reliable multistage watchdog?

The following is an example of a multistage watchdog from Wikipedia:- These days, there are watchdog chips like the Texas Instruments TPS3823 in the linked article that would serve for Timer Stage 1. ...
Paul Uszak's user avatar
  • 7,567
0 votes
2 answers
356 views

Using external watchdog IC with microcontroller (in this case PIC) - preventing a reset occuring during programming

I am considering options to make a small circuit used with ventilation (so fitted into a ceiling) have a watchdog timer. It is not life or safety critical, but it would be inconvenient (but not ...
REPuzzle's user avatar
  • 145
1 vote
3 answers
316 views

ESP-WROOM-32 resets when I load a page from my cellphone's Chrome app but not when I load the web app from Chrome on my PC

I'm having a problem with my ESP-WROOM-32. I have a web app that worked fine in my mobile phone until a page with contact information was added. This contact information page has 7 images in .png ...
vram's user avatar
  • 158
0 votes
2 answers
148 views

How to get an ARM M0+ controller to retain it's last executed instruction after reboot?

I want to give my application a capability under which, in case of power off, the system retains last executed instruction and once the power is turned on again it RESUMES the program sequence. Is ...
Pritesh gupta's user avatar
0 votes
1 answer
251 views

What happens if malloc() fails in a microcontroller?

What happens if malloc() fails in a microcontroller (e.g., due to not enough data memory freed)? Does the watchdog timer triggers a timeout response (e.g., reboot) ...
chckx592's user avatar
2 votes
1 answer
306 views

Unbrick my ATmega 8

It looks like I've bricked my chip (ATMEGA8-16PU) by setting the WTDON fuse and flashing an empty loop as the main program. I suspect that the chip constantly goes into reboot every ~60 ms, which is ...
user324050's user avatar
0 votes
1 answer
59 views

Hardware Watchdog Circuit Oscillating Input Equals Voltage High Output

I would like to know if it is possible to design a circuit which requires a single input oscillating between voltage high and voltage low for its output to be voltage high? If oscillation is not ...
Feynman137's user avatar
  • 1,263
2 votes
0 answers
328 views

Not able to flash MCU because of external watchdog

I am using the TPS3813K33MDBVREP watchdog on a PCB with a STM32 MCU. It is connected like the example in the datasheet. I can't program the MCU with a debug cable because the MCU gets reset from the ...
itchy's user avatar
  • 131
1 vote
2 answers
142 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 ...
MicroservicesOnDDD's user avatar
0 votes
0 answers
631 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 ...
VirtApp's user avatar
  • 579
0 votes
1 answer
167 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 ...
CadErik's user avatar
  • 13
0 votes
2 answers
329 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 (...
Voltage Spike's user avatar
  • 84.9k
2 votes
4 answers
1k 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 ...
charon25's user avatar
  • 351
-1 votes
1 answer
103 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: &...
Kotik_o's user avatar
  • 23
1 vote
0 answers
42 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 ...
Paul Uszak's user avatar
  • 7,567
3 votes
2 answers
450 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 ...
gbt's user avatar
  • 713
0 votes
0 answers
69 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 ...
Kano's user avatar
  • 1
0 votes
1 answer
104 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?
sina rahbari's user avatar
1 vote
2 answers
67 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: ...
Mark's user avatar
  • 1,235
0 votes
1 answer
104 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 ...
user avatar
0 votes
1 answer
339 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 ...
Andrejs Cainikovs's user avatar
0 votes
1 answer
2k 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 ...
Abel Tom's user avatar
  • 435
0 votes
1 answer
415 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 ...
Developer1234's user avatar
3 votes
1 answer
227 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 ...
Huisman's user avatar
  • 10.7k
0 votes
1 answer
114 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 ...
Roga's user avatar
  • 35
2 votes
2 answers
657 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 ...
Petrus Theron's user avatar
0 votes
0 answers
544 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: ...
Delta's user avatar
  • 535
0 votes
1 answer
618 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 ...
MrBit's user avatar
  • 2,053
0 votes
2 answers
652 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 ...
amitchone's user avatar
  • 305
0 votes
1 answer
525 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 ...
Shane Snover's user avatar
0 votes
2 answers
304 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 ...
dkomna's user avatar
  • 1
1 vote
3 answers
1k 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 ...
Dave's user avatar
  • 19
1 vote
0 answers
474 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 ...
Gamal Othman's user avatar
0 votes
1 answer
260 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: ...
Enn Michael's user avatar
0 votes
1 answer
86 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 ...
Rahul.In's user avatar
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 ...
Cage's user avatar
  • 11
0 votes
1 answer
212 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 ...
Coder's user avatar
  • 3
2 votes
1 answer
293 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....
Whiskeyjack's user avatar
  • 8,361
0 votes
1 answer
2k 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....
Sener's user avatar
  • 273
3 votes
1 answer
1k 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 ...
Sener's user avatar
  • 273
3 votes
1 answer
110 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 ...
ThreePhaseEel's user avatar
22 votes
7 answers
9k 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 ...
Photon001's user avatar
  • 824
1 vote
1 answer
567 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 ...
digitaltoast's user avatar
3 votes
3 answers
4k 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 ...
Jonas Stein's user avatar
1 vote
1 answer
895 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 ...
ARYA1992's user avatar