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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [user-guide/] [setup-arm-aeb1.html] - Diff between revs 28 and 174

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 28 Rev 174
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
<!-- This material may be distributed only subject to the terms      -->
<!-- This material may be distributed only subject to the terms      -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- or later (the latest version is presently available at          -->
<!-- or later (the latest version is presently available at          -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- permission is obtained from the copyright holder.               -->
<!-- permission is obtained from the copyright holder.               -->
<HTML
<HTML
><HEAD
><HEAD
><TITLE
><TITLE
>ARM AEB-1 Hardware Setup</TITLE
>ARM AEB-1 Hardware Setup</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
<META
NAME="GENERATOR"
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
"><LINK
REL="HOME"
REL="HOME"
TITLE="eCos User Guide"
TITLE="eCos User Guide"
HREF="ecos-user-guide.html"><LINK
HREF="ecos-user-guide.html"><LINK
REL="UP"
REL="UP"
TITLE="Target Setup"
TITLE="Target Setup"
HREF="appendix-target-setup.html"><LINK
HREF="appendix-target-setup.html"><LINK
REL="PREVIOUS"
REL="PREVIOUS"
TITLE="ARM PID Hardware Setup"
TITLE="ARM PID Hardware Setup"
HREF="setup-arm-pid.html"><LINK
HREF="setup-arm-pid.html"><LINK
REL="NEXT"
REL="NEXT"
TITLE="ARM Cogent CMA230 Hardware Setup"
TITLE="ARM Cogent CMA230 Hardware Setup"
HREF="setup-arm-cma230.html"></HEAD
HREF="setup-arm-cma230.html"></HEAD
><BODY
><BODY
CLASS="SECT1"
CLASS="SECT1"
BGCOLOR="#FFFFFF"
BGCOLOR="#FFFFFF"
TEXT="#000000"
TEXT="#000000"
LINK="#0000FF"
LINK="#0000FF"
VLINK="#840084"
VLINK="#840084"
ALINK="#0000FF"
ALINK="#0000FF"
><DIV
><DIV
CLASS="NAVHEADER"
CLASS="NAVHEADER"
><TABLE
><TABLE
SUMMARY="Header navigation table"
SUMMARY="Header navigation table"
WIDTH="100%"
WIDTH="100%"
BORDER="0"
BORDER="0"
CELLPADDING="0"
CELLPADDING="0"
CELLSPACING="0"
CELLSPACING="0"
><TR
><TR
><TH
><TH
COLSPAN="3"
COLSPAN="3"
ALIGN="center"
ALIGN="center"
>eCos User Guide</TH
>eCos User Guide</TH
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="left"
ALIGN="left"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="setup-arm-pid.html"
HREF="setup-arm-pid.html"
ACCESSKEY="P"
ACCESSKEY="P"
>Prev</A
>Prev</A
></TD
></TD
><TD
><TD
WIDTH="80%"
WIDTH="80%"
ALIGN="center"
ALIGN="center"
VALIGN="bottom"
VALIGN="bottom"
>Appendix A. Target Setup</TD
>Appendix A. Target Setup</TD
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="right"
ALIGN="right"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="setup-arm-cma230.html"
HREF="setup-arm-cma230.html"
ACCESSKEY="N"
ACCESSKEY="N"
>Next</A
>Next</A
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><HR
><HR
ALIGN="LEFT"
ALIGN="LEFT"
WIDTH="100%"></DIV
WIDTH="100%"></DIV
><DIV
><DIV
CLASS="SECT1"
CLASS="SECT1"
><H1
><H1
CLASS="SECT1"
CLASS="SECT1"
><A
><A
NAME="SETUP-ARM-AEB1">ARM AEB-1 Hardware Setup</H1
NAME="SETUP-ARM-AEB1">ARM AEB-1 Hardware Setup</H1
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3686">Overview</H2
NAME="AEN3686">Overview</H2
><P
><P
>The ARM AEB-1 comes with tools in ROM. These include a simple
>The ARM AEB-1 comes with tools in ROM. These include a simple
FLASH management tool and the Angel&reg; monitor. eCos for
FLASH management tool and the Angel&reg; monitor. eCos for
the ARM AEB-1 comes with GDB stubs suitable for programming into
the ARM AEB-1 comes with GDB stubs suitable for programming into
the onboard FLASH. GDB is the preferred debug environment for GDB,
the onboard FLASH. GDB is the preferred debug environment for GDB,
and while Angel provides a subset of the features in the eCos GDB
and while Angel provides a subset of the features in the eCos GDB
stub, Angel is unsupported.</P
stub, Angel is unsupported.</P
><P
><P
>Both eCos and the stubs support both Revision B and Revision
>Both eCos and the stubs support both Revision B and Revision
C of the AEB-1 board. Stub ROM images for both types of board can
C of the AEB-1 board. Stub ROM images for both types of board can
be found in the loaders/arm-aeb directory under the root
be found in the loaders/arm-aeb directory under the root
of your eCos installation. You can select which board you are using
of your eCos installation. You can select which board you are using
by selecting either the aeb or aebC platform by selecting the appropriate
by selecting either the aeb or aebC platform by selecting the appropriate
platform HAL in the <SPAN
platform HAL in the <SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>eCos Configuration Tool</I
>eCos Configuration Tool</I
></SPAN
></SPAN
>.</P
>.</P
><P
><P
>The GDB stub can be downloaded to the board for programming
>The GDB stub can be downloaded to the board for programming
in the FLASH using the board's on-board ROM monitor:</P
in the FLASH using the board's on-board ROM monitor:</P
><P
><P
></P
></P
><OL
><OL
TYPE="1"
TYPE="1"
><LI
><LI
><P
><P
>talk to the AEB-1 board with a terminal emulator (or
>talk to the AEB-1 board with a terminal emulator (or
a real terminal!)</P
a real terminal!)</P
></LI
></LI
><LI
><LI
><P
><P
>use the board's rom menu to download a UU-encoded
>use the board's rom menu to download a UU-encoded
version of the GDB stubs which will act as a ROM monitor</P
version of the GDB stubs which will act as a ROM monitor</P
></LI
></LI
><LI
><LI
><P
><P
>tell the board to use this new monitor, and then hook
>tell the board to use this new monitor, and then hook
GDB up to it for real debugging</P
GDB up to it for real debugging</P
></LI
></LI
></OL
></OL
></DIV
></DIV
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3699">Talking to the Board</H2
NAME="AEN3699">Talking to the Board</H2
><P
><P
>Connect a terminal or computer's serial port to the
>Connect a terminal or computer's serial port to the
ARM AEB-1. On a PC with a 9-pin serial port, you can use the cable
ARM AEB-1. On a PC with a 9-pin serial port, you can use the cable
shipped by ARM with no modification. </P
shipped by ARM with no modification. </P
><P
><P
>Set the terminal or terminal emulator to 9600N1 (9600 baud,
>Set the terminal or terminal emulator to 9600N1 (9600 baud,
no parity, 1 stop bit). </P
no parity, 1 stop bit). </P
><P
><P
>Reset the board by pressing the little reset button on the
>Reset the board by pressing the little reset button on the
top. You will see the following text: </P
top. You will see the following text: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>       ARM Evaluation Board Boot Monitor 0.01 (19 APR 1998)
>       ARM Evaluation Board Boot Monitor 0.01 (19 APR 1998)
        Press ENTER within 2 seconds to stop autoboot</PRE
        Press ENTER within 2 seconds to stop autoboot</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>Press ENTER quickly, and you will get the boot prompt: </P
>Press ENTER quickly, and you will get the boot prompt: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>       Boot:</PRE
>       Boot:</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3707">Downloading the Stubs via the Rom Menu</H2
NAME="AEN3707">Downloading the Stubs via the Rom Menu</H2
><P
><P
>Using the AEB-1 rom menu to download the GDB stubs from the
>Using the AEB-1 rom menu to download the GDB stubs from the
provided ".UU" file.</P
provided ".UU" file.</P
><DIV
><DIV
CLASS="NOTE"
CLASS="NOTE"
><BLOCKQUOTE
><BLOCKQUOTE
CLASS="NOTE"
CLASS="NOTE"
><P
><P
><B
><B
>Note: </B
>Note: </B
>This is an annotated 'terminal' session
>This is an annotated 'terminal' session
with the AEB-1 monitor:</P
with the AEB-1 monitor:</P
></BLOCKQUOTE
></BLOCKQUOTE
></DIV
></DIV
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>+Boot: help
>+Boot: help
Module is BootStrap       1.00 (14 Aug 1998)</PRE
Module is BootStrap       1.00 (14 Aug 1998)</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>Help is available on:</PRE
>Help is available on:</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>Help          Modules       ROMModules    UnPlug        PlugIn
>Help          Modules       ROMModules    UnPlug        PlugIn
Kill          SetEnv        UnSetEnv      PrintEnv      DownLoad
Kill          SetEnv        UnSetEnv      PrintEnv      DownLoad
Go            GoS           Boot          PC            FlashWrite
Go            GoS           Boot          PC            FlashWrite
FlashLoad     FlashErase</PRE
FlashLoad     FlashErase</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>Boot: download c000
>Boot: download c000
Ready to download. Use 'transmit' option on terminal
Ready to download. Use 'transmit' option on terminal
emulator to download file.</PRE
emulator to download file.</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>... at this point, download the ASCII file "loaders/arm-aeb/
>... at this point, download the ASCII file "loaders/arm-aeb/
    gdb_module.img.UU". The details of this operation differ
    gdb_module.img.UU". The details of this operation differ
    depending on which terminal emulator is used. It may be
    depending on which terminal emulator is used. It may be
    necessary to enter "^D" (control+D) when the download completes
    necessary to enter "^D" (control+D) when the download completes
   to get the monitor to return to command mode. </PRE
   to get the monitor to return to command mode. </PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>Loaded file gdb_module.img.bin at address
>Loaded file gdb_module.img.bin at address
0000c000, size = 19392 </PRE
0000c000, size = 19392 </PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3718">Activating the GDB Stubs</H2
NAME="AEN3718">Activating the GDB Stubs</H2
><P
><P
>Commit the GDB stubs module to FLASH: </P
>Commit the GDB stubs module to FLASH: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>       Boot: flashwrite 4018000 C000 8000
>       Boot: flashwrite 4018000 C000 8000
    </PRE
    </PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>Verify that the eCos/"GDB stubs" module is now added
>Verify that the eCos/"GDB stubs" module is now added
in the list of modules in the board: </P
in the list of modules in the board: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>       Boot: rommodules
>       Boot: rommodules
    </PRE
    </PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>You should see output similar to the following: </P
>You should see output similar to the following: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>       Header   Base     Limit
>       Header   Base     Limit
        04000004 04000000 040034a8 BootStrap       1.00 (14 Aug 1998)
        04000004 04000000 040034a8 BootStrap       1.00 (14 Aug 1998)
        04003a74 04003800 04003bc0 Production Test 1.00 (13 Aug 1998)
        04003a74 04003800 04003bc0 Production Test 1.00 (13 Aug 1998)
        0400e4f4 04004000 0400e60f Angel           1.02 (12 MAY 1998)
        0400e4f4 04004000 0400e60f Angel           1.02 (12 MAY 1998)
        0401c810 04018000 0401cbc0 eCos              1.3  (27 Jan 2000)
        0401c810 04018000 0401cbc0 eCos              1.3  (27 Jan 2000)
GDB stubs
GDB stubs
    </PRE
    </PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><P
><P
>Now make the eCos/"GDB stubs" module be the default
>Now make the eCos/"GDB stubs" module be the default
monitor: </P
monitor: </P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>       Boot: plugin eCos
>       Boot: plugin eCos
    </PRE
    </PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><DIV
><DIV
CLASS="NOTE"
CLASS="NOTE"
><BLOCKQUOTE
><BLOCKQUOTE
CLASS="NOTE"
CLASS="NOTE"
><P
><P
><B
><B
>Note: </B
>Note: </B
>Since the GDB stubs are always linked at the same address
>Since the GDB stubs are always linked at the same address
(0x4018000), the operation of writing to the FLASH and selecting
(0x4018000), the operation of writing to the FLASH and selecting
the stubs as default monitor is an idempotent operation. You can
the stubs as default monitor is an idempotent operation. You can
download a new set of stubs following the same procedure - you do
download a new set of stubs following the same procedure - you do
not have to unregister or delete anything.</P
not have to unregister or delete anything.</P
></BLOCKQUOTE
></BLOCKQUOTE
></DIV
></DIV
></DIV
></DIV
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3730">Building the GDB Stub FLASH ROM Images</H2
NAME="AEN3730">Building the GDB Stub FLASH ROM Images</H2
><P
><P
>Pre-built GDB stubs images are provided in the directory loaders/arm-aeb
>Pre-built GDB stubs images are provided in the directory loaders/arm-aeb
relative to the root of your eCos installation, but here are instructions
relative to the root of your eCos installation, but here are instructions
on how to rebuild them if you should ever need to.</P
on how to rebuild them if you should ever need to.</P
></DIV
></DIV
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3733">Building the GDB Stubs with the eCos Configuration Tool</H2
NAME="AEN3733">Building the GDB Stubs with the eCos Configuration Tool</H2
><P
><P
></P
></P
><OL
><OL
TYPE="1"
TYPE="1"
><LI
><LI
><P
><P
>Start with a new document - selecting the
>Start with a new document - selecting the
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>File</I
>File</I
></SPAN
></SPAN
>
>
-&#62;
-&#62;
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>New</I
>New</I
></SPAN
></SPAN
>
>
 menu item if necessary to do this.</P
 menu item if necessary to do this.</P
></LI
></LI
><LI
><LI
><P
><P
>Choose the
>Choose the
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Build</I
>Build</I
></SPAN
></SPAN
>
>
-&#62;
-&#62;
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Templates</I
>Templates</I
></SPAN
></SPAN
>
>
 menu item, and then select the ARM AEB-1 hardware.</P
 menu item, and then select the ARM AEB-1 hardware.</P
></LI
></LI
><LI
><LI
><P
><P
>While still displaying the
>While still displaying the
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Build-&#62;Templates</I
>Build-&#62;Templates</I
></SPAN
></SPAN
>
>
 dialog box, select the "stubs" package template to build a GDB
 dialog box, select the "stubs" package template to build a GDB
stub image. Click
stub image. Click
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>OK</I
>OK</I
></SPAN
></SPAN
>.</P
>.</P
></LI
></LI
><LI
><LI
><P
><P
>If applicable, set the "AEB board revision" option to
>If applicable, set the "AEB board revision" option to
"C" from "B" depending on the board revision being used.</P
"C" from "B" depending on the board revision being used.</P
></LI
></LI
><LI
><LI
><P
><P
>Build eCos using
>Build eCos using
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Build</I
>Build</I
></SPAN
></SPAN
>
>
-&#62;
-&#62;
<SPAN
<SPAN
CLASS="emphasis"
CLASS="emphasis"
><I
><I
CLASS="EMPHASIS"
CLASS="EMPHASIS"
>Library.</I
>Library.</I
></SPAN
></SPAN
></P
></P
></LI
></LI
><LI
><LI
><P
><P
>When the build completes, the image files can be found
>When the build completes, the image files can be found
in the bin/ subdirectory of the install tree. The GDB stub
in the bin/ subdirectory of the install tree. The GDB stub
ROM images have the prefix "gdb_module".</P
ROM images have the prefix "gdb_module".</P
></LI
></LI
></OL
></OL
></DIV
></DIV
><DIV
><DIV
CLASS="SECT2"
CLASS="SECT2"
><H2
><H2
CLASS="SECT2"
CLASS="SECT2"
><A
><A
NAME="AEN3756">Building the GDB Stub ROMs with ecosconfig</H2
NAME="AEN3756">Building the GDB Stub ROMs with ecosconfig</H2
><P
><P
></P
></P
><OL
><OL
TYPE="1"
TYPE="1"
><LI
><LI
><P
><P
>Make an empty directory to contain the build tree,
>Make an empty directory to contain the build tree,
and cd into it.</P
and cd into it.</P
></LI
></LI
><LI
><LI
><P
><P
>To build a GDB stub ROM image, enter the command:</P
>To build a GDB stub ROM image, enter the command:</P
><TABLE
><TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>$ ecosconfig new aeb stubs</PRE
>$ ecosconfig new aeb stubs</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></LI
></LI
><LI
><LI
><P
><P
>If applicable, edit ecos.ecc and set the AEB board revision. (CYGHWR_HAL_ARM_AEB_REVISION)
>If applicable, edit ecos.ecc and set the AEB board revision. (CYGHWR_HAL_ARM_AEB_REVISION)
from the default "B" to "C" by uncommenting the user_value
from the default "B" to "C" by uncommenting the user_value
property and setting it to "C".</P
property and setting it to "C".</P
></LI
></LI
><LI
><LI
><P
><P
>Enter the commands
>Enter the commands
 
 
<TABLE
<TABLE
BORDER="5"
BORDER="5"
BGCOLOR="#E0E0F0"
BGCOLOR="#E0E0F0"
WIDTH="70%"
WIDTH="70%"
><TR
><TR
><TD
><TD
><PRE
><PRE
CLASS="PROGRAMLISTING"
CLASS="PROGRAMLISTING"
>$ ecosconfig tree
>$ ecosconfig tree
$ make</PRE
$ make</PRE
></TD
></TD
></TR
></TR
></TABLE
></TABLE
></P
></P
></LI
></LI
><LI
><LI
><P
><P
>When the build completes, the image files can be found
>When the build completes, the image files can be found
in the bin/ subdirectory of the install tree. The GDB stub
in the bin/ subdirectory of the install tree. The GDB stub
ROM images have the prefix "gdb_module".</P
ROM images have the prefix "gdb_module".</P
></LI
></LI
></OL
></OL
></DIV
></DIV
></DIV
></DIV
><DIV
><DIV
CLASS="NAVFOOTER"
CLASS="NAVFOOTER"
><HR
><HR
ALIGN="LEFT"
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
SUMMARY="Footer navigation table"
WIDTH="100%"
WIDTH="100%"
BORDER="0"
BORDER="0"
CELLPADDING="0"
CELLPADDING="0"
CELLSPACING="0"
CELLSPACING="0"
><TR
><TR
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="left"
ALIGN="left"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="setup-arm-pid.html"
HREF="setup-arm-pid.html"
ACCESSKEY="P"
ACCESSKEY="P"
>Prev</A
>Prev</A
></TD
></TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="ecos-user-guide.html"
HREF="ecos-user-guide.html"
ACCESSKEY="H"
ACCESSKEY="H"
>Home</A
>Home</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="setup-arm-cma230.html"
HREF="setup-arm-cma230.html"
ACCESSKEY="N"
ACCESSKEY="N"
>Next</A
>Next</A
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="left"
ALIGN="left"
VALIGN="top"
VALIGN="top"
>ARM PID Hardware Setup</TD
>ARM PID Hardware Setup</TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="appendix-target-setup.html"
HREF="appendix-target-setup.html"
ACCESSKEY="U"
ACCESSKEY="U"
>Up</A
>Up</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
>ARM Cogent CMA230 Hardware Setup</TD
>ARM Cogent CMA230 Hardware Setup</TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></BODY
></BODY
></HTML
></HTML
 
 

powered by: WebSVN 2.1.0

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