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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [setup-arm-cma230.html] - Blame information for rev 446

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
>ARM Cogent CMA230 Hardware Setup</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="appendix-target-setup.html"><LINK
24
REL="PREVIOUS"
25
TITLE="ARM AEB-1 Hardware Setup"
26
HREF="setup-arm-aeb1.html"><LINK
27
REL="NEXT"
28
TITLE="Cirrus Logic ARM EP7211 Development
29
Board Hardware Setup"
30
HREF="setup-arm-ep7211.html"></HEAD
31
><BODY
32
CLASS="SECT1"
33
BGCOLOR="#FFFFFF"
34
TEXT="#000000"
35
LINK="#0000FF"
36
VLINK="#840084"
37
ALINK="#0000FF"
38
><DIV
39
CLASS="NAVHEADER"
40
><TABLE
41
SUMMARY="Header navigation table"
42
WIDTH="100%"
43
BORDER="0"
44
CELLPADDING="0"
45
CELLSPACING="0"
46
><TR
47
><TH
48
COLSPAN="3"
49
ALIGN="center"
50
>eCos User Guide</TH
51
></TR
52
><TR
53
><TD
54
WIDTH="10%"
55
ALIGN="left"
56
VALIGN="bottom"
57
><A
58
HREF="setup-arm-aeb1.html"
59
ACCESSKEY="P"
60
>Prev</A
61
></TD
62
><TD
63
WIDTH="80%"
64
ALIGN="center"
65
VALIGN="bottom"
66
>Appendix A. Target Setup</TD
67
><TD
68
WIDTH="10%"
69
ALIGN="right"
70
VALIGN="bottom"
71
><A
72
HREF="setup-arm-ep7211.html"
73
ACCESSKEY="N"
74
>Next</A
75
></TD
76
></TR
77
></TABLE
78
><HR
79
ALIGN="LEFT"
80
WIDTH="100%"></DIV
81
><DIV
82
CLASS="SECT1"
83
><H1
84
CLASS="SECT1"
85
><A
86
NAME="SETUP-ARM-CMA230">ARM Cogent CMA230 Hardware Setup</H1
87
><P
88
>The eCos Developer's Kit package comes with an EPROM
89
which provides GDB support for the Cogent evaluation board. An image
90
of this EPROM is also provided at loaders/arm-cma230/gdbload.bin
91
under the root of your eCos installation. </P
92
><P
93
>The EPROM is installed to socket U3 on the board. Attention
94
should be paid to the correct orientation of the EPROM during installation.</P
95
><P
96
>If you are going to burn a new EPROM using the binary image,
97
be careful to get the byte order correct. It needs to be little-endian,
98
which is usually the default in PC based programmer software.</P
99
><P
100
>If the GDB stub EPROM you burn does not work, try reversing
101
the byte-order, even if you think you have it the right way around.
102
At least one DOS-based EPROM burner program is known to have the
103
byte-order upside down.</P
104
><P
105
>The GDB stub in the EPROM allows communication with GDB using
106
the serial port at connector P12 (CMA101) or P3 (CMA102). The communication parameters
107
are fixed at 38400 baud, 8 data bits, no parity bit and 1 stop bit
108
(8-N-1).  No flow control is employed. Connection to the host computer
109
should be made using a dedicated serial cable as specified in the
110
Cogent CMA manual.</P
111
><DIV
112
CLASS="SECT2"
113
><H2
114
CLASS="SECT2"
115
><A
116
NAME="AEN3778">Building the GDB Stub FLASH ROM images</H2
117
><P
118
>Pre-built GDB stubs images are provided in the directory loaders/arm-cma230 relative
119
to the root of your eCos installation, but here are instructions
120
on how to rebuild them if you should ever need to.</P
121
><P
122
>CygMon images are prefixed with the name 'cygmon' and
123
GDB stub ROM images</P
124
><P
125
>are given the prefix 'gdb_module'.
126
Images may be provided in a number of formats including ELF (.img
127
extension), binary (.bin extension) and SREC (.srec extension). </P
128
></DIV
129
><DIV
130
CLASS="SECT2"
131
><H2
132
CLASS="SECT2"
133
><A
134
NAME="AEN3783">Building the GDB Stubs with the eCos Configuration Tool</H2
135
><P
136
></P
137
><OL
138
TYPE="1"
139
><LI
140
><P
141
>1. Start with a new document - selecting the File-&#62;New
142
menu item if necessary to do this.</P
143
></LI
144
><LI
145
><P
146
>Choose the
147
<SPAN
148
CLASS="emphasis"
149
><I
150
CLASS="EMPHASIS"
151
>Build</I
152
></SPAN
153
>-&#62;<SPAN
154
CLASS="emphasis"
155
><I
156
CLASS="EMPHASIS"
157
>Templates</I
158
></SPAN
159
>
160
 menu item, and then select the ARM CMA230 hardware.</P
