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.

2<br />

Setup and Startup<br />

The most common VxWorks communication path—both for server-agent<br />

communications during development, and for applications—is IP networking<br />

over Ethernet. That connection method provides a very high bandwidth, as well as<br />

all the advantages of a network connection.<br />

Nevertheless, there are situations where you may wish to use a non-network<br />

connection, such as a serial line without general-purpose IP, or a NetROM<br />

connection. For example, if you have a memory-constrained application that does<br />

not require networking, you may wish to remove the VxWorks network code from<br />

the target system during development. Also, if you wish to perform system-mode<br />

debugging, you need a communication path that can work in polled mode.<br />

VxWorks network interface drivers that do not support polled operations (older<br />

versions) cannot be used as a connection for system-mode debugging.<br />

Note that the target-server back end connection is not always the same as the<br />

connection used to load the VxWorks image into target memory. For example, you<br />

can boot VxWorks over Ethernet, but use a serial line connection to perform<br />

system-mode debugging. You can also use a non-default method of getting the<br />

run-time system itself into your target board. For example, you might burn your<br />

VxWorks run-time system directly into target ROM, as described in VxWorks<br />

Programmer’s Guide: Configuration and Build. Alternatively, you can use a ROM<br />

emulator such as NetROM to quickly download new VxWorks images to the<br />

target’s ROM sockets. Another possibility is to boot from a disk locally attached to<br />

the target; see VxWorks Programmer’s Guide: Local File Systems. You can also boot<br />

from a host disk over a serial connection using the Target Server File System; see<br />

2.6.7 Booting a Target Without a Network, p.53. Certain BSPs may provide other<br />

alternatives, such as flash memory. See the reference information for your BSP;<br />

Help>Manuals contents>BSP Reference in the <strong>Tornado</strong> Launcher (or the file<br />

wind/docs/BSP_Reference.html).<br />

Connecting the target server to the target requires a little work on both the host and<br />

target. The next few subsections describe the details for the standard target-server<br />

back end connections.<br />

2<br />

2.5.1 Network Connections<br />

A network connection is the easiest to set up and use, because most VxWorks<br />

targets already use the network (for example, to boot); thus, no additional target<br />

set-up is required. Furthermore, a network interface is typically a board’s fastest<br />

physical communication channel.<br />

When VxWorks is configured and built with a network interface for the target<br />

agent (the default configuration), the target server can connect to the target agent<br />

33

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

Saved successfully!

Ooh no, something went wrong!