Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Hardware watchdog realization method based on MCU (Micro-programmed Control Unit)

An implementation method, watchdog technology, applied in the direction of response error generation, etc., can solve the problems of watchdog circuit reset level timing not selectable, occupying a large circuit area, using many components, etc., to improve monitoring and reset ability, meet the needs of use, and save the cost of the circuit

Inactive Publication Date: 2017-07-07
BEIJING BONA ELECTRIC CO LTD
View PDF4 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. The timing of the reset level output by the watchdog circuit cannot be selected, and cannot be adapted to the application occasions that require the coordination of the level timing to reset;
[0005] 2. The adjustable range of the timeout time of the watchdog circuit is a fixed T value or not adjustable at all, and the scope of application is narrow;
[0006] 3. The watchdog circuit is a comprehensive design of the reset signal generating circuit, the watchdog signal generating circuit and its auxiliary components. The components are used more, occupy a large circuit area, and are inconvenient to use in a small space.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The working principle of the present invention is: based on the MCU with basic IO control function and counting function, combine the functional requirements of the watchdog circuit to configure the enable input, dog feeding input, interrupt output, reset output, function shielding and other pins of the MCU Function, and by receiving, analyzing and processing the signal sent by the processor, the MCU-based watchdog function is realized, and the watchdog monitors and correctly resets the operating status of the processor.

[0022] A kind of MCU-based hardware watchdog realization method of the present invention, concrete steps comprise:

[0023] Step 1. According to the required watchdog function, configure the corresponding IO pins on the MCU with IO control function and counting function as watchdog enable input, dog feed input, interrupt output, reset output and function shield pins , define the corresponding level logic, and complete the initialization of the MCU-bas...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a hardware watchdog realization method based on an MCU (Micro-programmed Control Unit). The method comprises the steps of setting a corresponding MCU-based watchdog pin according to a needed watchdog function, distributing a time-out counter, an interrupt counter, time-out time and a resetting level time sequence; then receiving an external activation signal sent by a processor on monitoring equipment, beginning to count by the time-out counter; meanwhile judging whether the time-out counter performs a zero clearing operation according to the situation whether a periodic dog-feeding signal sent by the processor is received, and completing the monitoring for the running state of the processor. The method is good in openness, adjustable in control parameters, wide in application range, low in cost and simple in structure, improves the monitoring and resetting capabilities of an MCU-based hardware watchdog and reduces an area of an occupation circuit.

Description

technical field [0001] The invention relates to a hardware watchdog system, in particular to an MCU-based hardware watchdog implementation method, which belongs to the field of integrated circuits. Background technique [0002] When the embedded control system runs wrong or suffers from various interferences, the system will occasionally "crash", resulting in the failure of the entire system program to run. In order to prevent the occurrence of this kind of problem, it is necessary to add a watchdog (Watchdog) circuit outside the system processor during design for applications that require high system operation reliability. The role of the watchdog circuit is to restore the operation of the main program of the system when an error occurs in the system and enter a crash state, so as to ensure that the main program runs stably, reliably and continuously. [0003] The existing watchdog circuit mostly adopts the comprehensive design method of sub-module combination, and its d...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/07
Inventor 高峰杨武周兴涛张健
Owner BEIJING BONA ELECTRIC CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Eureka Blog
Learn More
PatSnap group products