A kind of identification method, device and SOC system for CPU program running away

A program and monitoring device technology, applied in response to error generation, instrumentation, error detection/correction, etc., can solve the problems that the SOC system cannot effectively monitor the program for various reasons, and the CPU program runs away, etc., to facilitate debugging and testing, The effect of reducing unnecessary losses

Active Publication Date: 2022-02-18
HONGQIN (BEIJING) TECHNOLOGY CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In order to overcome the problem in the prior art that the SOC system cannot effectively monitor program errors due to various reasons, the present invention provides a method, device and SOC system for identifying CPU program runaway

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
  • A kind of identification method, device and SOC system for CPU program running away
  • A kind of identification method, device and SOC system for CPU program running away

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] As introduced in the background art, there is a problem in the prior art that the SOC system cannot effectively monitor program errors due to various reasons, and a method, device and SOC system for identifying runaway CPU programs are provided. The invention effectively debugs the SOC system or quickly restores the operation of the SOC system, and improves the response speed of the SOC system.

[0045] In a typical implementation of the present application, the following technical solutions are adopted:

[0046] like figure 1 as shown,

[0047] A kind of SOC system, described SOC system is based on above-mentioned a kind of discriminating method of running away of CPU program, comprises internal memory, external memory, CPU, also comprises described CPU running away monitoring device, described internal memory, external memory, CPU It is connected with the CPU running and flying monitoring device through the system bus, and the CPU coordinates and manages the configu...

Embodiment 2

[0051] As introduced in the background art, there is a problem in the prior art that the SOC system cannot effectively monitor program errors due to various reasons, and a method, device and SOC system for identifying runaway CPU programs are provided. The invention effectively debugs the SOC system or quickly restores the operation of the SOC system, and improves the response speed of the SOC system.

[0052] In a typical implementation of the present application, the following technical solutions are adopted:

[0053] like figure 2 as shown,

[0054] A discriminating device for runaway CPU programs, which is applied to SOC systems, the discriminating device for runaway CPU programs adopts a CPU runaway monitoring device deployed on a system bus and configured by CPU coordination management, and the CPU runaway monitoring device Configure hardware trap address space and trap codes, the CPU runaway monitoring device monitors the addressing address on the CPU system bus in r...

Embodiment 3

[0057] As introduced in the background art, there is a problem in the prior art that the SOC system cannot effectively monitor program errors due to various reasons, and a method, device and SOC system for identifying runaway CPU programs are provided. The invention effectively debugs the SOC system or quickly restores the operation of the SOC system, and improves the response speed of the SOC system.

[0058] In a typical implementation of the present application, the following technical solutions are adopted:

[0059] like figure 2 as shown,

[0060] A method for discriminating CPU programs running away, which is applied to a SOC system, the SOC system includes a CPU running away monitoring device deployed on a system bus and configured by CPU coordination management, and a hardware trap address is configured in the CPU running away monitoring device Space and trap codes, the identification methods of the CPU program running away include:

[0061] (1) configure the hardw...

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 present invention relates to a method, device and SOC system for discriminating runaway CPU programs. The SOC system includes a CPU runaway monitoring device deployed on the system bus and configured by CPU coordination management. The CPU runaway monitoring device is configured with hardware Trap address space and trap code, the discriminating method of this CPU program running away comprises: configure the hardware trap address space and trap code of CPU running away monitoring device, and preset trap hit function; Monitor CPU in real time by described CPU running away monitoring device The addressing address on the system bus; quickly identify the runaway of the CPU program, and realize different operations according to the hit function set in the CPU runaway monitoring device. When the CPU runs away, respond in real time according to the preset operation behavior to correct the error; it is convenient for debugging and testing during SOC development, and quickly locates difficult problems; it is convenient for real-time detection of system error running status in SOC chip application scenarios, minimizing Unnecessary loss caused by system failure.

Description

technical field [0001] The invention belongs to the technical field of SOC system development, and in particular relates to a method and device for discriminating CPU program running away and an SOC system. Background technique [0002] The development and application of SOC system is more and more extensive, and has been extended to all walks of life. The SOC system is highly specific, so how to ensure the stable and controllable operation of the system is very important. However, in embedded development and actual higher real-time application scenarios, due to bugs in the program itself or some external interference, sometimes the CPU core scheduler in the MCU of the SOC system will fail, resulting in a system crash. [0003] To sum up, in the prior art, there is still no effective solution to the problem that the SOC system cannot effectively monitor program errors due to various reasons. At this time, a method for quickly detecting the running of the CPU program is nee...

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 Patents(China)
IPC IPC(8): G06F11/07G06F11/30G06F11/36
CPCG06F11/0751G06F11/3027G06F11/3636
Inventor 张涛
Owner HONGQIN (BEIJING) TECHNOLOGY CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products