Rapid positioning method of internal storage boundary crossing errors of embedded system

A technology of an embedded system and a positioning method, which is applied in the field of rapid positioning of memory out-of-bounds errors in embedded systems, and can solve problems such as long memory checking time and so on.

Active Publication Date: 2013-01-09
FENGHUO COMM SCI & TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The technical problem to be solved by the present invention is to solve the problem that it takes a

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
  • Rapid positioning method of internal storage boundary crossing errors of embedded system
  • Rapid positioning method of internal storage boundary crossing errors of embedded system
  • Rapid positioning method of internal storage boundary crossing errors of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The embedded system memory out-of-bounds error fast positioning method provided by the present invention monitors several out-of-bounds use memory areas configured on the programmable logic device, and generates an interruption when any out-of-bounds use memory area is accessed, and the CPU judges the current task according to the interruption And whether it is legal to access the function that uses the memory area out of bounds, and output the address of the function and instruction that caused the memory out of bounds. The present invention will be described in detail below in conjunction with the accompanying drawings.

[0028] figure 1 Be the flow chart of the present invention, as figure 1 As shown, the method for quickly locating memory out-of-bounds errors in an embedded system includes the following steps.

[0029] Step 1: Set several out-of-boundary use memory areas and task sets and function sets for legally accessing the above memory areas on the programm...

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 rapid positioning method of internal storage boundary crossing errors of an embedded system, which comprises the following steps of: monitoring several boundary crossing use internal storage areas through the programmable logic device, and producing interruption when the boundary crossing use internal storage areas are visited, wherein the internal storage areas are configured on a programmable logic device; querying the executing current task before interruption through a central processing unit (CPU), and obtaining a function for visiting the boundary crossing use internal storage areas; and determining whether the function causes the internal storage boundary crossing or not according to a legal visit task set and a legal visit function set configured on the programmable logic device, and outputting the task of the function causing the internal storage boundary crossing and an instruction address. The rapid positioning method can fast determine the task which causes the internal storage boundary crossing errors and the specific function which is directly called by the task to cause the internal storage boundary crossing errors, therefore, the time for troubleshooting the concealed errors of the embedded system can be reduced, and the efficiency of the system debugging can be improved.

Description

technical field [0001] The invention relates to an embedded system, in particular to a fast positioning method for an embedded system memory out-of-bounds error. Background technique [0002] Memory out-of-bounds error is a relatively common error in software, and it is also a very fatal error. The wide application of C language is a double-edged sword. The advantage is that it enables a large number of people who have not received professional education to quickly master programming, possess certain software design capabilities, and greatly shorten the software coding process. The disadvantages are: Either due to the pressure of the project schedule, or due to the programmer's mistakes, many software errors that should be eliminated in the compilation stage have not been discovered by the compilation system; or have been discovered and output warning messages, but are ignored by the programmer; finally It evolves into a serious operation error, and most of the memory out-o...

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/36
Inventor 戴锦友余少华汪学舜刘志炉黄婷熙朱国胜
Owner FENGHUO COMM SCI & TECH 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