Tornado

User's Guide

2.2


Contents

1 Overview

1.1 Introduction
1.2 Cross-Development with Tornado
1.3 VxWorks Target Environment
1.4 Tornado Host Tools
1.5 Host-Target Interface
1.6 Customer Services

2 Setup and Startup

2.1 Introducing Tornado
2.2 Setting up the Tornado Registry
2.3 The Tornado Host Environment
2.4 Setting Up the Default Target Hardware
2.5 Host-Target Communication Configuration
2.6 Booting VxWorks
2.7 Connecting a Tornado Target Server
2.8 Launching Tornado
2.9 Tornado Interface Conventions
2.10 Troubleshooting

3 Launcher

3.1 Introduction
3.2 The Tornado Launcher
3.3 Anatomy of the Launcher Window
3.4 Tools and Targets
3.5 Managing Target Servers
3.6 Tornado Central Services
3.7 Tcl: Customizing the Launcher

4 Projects

4.1 Introduction
4.2 Planning Your Projects
4.3 Creating a Downloadable Application
4.4 Creating a Custom VxWorks Image
4.5 Creating a Bootable Application
4.6 Working With Build Specifications
4.7 Configuring the Target-Host Communication Interface
4.8 Configuring and Building a VxWorks Boot Program
4.9 Building a Custom Boot ROM

5 Command Line Configuration and Build

5.1 Introduction
5.2 Building, Loading, and Unloading Application Modules
5.3 Configuring VxWorks
5.4 Building a VxWorks System Image
5.5 Makefiles for BSPs and Applications
5.6 Creating Bootable Applications
5.7 Building Projects From a BSP

6 VxSim

6.1 Introduction
6.2 Integrated Simulator
6.3 Building Applications
6.4 Architecture Considerations
6.5 Configuring the VxSim Full Simulator

7 Shell

7.1 Introduction
7.2 Using the Shell
7.3 The Shell C-Expression Interpreter
7.4 C++ Interpretation
7.5 Shell Line Editing
7.6 Object Module Load Path
7.7 Tcl: Shell Interpretation
7.8 The Shell Architecture

8 Browser

8.1 A System-Object Browser
8.2 Starting the Browser
8.3 Anatomy of the Target Browser
8.4 Browser Menus and Buttons
8.5 Data Panels
8.6 Object Browsers
8.7 The Module Browser
8.8 The Vector Table Window
8.9 The Spy Window
8.10 The Stack-Check Window
8.11 Browser Displays and Target Link Speed
8.12 Troubleshooting with the Browser
8.13 Tcl: the Browser Initialization File

9 Debugger

9.1 Introduction
9.2 Starting CrossWind
9.3 A Sketch of CrossWind
9.4 CrossWind in Detail
9.5 System-Mode Debugging
9.6 Tcl: CrossWind Customization

10 Building VxDCOM Applications

10.1 Introduction
10.2 The VxDCOM Development Process
10.3 Configuring a VxDCOM Bootable Image
10.4 Using the VxDCOM Wizard
10.5 The Generated Output
10.6 Implementing the Server and Client
10.7 Building and Linking the Application
10.8 Registering, Deploying, and Running Your Application

11 Customization

11.1 Introduction
11.2 Setting Download Options
11.3 Setting Project Options
11.4 Setting Version Control Options
11.5 Installation and Licenses
11.6 Customizing the Tools Menu
11.7 Alternate Default Editor
11.8 Tcl Customization Files

Appendices

A Directories and Files

A.1 Introduction
A.2 Host Directories and Files
A.3 Target Directories and Files
A.4 Initialization and State-Information Files

B Makefile Details

B.1 Introduction
B.2 Customizing the VxWorks Makefile
B.3 Commonly Used Makefile Macros

C Tcl

C.1 Why Tcl?
C.2 Introduction to Tcl

D Coding Conventions

D.1 Introduction
D.2 File Heading
D.3 C Coding Conventions
D.4 Tcl Coding Conventions

E X Resources

E.1 Predefined X Resource Collections
E.2 Resource Definition Files

F VxWorks Initialization Timeline

F.1 Introduction
F.2 The VxWorks Entry Point: sysInit( )
F.3 The Initial Routine: usrInit( )
F.4 Initializing the Kernel
F.5 Initializing the Memory Pool
F.6 The Initial Task: usrRoot( )
F.7 The System Clock Routine: usrClock( )
F.8 Initialization Summary
F.9 Initialization Sequence for ROM-Based VxWorks

Index