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 >ARM Cogent CMA230 Hardware Setup</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="appendix-target-setup.html"><LINK
25 TITLE="ARM AEB-1 Hardware Setup"
26 HREF="setup-arm-aeb1.html"><LINK
28 TITLE="Cirrus Logic ARM EP7211 Development
30 HREF="setup-arm-ep7211.html"></HEAD
41 SUMMARY="Header navigation table"
58 HREF="setup-arm-aeb1.html"
66 >Appendix A. Target Setup</TD
72 HREF="setup-arm-ep7211.html"
86 NAME="SETUP-ARM-CMA230">ARM Cogent CMA230 Hardware Setup</H1
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
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
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
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
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
116 NAME="AEN3778">Building the GDB Stub FLASH ROM images</H2
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
122 >CygMon images are prefixed with the name 'cygmon' and
123 GDB stub ROM images</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
134 NAME="AEN3783">Building the GDB Stubs with the eCos Configuration Tool</H2
141 >1. Start with a new document - selecting the File->New
142 menu item if necessary to do this.</P
160 menu item, and then select the ARM CMA230 hardware.</P
164 >While still displaying the
180 dialog box, select the "stubs" package template to build a GDB
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
222 NAME="AEN3803">Building the GDB Stub ROMs with ecosconfig</H2
229 >1. Make an empty directory to contain the build tree,
234 >To build a GDB stub ROM image, enter the command:</P
242 CLASS="PROGRAMLISTING"
243 >$ ecosconfig new cma230 stubs</PRE
259 CLASS="PROGRAMLISTING"
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
281 SUMMARY="Footer navigation table"
292 HREF="setup-arm-aeb1.html"
301 HREF="ecos-user-guide.html"
310 HREF="setup-arm-ep7211.html"
320 >ARM AEB-1 Hardware Setup</TD
326 HREF="appendix-target-setup.html"
334 >Cirrus Logic ARM EP7211 Development
335 Board Hardware Setup</TD