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
0
votes
1answer
47 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
1answer
45 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
1answer
77 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
1answer
24 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
1answer
50 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
1answer
35 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 ...
2
votes
2answers
70 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
0answers
99 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
1answer
116 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 ...
0
votes
2answers
125 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 ...
0
votes
1answer
78 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
2answers
121 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
3answers
190 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
0answers
270 views

Using ESP32 and external WatchDog STWD100NYWY3F

I want to use ESP32 with the STWD100NYWY3F external watchdog timer. Below is my connection diagram. On WDI with 33 pin, periodic pulses are sent to the watchdog timer. If the timer is not reset, then ...
0
votes
0answers
146 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 ...
1
vote
1answer
107 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
1answer
33 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 ...
1
vote
0answers
54 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
1answer
76 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 ...
2
votes
1answer
83 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....
0
votes
1answer
453 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....
2
votes
1answer
199 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 ...
2
votes
1answer
60 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 ...
20
votes
7answers
4k 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 ...
1
vote
1answer
102 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 ...
3
votes
3answers
1k 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
1answer
394 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
1answer
71 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 ...
0
votes
2answers
686 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. ...
1
vote
4answers
2k 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
1answer
38 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..
0
votes
0answers
269 views

How to change PIC watch dog expiration duration in run time?

In one of my application using PIC18F25K20, I set the Watchdog Timer Postscale Select bits as following for the CONFIG2H register at the beginning of the c code under configuration bits. pragma config ...
3
votes
2answers
258 views

Extend the time delay of an asserted WDT active low

I am new to electronics and would appreciate any help. I am trying to design a watchdog timer circuit using the TI WDT (mfg part # TPS3813K33DBVT). I am using it to reset an Arduino (I wish to use an ...
0
votes
1answer
250 views

Why am I getting the error: “`WDRT' was not declared in this scope” trying to turn of the WDT on my AVR?

I am clearing the Watchdog System Reset Flag on my ATMEGA168 after a WDT reset... ...using the code... MCUSR &= ~_BV(WDRT); ...but the compiler complains... ...
-1
votes
1answer
138 views

How to reset microcontroller after X amount of hours/seconds? [closed]

I know there are similar posts to this I am just looking to see if there are any new more efficient solutions. I have a MCU and I am looking to add a circuit in between the power supply and the MCU ...
0
votes
1answer
665 views

atmega328p watchdog keeps restarting

I have AVR Atmega328p which I want to blink for 5 secs every 16 secs (to test the watchdog interrupts). I have the following code, which keeps restarting, and the last line is: ...
0
votes
2answers
235 views

using exit(EXIT_SUCCESS) or exit(EXIT_FAILURE) in AVR or any other microcontroller

How does one use exit(EXIT_SUCCESS) or exit(EXIT_FAILURE) in microcontroller C programming. I know it works on application ...
1
vote
2answers
6k 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, ...
0
votes
0answers
59 views

Patterns for using watchdog and ultra low-power constraints

I am designing a power-constrained device that has to gather some data, run from a battery for a couple of years and send data periodically. I want to ensure high reliability, because the device will ...
0
votes
1answer
102 views

Using external watchdog with NXP MK64 CPU

I'm using external watchdog timer in my board to reset the MK64 in case no strobe is passed to it (I know there's also internal watchdog in the MK64). What I don't understand is what should happen ...
1
vote
0answers
684 views

watchdog timer on PLC

I've currently set my PLC as a modbus slave, and written some python code which connect to it and act as a modbus client. I am having some problems with the modbus server sometime terminating the ...
0
votes
1answer
94 views

Recovering from run time errors on stm32l0

I have the independent watch dog running and I get rare resets for unknown reasons. How can I catch these errors and do a controlled reset. I want to store some things in EEPROM and then restart the ...
1
vote
1answer
368 views

Watchdog to stop power supply

I want to stop supplying power for a short moment if a watchdog has not received a reset order for a while. Shutting down power is important as this is the only way for some buggy device to function ...
2
votes
1answer
685 views

Atmega328P Watch Dog Timer - Delay Issue

I am trying to give delay of 0.5 seconds on 13 pin of the arduino using Watch Dog timer interrupt, the code complies and works fine but the led is blinking so rapidly that it seems like it is ...
1
vote
2answers
368 views

Turning-off Watchdog Timer

Under severe power constraints I'm considering disabling the watchdog.The MCU is to work as a stepper motor controller in a watch and drive a simple bar display too. What can the consequences be? (...
4
votes
2answers
3k 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 ...
5
votes
2answers
3k views

Does the internal 8Mhz oscillator in an ATTINY run even if no clocks are connected to it?

If I set up the fuses on an ATTINY so that the system clock uses the internal 128Khz oscillator (sometimes called the "Watchdog oscillator"), does the internal 8Mhz oscillator still run? It does not ...
0
votes
1answer
361 views

How to controll windowed watchdog (WWDG) with dynamically scaling CPU frequencies?

I have a project using ARM Cortex M4 with scaling CPU frequencies dependent on the workload. I would like to use the WWDG because it allows a lot more options like interrupt on watchdog. Question is: ...
0
votes
1answer
299 views

Using Energia, how do I get around disableWatchDog() locking up my program?

Below is a short code chunk. The code locks up on the 'Serial.Begin(9600);' line. Can anybody tell me why? Also, can you tell me how to get around it? ...
0
votes
1answer
855 views

Detecting hardware watchdog reboot on bootup

The CPU on my embedded linux system (Armada 370) does have a hardware watchdog. It does not appear to have any way of checking at bootup time whether the bootup is a normal cold boot or a reset from ...