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

Multi-core system-based hardware watchdog control method and system

A technology of a multi-core system and a control method, applied in the field of a hardware watchdog control method and system, can solve the problem of not being able to reset a CPU chip and the like

Inactive Publication Date: 2017-02-15
GENEW TECH
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of the deficiencies in the prior art, the purpose of the present invention is to provide a hardware watchdog control method and system based on a multi-core system, aiming to solve the problem of using the WATCHDOG_TIMER provided by the hardware core in the prior art, which can only reset the core where it is located, Cannot reset all the cores in the CPU chip

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
  • Multi-core system-based hardware watchdog control method and system
  • Multi-core system-based hardware watchdog control method and system
  • Multi-core system-based hardware watchdog control method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and effect of the present invention more clear and definite, the present invention will be further described in detail below. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] The present invention provides a flow chart of a preferred embodiment of a hardware watchdog control method based on a multi-core system, as figure 1 As shown, among them, the methods include:

[0043] Step S100 , after the core of the master core processor is started, the multitasking mode is started, and the master core processor sends a heartbeat message of the master core processor to the slave core processor every first predetermined time.

[0044] During specific implementation, the LINUX SMP system generally adopts a daemon process to be responsible for clearing the dog. After the main core processor operating system kernel is star...

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 multi-core system-based hardware watchdog control method and system. The method comprises the steps that a master core processor starts a multi-task mode and sends a master core processor heartbeat message to a slave core processor every a first predetermined time; the slave core processor receives the master core processor heartbeat message sent by the master core processor and sends slave core processor heartbeat information to the master core processor after receiving the master core processor heartbeat message; and when it is detected that the master core processor receives the slave core processor heartbeat information sent by the slave core processor and the master core processor performs task switching, a watchdog is cleared. According to the method and the system, the master core processor is in charge of clearing the watchdog; a heartbeat mechanism is established between the master core processor and the slave core processor; the master core processor performs watchdog clearing operation only when the heartbeat of the slave core processor is detected and the master core processor performs task switching, so that multiple cores are not reset by the watchdog during normal running; and the whole system can be reset once inter-core communication is interrupted, one or more cores are abnormal due to crash or the like.

Description

technical field [0001] The invention relates to the technical field of embedded systems, in particular to a hardware watchdog control method and system based on a multi-core system. Background technique [0002] In the embedded application field, in order to prevent the system from crashing, or to ensure the real-time performance of the system and prevent a certain task from running for a long time, it is very common to use a hardware watchdog mechanism. The hardware watchdog is implemented by hardware circuits or related chips. If it is not reset within a certain period of time (usually 1.6 seconds), the watchdog will automatically pull down the #RESET signal of the CPU to hard reset the CPU. From this point of view, it is necessary for the watchdog to play a role, and it cannot be allowed to reset the system by mistake. The general method is to clear the dog regularly by the application program. The methods include: interrupt the clearing dog at tick, clear the dog in the...

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
CPCG06F11/0757
Inventor 李小军
Owner GENEW TECH