VxWorks Programming Guide

zhaozj2021-02-16  44

VxWorks Programming Guide

1 Overview

1.1. Introduction

This manual tells VxWorks, VxWorks is a high-performance real-time operating system for Tornado development systems. This manual includes the following:

l How to use VxWorks in real-time applications.

l How to use VxWorks's optional component WIND base class, VXMP, and VxVMI.

l How to configure and compile VXWORKS without using the project.

l How to use VxWorks's Target resident tools.

l VxWorks related information about all architectures.

l Wind River System C and C coding specifications.

The sections describing how to install and launch VxWorks in the Tornado development system are listed in this chapter. Then outline the role of VxWorks in real-time applications, VxWorks features, Wind River System's customer service, and writing agreement in this chapter.

1.2. Item Tornado Development System

The following sections provide help information about installing and configuring the Tornado development system (including VxWorks). The configuration information depends on your development host is Windows or UNIX; thus "Tornado User Guide" is the platform.

(Omit)

1.3. Vxworks: Assistant for real-time application development

All Unix and Windows are well applying and interactive operating system platforms, however they are not suitable for real-time applications. On the other hand, the past real-time operating systems do not provide a good operating environment for non-real-time components (such as to GUI) for application development and applications.

Wind River philosophy is to use two mutually collaborative operating systems to supplement each other's shortcomings (such as VxWorks and Windows or VxWorks and UNIX), so that they do their best. VxWorks provides real-time for applications, while hosts are used to develop and run non-real-time applications.

VxWorks is crop, you can cut VxWorks to only the parts you need to include your app. In the development period, in order to facilitate your development, you can join the network part when you issue the final version. In order to save resources, you can easily remove the network components.

You can use the cross-developed host to edit, compile, connect, and store real-time application execution code, then run and debug real-time applications on VxWorks. The final VxWorks application can run independently (from the ROM or disk), no longer need a network or host.

Of course, the host and VxWorks can work together in a hybrid application, and the host uses VxWorks as a real-time server in the network environment. For example, the VxWorks system controls the robot, and it is the expert system controlled on the host.

Or several VxWorks systems control the manufacturing equipment, and it itself is connected to the host, using the host to track inventory lists or generate reports.

1.4. VxWorks Parts Overview

This section outlines the VxWorks part, we will describe the components in detail in the following chapters. For detailed details of the components, please refer to the relevant chapter.

l High performance real-time core components

VxWorks core, Wind, including priority scheduling multitasking, synchronous mechanism, communication mechanism, interrupt processing, timer, and memory management.

l Posix compatibility parts

VxWorks provides most of the interfaces specified in 1003.1b.

L I / O system

VxWorks offers a fast and flexible ANSI-C compatible I / O system, including Unix standard buffer I / O and POSIX standard asynchronous I / O. VxWorks contains the drivers listed below:

Network Drive - for Network Devices (Ethernet, Shared Memory)

Pipe drive - communication between tasks

RAM disk drive - for memory resident files

SCSI drive - for SCSI disks, disks, tape drives

Keyboard Drive - Drive for PC -X86 Keyboard

Display Drive - Drive for PC -X86 Display

Disk drive - for IDE disks and floppy drive

Parallel port driver - parallel portraits for PC target

l Local file system

VxWorks provides a cropped fast file system for real-time applications. The first file system is a MSDOS-compatible file system. The second file system is the RT-11 file system. The third file system is a "bare saucer" file system, the fourth file system supports SCSI tape devices, the fifth File system supports CDROM devices. (to be continued)

转载请注明原文地址:https://www.9cbs.com/read-27060.html

New Post(0)