02.03.2014 Views

Tornado

Tornado

Tornado

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C<br />

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

WTX Protocol<br />

Back Ends<br />

Communication between the target server and the <strong>Tornado</strong> tools is done via the<br />

RPC/XDR mechanism. Tools’ requests and target servers’ answers or events follow the<br />

formats defined by the Wind River Tool Exchange (WTX) messaging protocol. There is no<br />

requirement for the <strong>Tornado</strong> tools and the target server to operate from the same host<br />

machine. They may be distributed across a network.<br />

If the -Wd option is specified, all WTX requests are logged in a log file. The default<br />

behavior is to append log messages at the end of the log file (if it does not exists, it will be<br />

created). If the -Wm option is also specified, the file size will be limited to the given value,<br />

and written as a circular file: i.e. when this value is reached, the file is rewritten from the<br />

beginning. If the file exists, it will be erased.<br />

Note that a tool can be connected to more than one target server allowing for managing<br />

data coming from several remote target systems.<br />

The -Wf option can be used to filter a particular WTX request in the log file. The default<br />

filter is set to “WTX_EVENT_GET” to avoid thousands of such request when a wind shell<br />

version 1 is connected to the target server.<br />

The target server’s back end is the intermediary for all communication with the target<br />

agent. Thus, the back end must be designed to use whatever communication protocol and<br />

transport layer the agent uses. Because not all agents can use the default protocol (WDB<br />

over RPC/XDR) and transport layer (Ethernet), alternative back ends can be specified<br />

explicitly. Custom back ends are also possible.<br />

The following back ends are supported by Wind River Systems (see<br />

$WIND_BASE/host/$WIND_HOST_TYPE/lib/backend):<br />

wdbrpc (default)<br />

The <strong>Tornado</strong> WDB RPC back end. It is the most frequently used, and supports either<br />

Ethernet or serial connections. This back end supports either system-level or tasklevel<br />

views of the target.<br />

wdbpipe<br />

This back end is to be used on all simulators. It is based on named pipes on UNIX<br />

hosts and mail slots for windows hosts.<br />

wdbserial<br />

A version of the WDB back end supporting only serial hardware connection. Note<br />

that in order to use this back end the serial connection should only use the “Tx”, “Rx”<br />

and “Gnd” signals by default. When the -hfc (hardware flow control) option is used,<br />

the “RTS”, “CTS” and “DTR” signals are also supported.<br />

netrom<br />

A proprietary communications protocol for NetROM, a networked ROM emulator<br />

from Applied Microsystems Corporation.<br />

loopback<br />

A testing back end. This back end is not useful for connecting to targets; it is used<br />

only to exercise the target server daemon during tests.<br />

C<br />

357

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

Saved successfully!

Ooh no, something went wrong!