Method for realizing hardware register based on built-in applied system

A technology of application system and register, applied in the direction of software testing/debugging, etc., to achieve good reusability, convenient development and debugging

Inactive Publication Date: 2009-05-06
ZTE CORP
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In order to overcome the problems existing in the prior art, the present invention proposes a method to solve the problem of operating embedded device hardware registers when embedded software runs in a PC environment.

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 realizing hardware register based on built-in applied system
  • Method for realizing hardware register based on built-in applied system
  • Method for realizing hardware register based on built-in applied system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The method of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0025] like figure 1 The specific steps of the file-based hardware register simulation method are as follows:

[0026] The first step: analyze the hardware, find out the types of registers with different read and write characteristics and clearly describe their characteristics and determine their characteristic identifiers;

[0027] Step 2: Create a file and add all feature identifiers to the file;

[0028] Step 3: Add the address of the register and the value of the register to the end of the characteristic identifier corresponding to the operating characteristic of the register in the file, and in front of the next characteristic identifier, as a record;

[0029] Step 4: Define an identifier in the embedded application software to distinguish the register operation function to be called by the embedded application software running in the embedded ha...

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 present invention discloses a hardware register realizing method based on embedded application system, comprising the following steps that: hardware registers in different reading-writing characteristics are found, and the characteristics as well as the characteristic identifiers of the hardware registers are determined; a file is built, and the characteristic identifiers are added into the file; the addresses and the values of the hardware registers are added into the file as a record; an identifier used for distinguishing the operation function of the hardware registers from the file operation function is defined; the operation function of the file is realized. The present invention provides an ideal solution for debugging the development and the detachment of embedded software from embedded hardware. The present invention is simple and easy to be implemented, only has the least additional code insertion amount in application code, uses uniform interfaces, has very good reusability, can be used in different projects, and provides great convenience for the development and debugging of embedded software.

Description

technical field [0001] The invention relates to the field of research and development of embedded application systems, in particular to a method for emulating hardware registers to realize the development and debugging of embedded software in advance without a hardware platform. [0002] The invention is applied in the research and development process of the embedded application system. Background technique [0003] In today's wave of informatization, more and more electrical equipment, from ordinary household appliances to complex communication equipment and robots, is endowed with more and more intelligence, which is called intelligent machines. In these smart machines, there is one thing in common, that is, embedded software. It is the existence of this embedded software that makes these machines more and more intelligent. [0004] The development of embedded software is different from the development of pure software. As long as there is a PC, the entire development pr...

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 ZTE CORP
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