Supercharge Your Innovation With Domain-Expert AI Agents!

Code loading method and device of embedded operating system

An operating system and embedded technology, applied in the field of communication, can solve problems such as the inability to guarantee the normal use of code data, and achieve the effect of ensuring efficient operation of the system and real-time performance

Active Publication Date: 2017-05-24
ZTE CORP
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the internal Inter Ram feature cannot guarantee the normal use of the code data after the system is powered off. Because the internal Inter Ram data is lost when the power is off, it is necessary to ensure that the Inter Ram data code is normally saved before the system is powered off and sleeps, and the internal data is saved before the system is powered on and woken up. normal recovery
However, as a real-time embedded system, every time it is powered on and wakes up, 256k of code data in the Inter Ram must be restored, which is a huge challenge for the real-time performance of the system

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
  • Code loading method and device of embedded operating system
  • Code loading method and device of embedded operating system
  • Code loading method and device of embedded operating system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0031] Such as figure 1 Shown, be the main step flowchart of the method for embedded operating system code loading in the embodiment of the present invention, mainly comprise the following steps:

[0032] Step 101, acquire the current usage scenario of the embedded operating system.

[0033] In this step, the current usage scenario of the embedded operating system is obtained. Specifically, the current usage scenario of the embed...

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 code loading method and device of an embedded operating system. The method comprises the following steps that: obtaining the current usage scenario of the embedded operating system; according to a corresponding relationship between the usage scenario and a code address, obtaining the code address, which corresponds to the current usage scenario, of a code which needs to be recovered in a first memory area; according to the code address of the code which needs to be recovered, obtaining the code which needs to be recovered and a calling function; and loading the code which needs to be recovered, and loading other codes corresponding to the current usage scenario in a second memory area according to the calling function. By use of the method, the normal operation of the embedded operating system is guaranteed, and meanwhile, the real-time performance and the efficient operation of the system are guaranteed.

Description

technical field [0001] The invention relates to the communication field, in particular to a method and a device for loading an embedded operating system code. Background technique [0002] In an embedded system, when the program is executed, the assignment operation to the variable is actually a write operation to the memory. If the program is executed in the read-only memory ROM, the variable assignment operation cannot be realized, and the random access memory RAM can support random address reading and writing, so the program code is usually executed in the RAM, and the memory is a typical RAM, so Code needs to be copied from ROM to memory. [0003] When the system chooses to boot from Nandflash, the CPU automatically maps address 0x0 to Steppingstone, and at the same time copies the first 4K codes of Nandflash to Steppingstone. Since the size of Steppingstone is only 4K, and the size of the system startup program often exceeds 4K, it is necessary to copy all the booting ...

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
CPCG06F9/445
Inventor 金志涛
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More