Method for dynamically loading application program of embedded system

An embedded system and application program technology, applied in the direction of program loading/starting, program control devices, etc., can solve problems such as high cost, low efficiency, and difficult implementation, and achieve the goals of reducing demand, improving operating efficiency, and reducing operating difficulty Effect

Inactive Publication Date: 2012-07-04
沈阳新邮通信设备有限公司
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is to provide a method for dynamic loading of embedded system application programs in order to overcome the defects of high difficulty in implementation, high cost and low efficiency of the prior art

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 for dynamically loading application program of embedded system
  • Method for dynamically loading application program of embedded system
  • Method for dynamically loading application program of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The preferred embodiments of the present invention are given below in conjunction with the accompanying drawings to describe the technical solution of the present invention in detail.

[0042] First of all, divide the ROM and RAM space occupied by the operating system and application programs.

[0043] For example, set the address range as follows:

[0044] ROM space:

[0045] OS: 0x00000000-0x000FFFFF

[0046] Application 0x100000-0x8FFFFF

[0047] RAM space:

[0048] OS: 0x00000000-0x00100000

[0049] Application 0x100001-0x300001

[0050] In this way, the application firmware files can be burned into a fixed area, thereby ensuring that the areas occupied by the operating system overlap.

[0051] figure 1 It is a flowchart of a method for dynamically loading an embedded system application program in the present invention. Such as figure 1 As shown, the method includes the following steps:

[0052] Step 100, start the embedded device.

[0053] Step 101, divi...

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 for dynamically loading an application program of an embedded system, which comprises the following steps: S1, starting an embedded device and dividing an ROM (read only memory) space and an RAM (random access memory) space respectively occupied by the operating system and the application program; S2, determining the function interface between the operating system and the application program; S3, storing a firmware document of the application program in a built-in external storage space of the embedded device, and connecting the embedded device; S4, burning firmware document of the application program to the ROM space of the application program; and S5, initializing the function interface, wherein the operating system loads the application program dynamically. The method of the invention stores the firmware document of the application program in the own external storage space of the embedded device and dynamically loads the function interface between the operating system and the application program so that the ROM space of a chip is low in demand, and the research and development cost is reduced. In addition, the burning time is shortened and the debugging speed is improved.

Description

technical field [0001] The invention relates to a method for dynamically loading an application program, in particular to a method for dynamically loading an embedded operating system application program. Background technique [0002] At present, many embedded operating systems do not support dynamic loading technology, such as UC / OS, ThreadX, RTK, etc. When developing application programs based on these embedded operating systems, both the application program and the operating system are usually placed in a firmware file, that is, the application program does not exist independently. Then, the user also needs to burn the firmware files containing the operating system and application programs into the product. [0003] This not only increases the difficulty of the user's use, but also increases the ROM space requirements of the chip, thus leading to an increase in research and development costs. [0004] In addition, it is very inconvenient when debugging. This method nee...

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): G06F9/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