Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Symbol locating method of embedded system

A technology of symbols and symbol tables, applied in the field of symbol positioning of embedded systems, to achieve the effect of a wide range of applications

Active Publication Date: 2008-05-14
SHANGHAI MUNICIPAL ELECTRIC POWER CO
View PDF0 Cites 33 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This type of method does provide a more effective means for fault location of embedded software without debugging information, but fault location often needs to obtain information such as classes, structures, function call stacks, and function local variables in order to be more accurate. To locate the fault, the above method is powerless to obtain this information

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
  • Symbol locating method of embedded system
  • Symbol locating method of embedded system
  • Symbol locating method of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] Embodiment 1, implement under pSOS embedded real-time operating system environment, at first write test example code, as figure 2 As shown, design a simple test class MyTestClass, which has a private integer variable i, a constructor and a destructor, and a public member function SetI used to set the variable i; define a global object instance g_mytest, Call the test function test in the main function, and the value of the private variable i is set to 0xfeedfeed; then use the fault diagnosis tool developed based on the technical solution of the present invention to check the data of g_mytest, check the correctness of the global object g_mytest data, and can check The function stack of the root task checks the correctness of functions, local variables, and task call stacks. The specific implementation steps are as follows, see figure 1 :

[0028] 101: In the pSOS integrated development environment, use the diab compiler to compile the debug version and release version ...

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 relates to a denotation positioning method of an embedding type system which comprises that: (1). the invention creates denotation table information files of debugging version, denotation type information files and denotation table information files of issuing version; (2). the invention creates denotation type information databases with debugging version and issuing version by taking the denotation names as the key words; (3). the invention searches the denotation type information databases according to the denotation names and decomposes the type structures, so as to get the physical positions of the denotation in an object machine. The invention is used for the denotation positioning realizing of various embedding type software versions in the object machine terminals and provides flexible choosing space to the issuing of the embedding type applying system. The invention not only can search and amend the global variable, but also can search and amend information such as the structure, genus, function, partial variable when in use, thereby providing rich failures positioning assisting method to the embedding type applying system. The invention is not limited by any complier, debugger and operation system.

Description

technical field [0001] The invention relates to an embedded system, in particular to symbol positioning of the embedded system. Background technique [0002] The embedded system is application-centric, based on computer technology, and the software and hardware can be tailored. It is suitable for special-purpose computer systems that have strict requirements on function, reliability, cost, volume, and power consumption. It is generally composed of four major parts: embedded microprocessor, peripheral hardware devices, embedded operating system and embedded application program, and is used to realize functions such as control, monitoring or management of other devices. [0003] Embedded system development is different from general-purpose desktop-based program development. Since desktop computers have abundant computing, storage and peripheral resources, program development, debugging, and testing are all performed on the same computer; but for embedded systems, since the co...

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): G06F11/36
Inventor 李巍黄海伦李小伟
Owner SHANGHAI MUNICIPAL ELECTRIC POWER CO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products