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

Debugging system and debugging method for embedded system in production stage

A technology for embedded systems and debugging systems, applied in software testing/debugging, etc., to achieve the effects of reducing after-sales maintenance costs, improving stability, and improving quality

Active Publication Date: 2011-12-14
SAMSUNG ELECTRONICS CHINA R&D CENT +1
View PDF4 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At the same time, the impact on the embedded system must be minimized when applying the production-stage debugging method

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
  • Debugging system and debugging method for embedded system in production stage
  • Debugging system and debugging method for embedded system in production stage
  • Debugging system and debugging method for embedded system in production stage

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be understood that exemplary embodiments of the present invention are shown herein to facilitate understanding of the present invention, but these embodiments are for illustrative purposes only and are not intended to limit the present invention to the embodiments described herein. Also, descriptions of elements and functions known to those skilled in the art are omitted from the following description for clarity and conciseness.

[0020] figure 1 It is a schematic diagram showing the structure of an embedded system to which the monitoring and debugging method according to the embodiment of the present invention is applied. Such as figure 1 As shown, the system includes a development host and a running target machine.

[0021] In the development host, including embedded product development source code, compiler and linker. Wherein, the compiler inclu...

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 provides a debugging system and a debugging method for an embedded system of a production phase. The debugging method comprises the following steps: when compiling and connecting are carried out, a production system binary file for releasing is generated and simultaneously a binary dynamic code file used for debugging is also generated by use of debugging codes; when a release build binary file is generated, the debugging code in the code is not included, and any dummy instructions, call instructions or stub code cannot be generated, and when a binary file for debugging is generated, corresponding debugging point address information is also generated and included; when the debugging system runs, a dynamic instruction loading tool lists all of the debugging point lists; a user selects or changes the required debugging point as required; and finally, the dynamic instruction loading tool loads and runs the corresponding debugging code of the debugging point designated by the user through dynamically modifying the running release build software.

Description

technical field [0001] The present invention relates to the debugging technology of the embedded system, more specifically, to the debugging system and the debugging method of the embedded system in the production stage. Background technique [0002] In the development stage of the embedded system, the debugging and debugging (DEBUG) system is usually used, which can output debugging information related to the operation of the embedded system, including execution context, variables, registers, memory stack, etc. Debug information can be output on the system console or saved in the debug log for later analysis. For the production stage of embedded systems, due to the performance and memory overhead of the debugging system, the debugging function is usually removed in the product release version. [0003] In the prior art, monitoring and debugging code is sometimes included in embedded systems, even in release versions, where the product specification allows, in order to pres...

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 SAMSUNG ELECTRONICS CHINA R&D CENT
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