OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [connecting-target-ethernet.html] - Blame information for rev 858

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 28 unneback
<!-- 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.               -->
9
<HTML
10
><HEAD
11
><TITLE
12
>Connecting Via Ethernet</TITLE
13
><meta name="MSSmartTagsPreventParsing" content="TRUE">
14
<META
15
NAME="GENERATOR"
16
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17
"><LINK
18
REL="HOME"
19
TITLE="eCos User Guide"
20
HREF="ecos-user-guide.html"><LINK
21
REL="UP"
22
TITLE="Target Setup"
23
HREF="user-guide-installation-target.html"><LINK
24
REL="PREVIOUS"
25
TITLE="Target Setup"
26
HREF="user-guide-installation-target.html"><LINK
27
REL="NEXT"
28
TITLE="Using A Simulator Target"
29
HREF="connecting-target-sim.html"></HEAD
30
><BODY
31
CLASS="SECT1"
32
BGCOLOR="#FFFFFF"
33
TEXT="#000000"
34
LINK="#0000FF"
35
VLINK="#840084"
36
ALINK="#0000FF"
37
><DIV
38
CLASS="NAVHEADER"
39
><TABLE
40
SUMMARY="Header navigation table"
41
WIDTH="100%"
42
BORDER="0"
43
CELLPADDING="0"
44
CELLSPACING="0"
45
><TR
46
><TH
47
COLSPAN="3"
48
ALIGN="center"
49
>eCos User Guide</TH
50
></TR
51
><TR
52
><TD
53
WIDTH="10%"
54
ALIGN="left"
55
VALIGN="bottom"
56
><A
57
HREF="user-guide-installation-target.html"
58
ACCESSKEY="P"
59
>Prev</A
60
></TD
61
><TD
62
WIDTH="80%"
63
ALIGN="center"
64
VALIGN="bottom"
65
>Chapter 9. Target Setup</TD
66
><TD
67
WIDTH="10%"
68
ALIGN="right"
69
VALIGN="bottom"
70
><A
71
HREF="connecting-target-sim.html"
72
ACCESSKEY="N"
73
>Next</A
74
></TD
75
></TR
76
></TABLE
77
><HR
78
ALIGN="LEFT"
79
WIDTH="100%"></DIV
80
><DIV
81
CLASS="SECT1"
82
><H1
83
CLASS="SECT1"
84
><A
85
NAME="CONNECTING-TARGET-ETHERNET">Connecting Via Ethernet</H1
86
><P
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 &lt;hostname&#62; 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
&lt;port&#62; is the TCP port which RedBoot is listening on, usually
95
9000. It is also listed in the target document.</P
96
><P
97
>Connect to the target by issuing the following command in
98
GDB console mode:</P
99
><TABLE
100
BORDER="5"
101
BGCOLOR="#E0E0F0"
102
WIDTH="70%"
103
><TR
104
><TD
105
><PRE
106
CLASS="PROGRAMLISTING"
107
>(gdb) target remote &lt;hostname&#62;:&lt;port&#62;</PRE
108
></TD
109
></TR
110
></TABLE
111
><P
112
>In Insight, connect by opening the <SPAN
113
CLASS="emphasis"
114
><I
115
CLASS="EMPHASIS"
116
>File-&#62;Target
117
Settings</I
118
></SPAN
119
> window and enter:</P
120
><TABLE
121
BORDER="5"
122
BGCOLOR="#E0E0F0"
123
WIDTH="70%"
124
><TR
125
><TD
126
><PRE
127
CLASS="PROGRAMLISTING"
128
>Target: Remote/TCP
129
Hostname: &lt;hostname&#62;
130
Port: &lt;port&#62;</PRE
131
></TD
132
></TR
133
></TABLE
134
><P
135
>Set other options according to
136
preference, close the window and select <SPAN
137
CLASS="emphasis"
138
><I
139
CLASS="EMPHASIS"
140
>Run-&#62;Connect to
141
target</I
142
></SPAN
143
>.</P
144
></DIV
145
><DIV
146
CLASS="NAVFOOTER"
147
><HR
148
ALIGN="LEFT"
149
WIDTH="100%"><TABLE
150
SUMMARY="Footer navigation table"
151
WIDTH="100%"
152
BORDER="0"
153
CELLPADDING="0"
154
CELLSPACING="0"
155
><TR
156
><TD
157
WIDTH="33%"
158
ALIGN="left"
159
VALIGN="top"
160
><A
161
HREF="user-guide-installation-target.html"
162
ACCESSKEY="P"
163
>Prev</A
164
></TD
165
><TD
166
WIDTH="34%"
167
ALIGN="center"
168
VALIGN="top"
169
><A
170
HREF="ecos-user-guide.html"
171
ACCESSKEY="H"
172
>Home</A
173
></TD
174
><TD
175
WIDTH="33%"
176
ALIGN="right"
177
VALIGN="top"
178
><A
179
HREF="connecting-target-sim.html"
180
ACCESSKEY="N"
181
>Next</A
182
></TD
183
></TR
184
><TR
185
><TD
186
WIDTH="33%"
187
ALIGN="left"
188
VALIGN="top"
189
>Target Setup</TD
190
><TD
191
WIDTH="34%"
192
ALIGN="center"
193
VALIGN="top"
194
><A
195
HREF="user-guide-installation-target.html"
196
ACCESSKEY="U"
197
>Up</A
198
></TD
199
><TD
200
WIDTH="33%"
201
ALIGN="right"
202
VALIGN="top"
203
>Using A Simulator Target</TD
204
></TR
205
></TABLE
206
></DIV
207
></BODY
208
></HTML
209
>

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.