161
></LI
162
><LI
163
><P
164
>While still displaying the
165
<SPAN
166
CLASS="emphasis"
167
><I
168
CLASS="EMPHASIS"
169
>Build</I
170
></SPAN
171
>
172
-&#62;
173
<SPAN
174
CLASS="emphasis"
175
><I
176
CLASS="EMPHASIS"
177
>Templates</I
178
></SPAN
179
>
180
 dialog box, select the "stubs" package template to build a GDB
181
stub image. Click
182
<SPAN
183
CLASS="emphasis"
184
><I
185
CLASS="EMPHASIS"
186
>OK</I
187
></SPAN
188
>.</P
189
></LI
190
><LI
191
><P
192
>Build eCos using
193
<SPAN
194
CLASS="emphasis"
195
><I
196
CLASS="EMPHASIS"
197
>Build</I
198
></SPAN
199
>
200
-&#62;
201
<SPAN
202
CLASS="emphasis"
203
><I
204
CLASS="EMPHASIS"
205
>Library</I
206
></SPAN
207
></P
208
></LI
209
><LI
210
><P
211
>When the build completes, the image files can be found
212
in the bin/ subdirectory of the install tree. The GDB stub
213
ROM images have the prefix "gdb_module".</P
214
></LI
215
></OL
216
></DIV
217
><DIV
218
CLASS="SECT2"
219
><H2
220
CLASS="SECT2"
221
><A
222
NAME="AEN3803">Building the GDB Stub ROMs with ecosconfig</H2
223
><P
224
></P
225
><OL
226
TYPE="1"
227
><LI
228
><P
229
>1. Make an empty directory to contain the build tree,
230
and cd into it.</P
231
></LI
232
><LI
233
><P
234
>To build a GDB stub ROM image, enter the command:</P
235
><TABLE
236
BORDER="5"
237
BGCOLOR="#E0E0F0"
238
WIDTH="70%"
239
><TR
240
><TD
241
><PRE
242
CLASS="PROGRAMLISTING"
243
>$ ecosconfig new cma230 stubs</PRE
244
></TD
245
></TR
246
></TABLE
247
></LI
248
><LI
249
><P
250
>Enter the commands:
251
 
252
<TABLE
253
BORDER="5"
254
BGCOLOR="#E0E0F0"
255
WIDTH="70%"
256
><TR
257
><TD
258
><PRE
259
CLASS="PROGRAMLISTING"
260
>$ ecosconfig tree
261
$ make</PRE
262
></TD
263
></TR
264
></TABLE
265
></P
266
></LI
267
><LI
268
><P
269
>When the build completes, the image files can be found
270
in the bin/ subdirectory of the install tree. The GDB stub
271
ROM images have the prefix "gdb_module".</P
272
></LI
273
></OL
274
></DIV
275
></DIV
276
><DIV
277
CLASS="NAVFOOTER"
278
><HR
279
ALIGN="LEFT"
280
WIDTH="100%"><TABLE
281
SUMMARY="Footer navigation table"
282
WIDTH="100%"
283
BORDER="0"
284
CELLPADDING="0"
285
CELLSPACING="0"
286
><TR
287
><TD
288
WIDTH="33%"
289
ALIGN="left"
290
VALIGN="top"
291
><A
292
HREF="setup-arm-aeb1.html"
293
ACCESSKEY="P"
294
>Prev</A
295
></TD
296
><TD
297
WIDTH="34%"
298
ALIGN="center"
299
VALIGN="top"
300
><A
301
HREF="ecos-user-guide.html"
302
ACCESSKEY="H"
303
>Home</A
304
></TD
305
><TD
306
WIDTH="33%"
307
ALIGN="right"
308
VALIGN="top"
309
><A
310
HREF="setup-arm-ep7211.html"
311
ACCESSKEY="N"
312
>Next</A
313
></TD
314
></TR
315
><TR
316
><TD
317
WIDTH="33%"
318
ALIGN="left"
319
VALIGN="top"
320
>ARM AEB-1 Hardware Setup</TD
321
><TD
322
WIDTH="34%"
323
ALIGN="center"
324
VALIGN="top"
325
><A
326
HREF="appendix-target-setup.html"
327
ACCESSKEY="U"
328
>Up</A
329
></TD
330
><TD
331
WIDTH="33%"
332
ALIGN="right"
333
VALIGN="top"
334
>Cirrus Logic ARM EP7211 Development
335
Board Hardware Setup</TD
336
></TR
337
></TABLE
338
></DIV
339
></BODY
340
></HTML
341
>

powered by: WebSVN 2.1.0

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