Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Watchdog starting method of interference preventing system

A watchdog and anti-interference technology, applied in the direction of response error generation, etc., can solve problems such as watchdog circuit instability, interference system startup, watchdog reporting false alarms, etc., to achieve stable work and simple system hardware implementation , the effect of preventing false alarms

Inactive Publication Date: 2015-06-03
AVIC NO 631 RES INST
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the embedded computer system is just powered on, it is susceptible to interference. At this time, the watchdog circuit may also be unstable, which will interfere with system startup.
During the running of the application, the watchdog may report a false alarm

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

[0020] The invention provides a method for starting a watchdog in an anti-jamming system, and the method for starting a watchdog in the anti-jamming system includes the following steps:

[0021] 1) Determine whether to close the watchdog mechanism according to external conditions; if yes, clear the watchdog count and watchdog interrupt count; watchdog interrupt is invalid, watchdog reset is invalid; if not, go to step 2 ), the specific implementation is:

[0022] 1.1) Receive external conditions; the external conditions are system reset, power-on and system air and ground status;

[0023] 1.2) If any of the above external conditions prohibits the operation of the watchdog mechanism, the watchdog mechanism is turned off, and the watchdog count is cleared, and the watchdog interrupt count is cleared; the watchdog interrupt is invalid, and the watchdog Reset invalid;

[0024] If none of the above-mentioned external conditions prohibits the operation of the watchdog mechanism, t...

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 watchdog starting method of an interference preventing system. The method comprises the following steps: 1) judging whether a watchdog mechanism is closed according to external conditions; if the watchdog mechanism is closed, resetting watchdog counting, wherein the watchdog resetting is invalid if the watchdog interrupted is invalid; if the watchdog mechanism is not closed, carrying out a step 2); 2) judging whether the watchdog counting reaches a timing threshold of the watchdog; if the watchdog counting does not reach the timing threshold, increasing 1 to the rising edge of each clock by the counter; if the watchdog counting reaches the timing threshold, interrupting the watchdog, resetting the watchdog counting, and increasing 1 to the interrupted counting of the watchdog; 3) judging whether the interruption times of the watchdog reaches 3 times; if the interruption times of the watchdog reaches 3 times, generating a watchdog resetting signal to reset a whole system; if the interruption times of the watchdog does not reach 3 times, continuing implementing this step until the watchdog resetting signal is generated; 4) outputting the watchdog resetting signal. According to the watchdog starting method provided by the invention, the requirements that the normal operation of the processor can be ensured by an embedded system can be met, and software runway or the endless loop can be prevented by aiming at the embedded system.

Description

technical field [0001] The invention belongs to the field of real-time control of an embedded computer system, and relates to a method for starting a watchdog in an anti-interference system. Background technique [0002] In embedded computer systems, in order to prevent the software from running away or entering an endless loop due to external interference, a hardware watchdog circuit is usually designed. The software should trigger the watchdog circuit (commonly known as feeding the dog) within the specified time period, otherwise the watchdog circuit will notify the system through a hardware signal (dog barking signal) to generate a system reset or interrupt. When the embedded computer system is just powered on, it is susceptible to interference, and the watchdog circuit at this time may also be unstable, which will interfere with system startup. While the application is running, the watchdog may report a false alarm. Contents of the invention [0003] In order to solv...

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
IPC IPC(8): G06F11/07
Inventor 张伟栋李鹏谢文涛沈华汤艳飞蒋欣文敏华王树争胡铁根
Owner AVIC NO 631 RES INST
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products