Method and system for determining EMS memory occupation of software

A memory occupation and memory technology, applied in memory address/allocation/relocation, program loading/starting, program control devices, etc., can solve problems such as cost increase, waste of manpower and material resources, single board, etc., to increase available memory and save cost, the effect of reducing the waste of memory space

Inactive Publication Date: 2010-08-18
于京杰
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] With the increase of application software functions, the application software requires more and more memory. In the case of constant hardware, due to the fixed size of the available memory, the application software memory will be insufficient, which will cause the application software to fail to run.
Or, although the memory required by the application software is sufficient, the size of the application software exceeds the size of the above-mentioned fixed address to the highest address space of the memory, that is, the memory reserved for the image of the application software itself is not enough, and the embedded The system boot software will not be able to guide this application software, so the boot software, or application software, or even the single board has to be replaced, resulting in increased costs and waste of manpower and material resources

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
  • Method and system for determining EMS memory occupation of software
  • Method and system for determining EMS memory occupation of software
  • Method and system for determining EMS memory occupation of software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the purpose, technical solution and advantages of the present invention clearer, a method and system for determining the memory usage of software according to the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0031] As shown in Figure 1, a method for determining the memory usage of software of the present invention is described in further detail below:

[0032] A kind of method that determines software memory occupation in the embodiment of the present invention, the explanation that carries out with the embedded system 40 of AM186CC CPU as example, the internal memory of this embedded system 40 is 0x80000 byte (hexadecimal), compiling, connecting The software tools adopt BC4.5 and Paradigm. Those skilled in the art can unde...

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 method and a system, which are used for determining memory occupying of software. The method comprises the following steps: A. the layout of application software in the memory and the size of the application software are configured by the size of code in the compiled application software; B. a target origin address of an image of in the memory of the application softwareis determined according to the size of the application software, and the operation of valid code of the application software is guided to run according to the layout of the application software in the memory. The invention reduces the memory space occupied by the image of the application software, increases the available memory space of the application software, can be compatible with applicationsoftware with different sizes and avoids the problem that guidance software and even a single board are replaced on a project, thus saving the cost without causing the waste of manpower and material resources.

Description

technical field [0001] The invention relates to the technical field of embedded systems, in particular to a method and system for determining the memory occupation of software in the embedded system. Background technique [0002] In engineering single boards (such as communication single boards, etc.), a simplified operating system, that is, an embedded system, is often used on the single board to complete a single function on the single board. [0003] The software in the embedded system includes boot (BOOT) software and application (APP) software. Generally, the boot software is stored in a read-only memory, and the application software is stored in a memory such as a flash memory. After the embedded system is powered on, first run the boot software, and the boot software completes the initialization of hardware such as the CPU, and then reads the application software from the Flash memory and copies it to the memory. The application software saves a copy of the image in ...

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): G06F12/02G06F9/445
Inventor 钟桂贤
Owner 于京杰
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