Supercharge Your Innovation With Domain-Expert AI Agents!

Implementation method of multi-source watchdog of microcontroller

A technology of a microcontroller and an implementation method, applied in hardware monitoring, data reset devices, etc., can solve the problems of spending a lot of time searching, unable to tell the user where the program runs away, etc.

Inactive Publication Date: 2011-01-26
SHANGHAI UNIV
View PDF0 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, traditional watchdog monitors also have their disadvantages
Although it can find the problem of program runaway and correct it, it cannot tell the user where the program runaway is and why it happened
In the specific operation, technicians need to spend a lot of time to find the source of the error based on experience, which has always been a pity for using traditional watchdog monitors

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
  • Implementation method of multi-source watchdog of microcontroller
  • Implementation method of multi-source watchdog of microcontroller
  • Implementation method of multi-source watchdog of microcontroller

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0053] Embodiment one: see figure 1 and Figure 5 , the multi-source watchdog implementation method of the microcontroller is characterized in that through a multi-source watchdog module embedded in the chip, a plurality of watchdog monitors are set at different positions of the program to track the operation of the program, and the special The flag bit register also records the information of the reset watchdog after the microcontroller is reset, so as to find errors conveniently.

Embodiment 2

[0054] Embodiment 2: This embodiment is the same as Embodiment 1, and the special features are as follows:

[0055] This embodiment is a four-source watchdog module applied to an MCU, that is, the module is embedded with four watchdog timers. The starting point of this embodiment is to design a functional module that can be embedded in the chip system. This module is designed as an IP (Intelligent Property) core structure so that it can be reused in various chip systems.

[0056] The four-source watchdog module is mainly composed of four watchdog timers, control register group, frequency division circuit, flag bit register, reset signal generation module and other parts. In this design, a total of 7 registers are used, and all registers adopt an 8-bit structure. The embedded chip environment of the four-source watchdog module is an MCU system compatible with 8051 instructions. The overall structure of the module is as follows image 3 shown.

[0057] for image 3 The detai...

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 relates to an implementation method of a multi-source watchdog of a microcontroller. The method can not only realize the purposes of finding and correcting program run-time errors of a traditional watchdog timer, but also record the positions of program sections with the errors by embedding a plurality of watchdog timers in a watchdog module and setting a special marker bit register, thereby providing great convenience to improved design for troubleshooting of application staff. The implementation method can be applied in the field of MCUs and can also be applied in the field of other microcontrollers.

Description

technical field [0001] The invention relates to a method for realizing a multi-source watchdog of a microcontroller (MCU, Microcontroller Unit). The method is mainly used for monitoring the running state of the microcontroller (MCU) and correcting running errors, and can also be applied to other The field of chip-level processors. Background technique [0002] Watchdog monitors are very common in microcontroller (MCU) applications, especially in industrial controls. On a large industrial assembly line, many machines run in an orderly manner according to a predetermined program under the control of the MCU. If due to unexpected reasons, such as pulse interference, the program runs away and the system cannot work normally and enters an endless loop, then the system must be reset immediately, otherwise it will affect production activities. Therefore, it is necessary for the operator to look after the machine, and if there is an endless loop, it must be reset manually. This a...

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/34G06F1/24
Inventor 胡越黎周谌冉峰徐晓勇杨奔杨开
Owner SHANGHAI UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More