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 IDE
1.5 Host-Target Interface
1.6 Customer Services

2 Setup and Startup

2.1 Introducing Tornado
2.2 Setting Up the Host
2.3 Setting Up the Default Target Hardware
2.4 Host-Target Communication Configuration
2.5 Booting VxWorks
2.6 Starting Tornado
2.7 Starting a Target Server
2.8 Displaying Information About the Target
2.9 Troubleshooting

3 Editor

3.1 Introduction
3.2 The Standard Toolbar
3.3 File Management
3.4 Typing and Editing
3.5 Editor Customization

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 Target Server

8.1 Introduction
8.2 Configuring and Starting a Target Server
8.3 Target Server Icon and Log Console Window
8.4 Stopping a Target Server
8.5 Selecting a Target Server
8.6 Managing a Target Server

9 Browser

9.1 A System-Object Browser
9.2 Starting the Browser
9.3 Anatomy of the Browser Window
9.4 Browser Buttons
9.5 Target-Information Window
9.6 Task-List Window
9.7 Memory-Usage Window
9.8 Object-Information Windows
9.9 The Module-Information Window
9.10 The Spy Window
9.11 The Stack-Check Window
9.12 The Vector Table Window
9.13 Browser Displays and Target Link Speed
9.14 Troubleshooting with the Browser
9.15 Tcl: the Browser Initialization File

10 Debugger

10.1 Introduction
10.2 Debugger GUI
10.3 Using the Debugger
10.4 Source Code Display Options
10.5 Using the Debugger Command Line
10.6 System-Mode Debugging
10.7 Tcl: Debugger Automation
10.8 Tcl: Debugger Customization

11 Building VxDCOM Applications

11.1 Introduction
11.2 The VxDCOM Development Process
11.3 Configuring a VxDCOM Bootable Image
11.4 Using the VxDCOM Wizard
11.5 The Generated Output
11.6 Implementing the Server and Client
11.7 Building and Linking the Application
11.8 Registering, Deploying, and Running Your Application

12 Customization

12.1 Introduction
12.2 Toolbars and Status Bar
12.3 Setting Options
12.4 Customizing the Tools Menu
12.5 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 Windows NT Service Manager

F FTP Server

F.1 Introduction
F.2 Starting WFTPD
F.3 WFTPD Configuration

G VxWorks Initialization Timeline

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

Index