A watchdog, also known as a watchdog timer, is a timer circuit. It usually has one input, called kicking the dog or servicing the dog, and one output to the RST terminal of the MCU. When the MCU is working normally, it outputs a signal to the kicking dog terminal at regular intervals to clear the WDT. If the dog is not fed for a specified period of time (usually when the program runs wild), the WDT timing is exceeded and a reset signal is given to the MCU to reset the MCU and prevent the MCU from crashing. The function of the watchdog is to prevent the program from entering an infinite loop or running wild.
Working principle: After the system is running, the watchdog counter is started and the watchdog begins to count automatically. If the watchdog is not cleared after a certain period of time, the watchdog counter will overflow and cause a watchdog interrupt, causing the system to reset. Therefore, when using a chip with a watchdog, pay attention to clearing the watchdog.
Previous article:MCU binary code comparison
Next article:MCU Application System Hardware Circuit Design Reference
- Popular Resources
- Popular amplifiers
Recommended Content
Latest Microcontroller Articles
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
He Limin Column
Microcontroller and Embedded Systems Bible
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
MoreSelected Circuit Diagrams
MorePopular Articles
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
MoreDaily News
- Brief Analysis of Automotive Ethernet Test Content and Test Methods
- How haptic technology can enhance driving safety
- Let’s talk about the “Three Musketeers” of radar in autonomous driving
- Why software-defined vehicles transform cars from tools into living spaces
- How Lucid is overtaking Tesla with smaller motors
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Wi-Fi 8 specification is on the way: 2.4/5/6GHz triple-band operation
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Vietnam's chip packaging and testing business is growing, and supply-side fragmentation is splitting the market
- Three steps to govern hybrid multicloud environments
Guess you like
- Faster CircuitPython LED animation with ulab
- Simple analysis of a circuit for collecting the average value of AC voltage
- EEWORLD University Hall----Live Replay: Infineon / Weikeng - Market environment is uncertain, Infineon is very sure to protect IoT devices
- FPGA Learning Notes-----FPGA Competition Adventure
- W806 Lighting
- Analysis of the role of terminal resistance in CAN bus
- Download the information and watch the video to win a prize | Tektronix HDMI 2.1 test solution is now available for download, and you can also watch the supporting video
- Things to note when using C/C++ to write programs based on TMS320 series DSP
- Generate sine wave data using microcontroller DAC and C language
- RISC-V RVB2601 First Experience--Section 4--Sensor Module Interface