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

Method for realizing 8-bit embedded CPU (central processing unit) simulation running environment by aid of Java

An operating environment, embedded technology, applied in software simulation/interpretation/simulation, program control devices, etc., can solve the problems of 8-bit embedded system design, development and maintenance difficulties, improve the efficiency of design, development and debugging, easy to deploy Effect

Active Publication Date: 2012-06-20
武汉武钢绿色城市技术发展有限公司
View PDF4 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method for Java to realize 8-bit embedded CPU simulation operating environment, and to solve the defects of difficult design, development and maintenance of existing 8-bit embedded systems

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 8-bit embedded CPU (central processing unit) simulation running environment by aid of Java
  • Method for realizing 8-bit embedded CPU (central processing unit) simulation running environment by aid of Java

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In the method, an instruction interpreter, a virtual processor, a virtual memory, a virtual stack manager, a virtual input and output device, and a Java graphical user interface of an 8-bit embedded CPU system are respectively generated on the virtual machine through Java class files.

[0026] The instruction interpreter completes the translation of the embedded system program code, and converts it into the corresponding equivalent Java function code that can be executed in the memory of the Java virtual machine. Virtual processor is used to simulate stack data management and input and output device management in virtual machine memory; virtual memory is used to simulate memory read and write functions in virtual machine memory, simulating the physical operation effect of embedded system memory; virtual stack management The device is used to simulate the stack operation in the virtual machine memory, and simulate the physical operation effect of the embedded system stack...

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 realizing an 8-bit embedded CPU (central processing unit) simulation running environment by the aid of Java comprises an embedded system program code instruction interpreter, a virtual embedded processor, a virtual memory, a virtual stack manager and virtual input and output equipment. The virtual embedded processor is realized based on corresponding Java function codes. Simultaneously, an embedded system program instruction stack is realized by the aid of the Java and is used for managing execution sequence of embedded system programs, and finally, a visual embedded system simulation running result is provided for a user by the aid of a Java graphical user interface. The method supports Windows / Linux / Unix operation environments, and can be easily deployed in a PC (personal computer), online debugging is carried out via a network by the aid of advantages of the Java network, design, development and debugging efficiency of an embedded system is greatly improved, and the method is widely applicable to design, development, debugging and maintenance of industrial automatic embedded systems, and is an effective technical means for simulation development and testing.

Description

technical field [0001] The present invention relates to a method for realizing 8-bit embedded CPU simulation operating environment through Java, so as to directly execute embedded program code specially written for 8-bit embedded CPU, and its execution effect is like a real 8-bit embedded CPU hardware Same. Background technique [0002] In industry, manufacturing and other industries, embedded systems are widely used to realize automatic production control and process automation. Embedded systems use a large number of 8-bit embedded CPU environments (single-chip microcomputers). When developing programs for these embedded systems, running tracking and debugging are more complicated, and special hardware development boards and other equipment are required, which is costly and not easy. Installation and deployment, which brings great difficulties to the design, development and maintenance of embedded systems. Therefore, being able to provide an 8-bit CPU embedded system sim...

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/455
Inventor 张新
Owner 武汉武钢绿色城市技术发展有限公司
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