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

CPU reset control method and system and storage medium

A control method and controller technology, which are applied in the fields of systems and storage media, and control methods for CPU reset, and can solve the problems of DDR2 being powered on and off alone, the embedded system cannot be started, and cannot be realized.

Active Publication Date: 2020-05-29
GENEW TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

If it is reset by the watchdog, it may not be possible to implement these operations at all
[0003] At the same time, the early DDR2 (DDR=Double Data Rate, double rate, DDR SDRAM=double rate synchronous dynamic random access memory, people used to call it DDR, which is usually called running memory, DDR2 is the second generation DDR) memory, is not With hardware reset function, if the reset is forced, the internal state of the DDR2 chip may be wrong, the memory reads and writes are inconsistent, the CPU cannot execute instructions correctly, and the embedded system can no longer be started unless the power is turned off and restarted
In general hardware design, it is not good to power on and off DDR2 separately. Once the embedded system cannot be restarted normally, the device will be paralyzed in an unattended environment. Unless manual intervention, the consequences are very serious.

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
  • CPU reset control method and system and storage medium
  • CPU reset control method and system and storage medium
  • CPU reset control method and system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0035] The control method of CPU reset described in the preferred embodiment of the present invention, such as figure 1 As shown, the control method of the CPU reset includes:

[0036] Step S10, before the monitoring chip or the CPLD logic resets the CPU, the CPLD sends an external interrupt signal to the CPU;

[0037] Step S20, the CPU responds to the external interrupt signal, and in the interrupt service program, closes all modules, DDR2 controllers, and clock signals sent to DDR2 by the CPU that will access the DDR2;

[0038] Step S30, the CPU executes writing the CPLD register acc...

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 CPU reset control method and system and a storage medium, and the method comprises the steps: enabling a CPLD to transmit an external interruption signal to a CPU before a monitoring chip or the CPLD logic resets the CPU; enabling the CPU to respond to the external interrupt signal, and closing all DDR2 modules to be accessed by the CPU, a DDR2 controller and a clock signal sent to the DDR2 in an interrupt service program; enabling the CPU to execute writing of a CPLD register according to part of the instructions locked in the instruction cache and confirms resetting; and enabling the CPLD to pull down the hardware reset pin of the CPU, truly resetting the CPU, and if the monitoring chip is reset, pulling down the hardware reset pin of the CPU after time delay,and truly resetting the CPU. According to the method, before the CPLD needs to reset the CPU, all accesses to the DDR2 memory are closed by the CPU, and after the CPLD delays for one second and the interior of the DDR2 is not accessed, the CPU is reset.

Description

technical field [0001] The invention relates to the technical field of computer embedded drive, in particular to a CPU reset control method, system and storage medium. Background technique [0002] Embedded environments, like ordinary desktop systems, often restart the entire system. Windows and linux desktop systems generally reset the system by manually clicking or commanding. When resetting, various resources will be closed to save files, etc., to prevent file damage or even disk damage. When the embedded system needs to be reset, it may be directly controlled by the monitoring chip (commonly known as watchdog, watchdog, which is essentially a timer circuit, generally has an input and an output, and the input is called feeding the dog. The output is generally connected to the reset terminal of another part, usually connected to the single-chip microcomputer; the function of the watchdog is to check the internal situation of the chip regularly, and once an error occurs, i...

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): G06F1/24
CPCG06F1/24
Inventor 梁栋吴闽华孟庆晓秦金昆刘文清
Owner GENEW TECH