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

Debugging method for applied programm in simulator of embedded system

A technology for embedded systems and debugging applications, applied in the direction of software testing/debugging, etc., can solve the problems affecting the performance of the simulator and cannot be used, and achieve the effect of improving the response speed and performance.

Inactive Publication Date: 2008-01-30
ZHEJIANG UNIV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Utilizing the characteristics of the computer system simulator, debugging embedded software on the simulator has become a solution to the problem of debugging embedded systems, but the existing debugging technology based on simulators can only be debugged and run on embedded systems. The operating system on the emulator, but can do nothing to the application program on the operating system, which limits the space for emulator-based debugging technology to play a role; or by additionally running a debugger on the operating system, such as gdb, but if the operation If there is no debugger (such as ucLinux) available on the system, it cannot be used; or run a debugger agent on the operating system, such as gdb server, but require the emulator to support virtual network connections and the operating system must implement network protocols such as TCP / IP Stack, and these requirements cannot be met by many embedded operating systems. Instantly satisfying them also increases the programs executed by the simulator and affects the performance of the simulator.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In an ARM simulator, the interpretation and execution of ARMv4 version instructions is realized, and the AT91EV40 development board of Atmel Company is simulated, on which ucLinux version 2.0.0 can run. When compiling this version of ucLinux, the kernel symbol file is generated as / boot / system.map. The name of the program to be debugged is assumed to be debuggedproc, the debugger is debugger, and the name of the simulator is simon. The symbol analysis loading module, virtual memory access module, and debugging proxy module are implemented in the simulator. At the same time, the debugging interface module is included in the independently running debugger client, which communicates with the debugging agent module of the emulator through sockets, and the communication format follows the GDB remote debugging protocol.

[0015] 1) The debugger determines the process ID of the program to be debugged debuggedproc on the target operating system by analyzing the process list obt...

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

A method for debugging application program on simulator in embedded system includes fetching out core symbol file generated during compile of operation system to obtain process control block information of application program in simulator memory as result to obtain control ability of corresponding application program for realizing the debugging of application program operated in simulator and above operation system.

Description

technical field [0001] The invention relates to computer program debugging technology, in particular to a method for debugging application programs on an embedded system simulator. Background technique [0002] With the popularization of embedded devices, such as personal digital assistants (PDAs), mobile phones, etc., a large number of applications based on portable mobile devices have emerged. However, applications on embedded devices are generally developed in a heterogeneous machine environment with the target platform, and cannot be debugged in the development environment, and hardware emulation devices for development and evaluation of embedded devices are generally expensive, so debugging has become a constraint An important factor in embedded software development. [0003] Computer system simulator technology is a technology that simulates the hardware characteristics of the target architecture computer and its instruction execution process in a computer of a certai...

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 ZHEJIANG UNIV
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