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 >SPARClite Architectural Simulator 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="SPARClite Hardware Setup"
26 HREF="setup-sparclite-sleb.html"><LINK
28 TITLE="ARM PID Hardware Setup"
29 HREF="setup-arm-pid.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="setup-sparclite-sleb.html"
65 >Appendix A. Target Setup</TD
71 HREF="setup-arm-pid.html"
85 NAME="SETUP-SPARCLITE-SIM">SPARClite Architectural Simulator Setup</H1
87 >The ESA SPARClite simulator is an architectural simulator
88 which implements all the features of the SPARClite needed to run
89 eCos. The current implementation provides accurate simulation of
90 the instruction set, interrupt controller, and timers, as well as
91 having generic support for diagnostic output and exceptions.</P
93 >Note that the ESA SPARClite simulator is unsupported, but
94 is included in the release as a convenience.</P
96 >To simplify connection to the simulator, you are advised to
97 create a GDB macro by putting the following code in your personal
98 GDB start-up file (gdb.ini on Windows and .gdbinit on UNIX).</P
106 CLASS="PROGRAMLISTING"
108 target sim -nfp -sparclite -dumbio
110 rbreak cyg_assert_fail
116 >You can then connect to the simulator by invoking the command <B
128 CLASS="PROGRAMLISTING"
134 >You can achieve the same effect by typing out the macro’s
135 content on the command line if necessary.</P
142 SUMMARY="Footer navigation table"
153 HREF="setup-sparclite-sleb.html"
162 HREF="ecos-user-guide.html"
171 HREF="setup-arm-pid.html"
181 >SPARClite Hardware Setup</TD
187 HREF="appendix-target-setup.html"
195 >ARM PID Hardware Setup</TD