Вы находитесь на странице: 1из 6

Tornado

TM

Training Workshop
Wind River Systems, Inc. 500 Wind River Way Alameda, CA 94501 510-749-2141 FAX: 510-749-2378 training@wrs.com http://www.wrs.com/training
Version 5.1 24 May 1999

Copyright Wind River Systems, Inc. 1986 - 1999 Version 5.1, 24 May 1999 ALL RIGHTS RESERVED. No part of this publication may be reproduced in any form, by photocopy, microlm, retrieval system, or by any other means now known or hereafter invented without the prior written permission of Wind River System, Inc. This document is designed to support the Tornado Training Workshop class. It is not designed as a stand-alone document, nor can it substitute for the Tornado or VxWorks documentation. For information about the Wind River Systems training program, see: http://www.wrs.com/training
Training Department . Wind River Systems, Inc. 500 Wind River Way Alameda, CA 94501 510-749-2141 (phone) 510-749-2378 (fax) EMAIL: training@wrs.com

For training in Europe, Asia and Africa, please contact your local sales ofce.
VxWorks and Wind River Systems are registered trademarks and Tornado, Tornado II, wind, windX, WindPower, WindNet, WindNet SNMP, WindView, VxGNU, VxGDB, VxSim, VxVMI, VxMP, and MicroWorks are trademarks of Wind River Systems, Inc. All other trademarks cited herein are the properties of their respective owners.

ii

Course Prerequisites
General prerequisites:
q

One year C programming experience: familiarity with basic control structures, pointers, structures, preprocessor commands. Basic understanding of operating systems and debugging techniques.

Functional knowledge of host platform:


q

UNIX: user-level knowledge of UNIX le system and csh shell; editing text with vi, emacs, or host-native GUI editor; X window system GUI. Windows: user-level knowledge of Windows NT/95/ 98 graphical and command-line user interfaces, le systems, and standard Windows editor.

iii

Course Objectives
Overview of Tornado / VxWorks facilities. Boot VxWorks and download object modules to a VxWorks target. Use Tornado tools to perform cross-development. Control, and communicate between, tasks executing under VxWorks. Use WindView to analyze a multitasking application. Use VxWorks primitives to access resources exclusively, and to synchronize the actions of different tasks. Use timers for periodic code execution. Differentiate between the standard I/O library, the formatted I/O library, and the basic I/O system. Create and use local le systems. From VxWorks, access le systems on remote machines. Recongure VxWorks, linking in user-dened code.

iv

Table of Contents
Volume 1
Chapter Getting Started ............................................... Components of Tornado Getting Help Hardware/Software Conguration Booting Starting Tornado WDB Agent Projects ............................................................ Projects Overview Bootable Projects and VxWorks Conguration Integrated Simulator Downloadable Projects Build Specications WindSh and Browser .................................... WindSh Browser CrossWind ....................................................... Overview Starting A Debugging Session Basic Debugging System-level Debugging Real-Time Multitasking ............................... Introduction Task Basics Task Control Error Status System Tasks WindView 2.0.................................................. WindView Conguration Events 1

Semaphores..................................................... Overview Binary Semaphores and Synchronization Mutual Exclusion Intertask Communication ............................ Introduction Shared Memory Message Queues Pipes Memory............................................................ Memory Allocation Exceptions, Interrupts and Timers ............. Exception Handling and Signals Interrupt Service Routines Timers I/O and File System ....................................... Introduction Character I/O Block I/O Networking ..................................................... Introduction VxWorks Network Conguration Routing Protocols Remote Access Services Reconguring VxWorks ............................... Production Issues VxWorks Start-up Optional Products.......................................... Overview Shared Memory Objects (VxMP) Virtual Memory (VxVMI) Appendix Code Examples Index

9 10

11

12

13

14

vi

Вам также может понравиться