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. -->
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
22 TITLE="Installing eCos"
23 HREF="user-guide-installation.html"><LINK
25 TITLE="Installation on Windows"
26 HREF="user-guide-installation-windows.html"><LINK
28 TITLE="Connecting Via Ethernet"
29 HREF="connecting-target-ethernet.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="user-guide-installation-windows.html"
71 HREF="connecting-target-ethernet.html"
84 NAME="USER-GUIDE-INSTALLATION-TARGET">Chapter 9. Target Setup</H1
94 HREF="user-guide-installation-target.html#CONNECTING-TARGET-SERIAL"
95 >Connecting Via Serial Line</A
99 HREF="connecting-target-ethernet.html"
100 >Connecting Via Ethernet</A
104 HREF="connecting-target-sim.html"
105 >Using A Simulator Target</A
109 HREF="connecting-target-synth.html"
110 >Using A Synthetic Target</A
118 > supports a variety of
119 targets, communication with all the targets happens in one of four
120 ways. These are described in general below. Any details or variations
121 from these descriptions will be found in the
125 > documentation for a specific target,
132 NAME="CONNECTING-TARGET-SERIAL">Connecting Via Serial Line</H1
134 >Most targets will have RedBoot or GDB Stubs installed.
135 These normally waits for GDB to connect at 38400 baud, using 8 data
136 bit, no parity bit and 1 stop-bit and no hardware flow control. Check
137 the documentation for your target to ensure it uses this speed. If not,
138 adjust the following instructions accordingly.</P
140 >The following instructions depend on your having selected
141 the appropriate serial port on the host. That is, the serial port
142 which connects to the target's (primary) serial port. On
143 Linux this could be <TT
147 while the same port on Windows would be named COM1.
148 Substitute the proper serial port name in the below.</P
150 >Connect to the target by issuing the following commands in
159 CLASS="PROGRAMLISTING"
160 >(gdb) set remotebaud 38400
161 (gdb) target remote /dev/ttyS0</PRE
166 >In Insight, connect by opening the <SPAN
173 > window and enter:</P
181 CLASS="PROGRAMLISTING"
182 >Target: Remote/Serial
184 Port: /dev/ttyS0</PRE
189 >Set other options according to preference, close the window
195 >Run->Connect to target</I
205 SUMMARY="Footer navigation table"
216 HREF="user-guide-installation-windows.html"
225 HREF="ecos-user-guide.html"
234 HREF="connecting-target-ethernet.html"
244 >Installation on Windows</TD
250 HREF="user-guide-installation.html"
258 >Connecting Via Ethernet</TD