Supercharge Your Innovation With Domain-Expert AI Agents!

Serial port interrupt processing method and device based on VxWorks system

A processing method and serial port technology, applied in the computer field, can solve the problems of reduced operating system stability, increased operating system burden, errors in the running process of serial port devices, etc., and achieve the effect of improving stability

Inactive Publication Date: 2017-12-08
LOONGSON TECH CORP
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The present invention provides a serial port interrupt processing method and device based on the VxWorks system to solve the problem that the existing serial port driver interrupt processing method will perform interrupt processing operations on other serial port devices that share the same interrupt number and have no interrupt requests, resulting in other serial port devices without interrupt requests. An error occurs during the operation of the serial port device, which increases the burden on the operating system and reduces the stability of the operating 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
  • Serial port interrupt processing method and device based on VxWorks system
  • Serial port interrupt processing method and device based on VxWorks system
  • Serial port interrupt processing method and device based on VxWorks system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] The operating system (Operating System, referred to as OS) is a computer program that manages and controls computer hardware and software resources. It is the most basic system software that runs directly on the "bare metal". Any other software must be supported by the operating system to run. . The serial port is an extended interface usi...

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 serial port interrupt processing method and device based on a VxWorks system. The method comprises the steps that an interrupt request sent by a serial port device and an interrupt number corresponding to a serial port are acquired through the serial port, the interrupt serial port device sending the interrupt request and an interrupt type corresponding to the interrupt request are searched for according to the interrupt number, and corresponding operation is executed on the interrupt serial port device according to the interrupt type. Through the technical scheme, operation is only performed on the serial port device sending the interrupt request, and therefore the problems that through existing serial port driving interrupt processing methods, interrupt processing operation is executed on other serial port devices which share the same interrupt number and do not have an interrupt request, consequently, the running process of other serial port devices without the interrupt request has an error, the burden on an operating system is increased, and the stability of the operating system is lowered are solved.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for processing serial port interruptions based on the VxWorks system. Background technique [0002] Universal Asynchronous Receiver / Transmitter (UART for short) is an asynchronous transceiver, which is a part of computer hardware. It is used as a transmission conversion tool between serial communication and parallel communication, and as a parallel input conversion A chip with serial output is usually integrated on other communication interfaces. When UART is used to transmit data, it is called a serial port. [0003] The VxWorks operating system designed and developed by Wind River Corporation of the United States is an embedded operating system, which usually improves the communication capability of the system by expanding multiple serial ports, and makes the expanded multiple serial ports share an interrupt number. Specifically, when the CPU receives the...

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): G06F13/24
CPCG06F13/24
Inventor 毛卫龙
Owner LOONGSON TECH 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