02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

C<br />

<strong>Tornado</strong> Tools Reference<br />

tgtsvr<br />

NAME<br />

tgtsvr – the target board server<br />

C<br />

SYNOPSIS<br />

DESCRIPTION<br />

tgtsvr [-A.llsyms] [-B.ackend backendName] [-Bd.ebug fileName]<br />

[-Bm.ax size] [-b.ps linespeed] [-Br.esend number]<br />

[-Bt.imeout timeout] [-C.onsole] [-c.ore fileName]<br />

[-d.evice device] [-display hostName:0]<br />

[-f.ormat formatName] [-h.elp] [-hfc] [-L.ock]<br />

[-m.emory nbytes] [-n.ame serverName] [-N.osyms]<br />

[-p.ort portNumber] [-R TSFS_root] [-redirectIO]<br />

[-redirectShell] [-RW] [-s.ynchro] [-use_portmapper]<br />

[-u.sers fileName] [-V.erbose] [-v.ersion]<br />

[-Wd.ebug fileName] [-Wf.ilter request] [-Wm.ax size]<br />

targetName [backend specific options]<br />

The target server is the <strong>Tornado</strong> component that allows development tools, such as the<br />

shell (see windsh) or a debugger, to communicate with a remote target system, such as<br />

VxWorks. The <strong>Tornado</strong> tools are autonomous programs running on a cross-development<br />

host. They are attached to a particular target server when they begin executing.<br />

The server communicates with the target system through an interface called the target<br />

agent. This agent is either integrated with the target system (for instance, as a task), or<br />

independent from it. When tgtsvr is started, it identifies the target agent by means of the<br />

only required argument: the name of a target board running the target agent.<br />

The name of the target board is linked with the name of the host machine where the target<br />

server runs, to form a unique identifier used throughout the working session by all tools.<br />

This name is recorded in the name database of the <strong>Tornado</strong> Service Registry (see wtxregd).<br />

The form of this identifier is targetName@serverHost. For instance, tPad@aven refers to the<br />

target named tPad as represented by a target server running on the host aven.<br />

An alternative target name, however, may be specified with the -n option if the board<br />

name is already in use.<br />

Tools may use truncated identifiers, if the short names match a unique name among all<br />

names registered by the <strong>Tornado</strong> Registry (see launch and wtxregd). Any unique<br />

substring in the board name is sufficient, and the “@” extension may be omitted as well.<br />

The target server gets requests from the <strong>Tornado</strong> tools. These requests, depending on their<br />

type, may either be satisfied by the target server itself, or require that the target server in<br />

turn send requests to the target agent.<br />

355

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!