1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Connecting Via Ethernet</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos User Guide"
20 HREF="ecos-user-guide.html"><LINK
23 HREF="user-guide-installation-target.html"><LINK
26 HREF="user-guide-installation-target.html"><LINK
28 TITLE="Using A Simulator Target"
29 HREF="connecting-target-sim.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="user-guide-installation-target.html"
65 >Chapter 9. Target Setup</TD
71 HREF="connecting-target-sim.html"
85 NAME="CONNECTING-TARGET-ETHERNET">Connecting Via Ethernet</H1
87 >Some targets allow GDB to connect via Ethernet - if so, it will
88 be mentioned in the document describing the target. Substitute the
89 target's assigned IP address or hostname for <hostname> in the
90 following. Depending on how RedBoot has been configured, it will
91 either have this address allocated statically, or will acquire it via
92 BOOTP. In both cases RedBoot will report the IP address it is
93 listening on in its startup message printed on the serial port. The
94 <port> is the TCP port which RedBoot is listening on, usually
95 9000. It is also listed in the target document.</P
97 >Connect to the target by issuing the following command in
106 CLASS="PROGRAMLISTING"
107 >(gdb) target remote <hostname>:<port></PRE
112 >In Insight, connect by opening the <SPAN
119 > window and enter:</P
127 CLASS="PROGRAMLISTING"
129 Hostname: <hostname>
130 Port: <port></PRE
135 >Set other options according to
136 preference, close the window and select <SPAN
150 SUMMARY="Footer navigation table"
161 HREF="user-guide-installation-target.html"
170 HREF="ecos-user-guide.html"
179 HREF="connecting-target-sim.html"
195 HREF="user-guide-installation-target.html"
203 >Using A Simulator Target</TD