Unlock instant, AI-driven research and patent intelligence for your innovation.

Watchdog circuit dog feeding method, apparatus and veneer

A watchdog and circuit technology, applied in the field of communication, can solve the problem that the central processing unit cannot perform the dog feeding operation, and achieve the effect of avoiding the reset of the watchdog circuit.

Active Publication Date: 2010-10-27
HUAWEI TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a dog feeding method, device and single board of a watchdog circuit, so as to solve the problem that the central processing unit cannot perform the dog feeding operation when performing complex tasks

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Watchdog circuit dog feeding method, apparatus and veneer
  • Watchdog circuit dog feeding method, apparatus and veneer
  • Watchdog circuit dog feeding method, apparatus and veneer

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0026] figure 1 A schematic flow chart of the dog feeding method of the watchdog circuit provided by Embodiment 1 of the present invention, as shown in figure 1 As shown, a dog feeding method for a watchdog circuit, including:

[0027] Step 101, switching from the software dog feeding mode to the hardware dog feeding mode according to the switching instruction of the central processing unit to perform the dog feeding operation.

[0028] During the loading process of the application program, the central processing unit cannot perform the dog feeding operation, and uses the hardware dog feeding method to perform the dog feeding operation. Only after the application is loaded successfully, use the software to feed the dog to perform the dog feeding operation.

[0029] During the normal operation of the application program, use the software feeding method to perform the dog feeding operation; and when the CPU needs to perform some complex operations, or some uninterruptible task...

Embodiment 2

[0048] Such as image 3 as shown, image 3 The structural schematic diagram provided for Embodiment 2 of the present invention, a dog feeding device for a watchdog circuit, includes:

[0049] The hardware dog feeding module 301 is configured to perform dog feeding operations according to a preset frequency.

[0050] For example, the hardware dog feeding module 201 can obtain the system clock, and then frequency-divide the system clock to obtain a pulse signal of a certain frequency, and use the pulse signal to perform the dog feeding operation to the watchdog circuit.

[0051] In some application scenarios, the programmable function of EPLD can be used to divide the frequency of the system clock, and the frequency can be used as the clock signal to perform the dog feeding operation. If you need to change the clock frequency of the dog feeding operation, you only need to upgrade the software of the EPLD without changing the hardware, which improves the lack of flexibility of ...

Embodiment 3

[0061] Such as Figure 4 as shown, Figure 4 A schematic structural diagram of a veneer in Embodiment 3 is provided for the present invention, including:

[0062] The central processing unit 401 , the watchdog circuit 402 and the dog feeding device 403 ; the watchdog circuit 402 is used for receiving the dog feeding operation of the dog feeding device 403 .

[0063] The dog feeding device 403 is used to perform the dog feeding operation on the watchdog circuit 402, and the dog feeding device 403 may further include:

[0064] The first switching module 4031 is configured to stop using the software dog feeding module 4034 to perform the dog feeding operation on the watchdog circuit 402 after receiving the switching instruction sent by the central processing unit 401, and switch to using the hardware dog feeding module 4033 to perform the dog feeding operation on the watchdog circuit 402. The dog circuit 402 executes the operation of feeding the dog;

[0065] The timer module ...

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 embodiment of the invention discloses a watchdog feeding method, a device and a veneer of a watchdog circuit. The method comprises the following steps: a software watchdog feeding mode is switched to a hardware watchdog feeding mode according to the switching instruction of a CPU so as to carry out watchdog feeding operation; the timer overtime condition sent by the CPU is received; if the timer is overtime the hardware watchdog feeding mode is switched to the software watchdog feeding mode to carry out the watchdog feeding operation. The watchdog feeding method, the device and the veneerof the watchdog circuit can change the frequency for executing the watchdog feeding operation of the CPU through flexibly setting the value of overtime condition so as to overcome the problem that the watchdog feeding operation can not be executed in time to result in the resetting of the watchdog circuit when the CPU executes complicated task. Therefore, the technical proposal provided by the embodiment of the invention has both the reliability of the hardware watchdog and the flexibility of the software watchdog.

Description

technical field [0001] The invention relates to the communication field, in particular to a dog feeding method, device and single board of a watchdog circuit. Background technique [0002] In a computer or single board composed of a central processing unit (Central Compute Unit, central processing unit), when the system is running, the central processing unit sometimes receives some interference such as interference from an external electromagnetic field, causing the program to run away, and the Falling into an infinite loop, the normal operation of the program is interrupted, causing the system to stagnate, and bringing some unpredictable consequences. Therefore, in order to be able to monitor the running state of the central processing unit in real time and make the system run in a controllable state, a circuit specially used to monitor the state of the central processing unit during program running has emerged as the times require to monitor The circuit in the running st...

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 Patents(China)
IPC IPC(8): G06F11/00
Inventor 雷永锋刘兵
Owner HUAWEI TECH CO LTD