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

A Dynamic Module Debugging System for Embedded Systems Based on Host-side Dynamic Link

An embedded system and dynamic link technology, applied in software testing/debugging, etc., can solve problems affecting user experience, reduce debugging performance, increase interaction frequency, etc., and achieve the effect of efficient debugging solutions

Active Publication Date: 2021-06-04
BEIJING INST OF COMP TECH & APPL
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This method undoubtedly increases the frequency of information interaction between the host computer and the target computer during the debugging phase, reduces debugging performance, and affects user experience
In addition, the host-side debugging process depends on the implementation of the target machine's file system and dynamic loader, which reduces the versatility and portability of the host-side debugging function

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 Dynamic Module Debugging System for Embedded Systems Based on Host-side Dynamic Link
  • A Dynamic Module Debugging System for Embedded Systems Based on Host-side Dynamic Link
  • A Dynamic Module Debugging System for Embedded Systems Based on Host-side Dynamic Link

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] In order to make the purpose, content, and advantages of the present invention clearer, the specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0022] figure 1 It is an overall hierarchical structure diagram of the embedded system dynamic module debugging system based on the host end dynamic link of the present invention, as figure 1 As shown, the present invention proposes a dynamic module debugging method for an embedded system based on a host-side dynamic link. The realization of this method requires the host machine 1 and the target machine 2 to work together to complete.

[0023] Such as figure 1 As shown, the modules of the host machine 1 include: a project management module 11, by adding the compilation option -r in the project properties when creating a new project, specifying that the project is compiled to generate a relocatable target file. The dy...

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 dynamic module debugging system for an embedded system based on a host end dynamic link, which includes: a host machine and a target machine; the host machine includes: a project management module, which is used to generate a specified project after compilation Relocatable object files; dynamic linker, used by the host to generate absolutely positionable object files according to the actual address of symbols fed back by relocatable files, link scripts, and target machines; GDB debugger, used by users through commands or graphics Send debugging commands in a standardized way; the host computer support platform is used as the communication interface between the host computer and the target computer; the target computer includes: a dynamic loader, which is used to manage all symbols on the target computer; a dynamic linker proxy module, which is used to communicate with the target computer The interaction of the host dynamic linker provides services for the dynamic linker to complete the dynamic link; the debugging agent module is used to control the running of the debugged program by receiving the debugging commands of the GDB debugger; the target machine support platform is used as the target machine The communication interface with the host is network.

Description

technical field [0001] The invention belongs to the field of computer embedded software, in particular to an embedded system dynamic module debugging system based on a host end dynamic link. Background technique [0002] Dynamic linking is a technology relative to static linking. Dynamic linking does not link the object files that make up the program during the compilation phase, but postpones the linking process until runtime. For embedded systems with limited resources, dynamic link technology can effectively solve the problem of wasting disk and memory space due to multiple copies of shared target files, and can also reduce the swapping in and out of physical pages, increase the hit rate of CPU cache, and can also Make program upgrades easier. [0003] The basic idea of ​​dynamic linking determines that the address of the function and variable in the corresponding object file of the dynamic module is a relative address, and its real address can only be generated when th...

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/36
Inventor 张记强瞿秋薏张杨孟庆磊
Owner BEIJING INST OF COMP TECH & APPL
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