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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 