Unlock instant, AI-driven research and patent intelligence for your innovation.

Dual-core system on a chip and a virtual serial communication method thereof

A technology of virtual serial port and communication method, which is applied in the on-chip dual-core system and its communication field, can solve the problems of inability to guarantee real-time data, low data transmission efficiency, and slow data transmission speed, shorten the product development cycle, and contribute to the reliability Effect of Portability, Increased Throughput and Data Transfer Speed

Inactive Publication Date: 2019-02-15
NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Its shortcomings are: the speed of data transmission between dual cores is slow, and the real-time performance of data cannot be guaranteed; the data throughput is limited, and the efficiency of data transmission is low; from the perspective of program portability, using / dev / mem for memory access requires Redesign the program architecture to meet the processing of the upper layer protocol, which is not convenient for program porting

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
  • Dual-core system on a chip and a virtual serial communication method thereof
  • Dual-core system on a chip and a virtual serial communication method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The present invention will be further described below in conjunction with the accompanying drawings. The following examples are only used to illustrate the technical solution of the present invention more clearly, but not to limit the protection scope of the present invention.

[0020] Such as figure 1 Shown is a schematic structural diagram of a dual-core system on chip provided by an embodiment of the present invention, including two processor cores and shared memory. The shared memory is configured with a data receiving channel and a data sending channel. Each of the two processor cores is configured with a virtual serial port.

[0021] The method of configuring the virtual window for the processor core is as follows:

[0022] Under the Linux system, add the configuration of the virtual serial port in the dts file

[0023]

[0024] The Linux system will generate a node named ttyocm0 under the / dev / directory, which is a virtual serial port. The two processor ...

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 an on-chip dual-core system and a virtual serial port communication method thereof. The system comprises two processor cores and a shared memory. The two processor cores are each provided with a virtual serial port. The shared memory is provided with a data receiving channel and a data sending channel. The method comprises the following steps: a processor core which pre-transmits data sends an interrupt signal to another processor core through a virtual serial port, and the other processor core realizes data transmission between the two processor cores by responding tothe interrupt. The invention encapsulates the reading and writing of the shared memory in the sending and receiving operation of the serial port, which can improve the data throughput and the data transmission speed, thereby improving the data transmission efficiency. Dual cores transmit data by sending hardware interrupt signals, which enhances the real-time response of data between dual cores ona chip. Virtual serial port is implemented by software, which does not need to occupy hardware resources and exists as a device node of Linux system. It is convenient to call the application layer, which is helpful to the portability of application layer program and shorten the product development cycle.

Description

technical field [0001] The invention relates to an on-chip dual-core system and a communication method thereof, belonging to the technical field of computers. Background technique [0002] The continuous maturity of embedded technology and the continuous improvement of the industry's demand for miniaturization and individualization of industrial equipment have prompted more and more industrial equipment control systems to adopt embedded system design. The biggest feature of industrial equipment control is the high requirement for real-time performance of the system. Under normal circumstances, there are often many tasks with different real-time requirements in the control process, and the proportion of processor time occupied by different tasks is also quite different. Therefore, how to effectively meet and improve the real-time performance of the system has become the focus of research. With the continuous promotion of dual-core architecture and the continuous maturity of ...

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
IPC IPC(8): G06F9/54G06F15/167
CPCG06F9/544G06F15/167
Inventor 张学庆
Owner NANJING GUODIAN NANZI WEIMEIDE AUTOMATION CO LTD