⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 setup-arm-cma230.html

📁 有关ecos2。0介绍了实时嵌入式的结构以及线程调度的实现和内存的管理等
💻 HTML
字号:
<!-- Copyright (C) 2003 Red Hat, Inc.                                --><!-- This material may be distributed only subject to the terms      --><!-- and conditions set forth in the Open Publication License, v1.0  --><!-- or later (the latest version is presently available at          --><!-- http://www.opencontent.org/openpub/).                           --><!-- Distribution of the work or derivative of the work in any       --><!-- standard (paper) book form is prohibited unless prior           --><!-- permission is obtained from the copyright holder.               --><HTML><HEAD><TITLE>ARM Cogent CMA230 Hardware Setup</TITLE><meta name="MSSmartTagsPreventParsing" content="TRUE"><METANAME="GENERATOR"CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+"><LINKREL="HOME"TITLE="eCos User Guide"HREF="ecos-user-guide.html"><LINKREL="UP"TITLE="Target Setup"HREF="appendix-target-setup.html"><LINKREL="PREVIOUS"TITLE="ARM AEB-1 Hardware Setup"HREF="setup-arm-aeb1.html"><LINKREL="NEXT"TITLE="Cirrus Logic ARM EP7211 DevelopmentBoard Hardware Setup"HREF="setup-arm-ep7211.html"></HEAD><BODYCLASS="SECT1"BGCOLOR="#FFFFFF"TEXT="#000000"LINK="#0000FF"VLINK="#840084"ALINK="#0000FF"><DIVCLASS="NAVHEADER"><TABLESUMMARY="Header navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><THCOLSPAN="3"ALIGN="center">eCos User Guide</TH></TR><TR><TDWIDTH="10%"ALIGN="left"VALIGN="bottom"><AHREF="setup-arm-aeb1.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="80%"ALIGN="center"VALIGN="bottom">Appendix A. Target Setup</TD><TDWIDTH="10%"ALIGN="right"VALIGN="bottom"><AHREF="setup-arm-ep7211.html"ACCESSKEY="N">Next</A></TD></TR></TABLE><HRALIGN="LEFT"WIDTH="100%"></DIV><DIVCLASS="SECT1"><H1CLASS="SECT1"><ANAME="SETUP-ARM-CMA230">ARM Cogent CMA230 Hardware Setup</H1><P>The eCos Developer's Kit package comes with an EPROMwhich provides GDB support for the Cogent evaluation board. An imageof this EPROM is also provided at loaders/arm-cma230/gdbload.binunder the root of your eCos installation. </P><P>The EPROM is installed to socket U3 on the board. Attentionshould be paid to the correct orientation of the EPROM during installation.</P><P>If you are going to burn a new EPROM using the binary image,be careful to get the byte order correct. It needs to be little-endian,which is usually the default in PC based programmer software.</P><P>If the GDB stub EPROM you burn does not work, try reversingthe byte-order, even if you think you have it the right way around.At least one DOS-based EPROM burner program is known to have thebyte-order upside down.</P><P>The GDB stub in the EPROM allows communication with GDB usingthe serial port at connector P12 (CMA101) or P3 (CMA102). The communication parametersare fixed at 38400 baud, 8 data bits, no parity bit and 1 stop bit(8-N-1).  No flow control is employed. Connection to the host computershould be made using a dedicated serial cable as specified in theCogent CMA manual.</P><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN3778">Building the GDB Stub FLASH ROM images</H2><P>Pre-built GDB stubs images are provided in the directory loaders/arm-cma230 relativeto the root of your eCos installation, but here are instructionson how to rebuild them if you should ever need to.</P><P>CygMon images are prefixed with the name 'cygmon' andGDB stub ROM images</P><P>are given the prefix 'gdb_module'.Images may be provided in a number of formats including ELF (.imgextension), binary (.bin extension) and SREC (.srec extension). </P></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN3783">Building the GDB Stubs with the eCos Configuration Tool</H2><P></P><OLTYPE="1"><LI><P>1. Start with a new document - selecting the File-&#62;Newmenu item if necessary to do this.</P></LI><LI><P>Choose the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Build</I></SPAN>-&#62;<SPANCLASS="emphasis"><ICLASS="EMPHASIS">Templates</I></SPAN> menu item, and then select the ARM CMA230 hardware.</P></LI><LI><P>While still displaying the <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Build</I></SPAN>-&#62;<SPANCLASS="emphasis"><ICLASS="EMPHASIS">Templates</I></SPAN> dialog box, select the "stubs" package template to build a GDBstub image. Click <SPANCLASS="emphasis"><ICLASS="EMPHASIS">OK</I></SPAN>.</P></LI><LI><P>Build eCos using <SPANCLASS="emphasis"><ICLASS="EMPHASIS">Build</I></SPAN>-&#62;<SPANCLASS="emphasis"><ICLASS="EMPHASIS">Library</I></SPAN></P></LI><LI><P>When the build completes, the image files can be foundin the bin/ subdirectory of the install tree. The GDB stubROM images have the prefix "gdb_module".</P></LI></OL></DIV><DIVCLASS="SECT2"><H2CLASS="SECT2"><ANAME="AEN3803">Building the GDB Stub ROMs with ecosconfig</H2><P></P><OLTYPE="1"><LI><P>1. Make an empty directory to contain the build tree,and cd into it.</P></LI><LI><P>To build a GDB stub ROM image, enter the command:</P><TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">$ ecosconfig new cma230 stubs</PRE></TD></TR></TABLE></LI><LI><P>Enter the commands: <TABLEBORDER="5"BGCOLOR="#E0E0F0"WIDTH="70%"><TR><TD><PRECLASS="PROGRAMLISTING">$ ecosconfig tree$ make</PRE></TD></TR></TABLE></P></LI><LI><P>When the build completes, the image files can be foundin the bin/ subdirectory of the install tree. The GDB stubROM images have the prefix "gdb_module".</P></LI></OL></DIV></DIV><DIVCLASS="NAVFOOTER"><HRALIGN="LEFT"WIDTH="100%"><TABLESUMMARY="Footer navigation table"WIDTH="100%"BORDER="0"CELLPADDING="0"CELLSPACING="0"><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top"><AHREF="setup-arm-aeb1.html"ACCESSKEY="P">Prev</A></TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="ecos-user-guide.html"ACCESSKEY="H">Home</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top"><AHREF="setup-arm-ep7211.html"ACCESSKEY="N">Next</A></TD></TR><TR><TDWIDTH="33%"ALIGN="left"VALIGN="top">ARM AEB-1 Hardware Setup</TD><TDWIDTH="34%"ALIGN="center"VALIGN="top"><AHREF="appendix-target-setup.html"ACCESSKEY="U">Up</A></TD><TDWIDTH="33%"ALIGN="right"VALIGN="top">Cirrus Logic ARM EP7211 DevelopmentBoard Hardware Setup</TD></TR></TABLE></DIV></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -