Implementation method of multi-source watchdog of microcontroller
A technology of microcontrollers and implementation methods, applied in hardware monitoring, data reset devices, etc., can solve the problems of spending a lot of time searching and being unable to inform the user of the location where the program runs away
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 