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 >TX39 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="TX39 Hardware Setup"
26 HREF="setup-tx39-jmr3904.html"><LINK
28 TITLE="TX49 Hardware Setup"
29 HREF="setup-tx49-ref4955.html"></HEAD
40 SUMMARY="Header navigation table"
57 HREF="setup-tx39-jmr3904.html"
65 >Appendix A. Target Setup</TD
71 HREF="setup-tx49-ref4955.html"
85 NAME="SETUP-TX39-SIM">TX39 Architectural Simulator Setup</H1
87 >The TX39 simulator is an architectural simulator which implements
88 all the features of the Toshiba TX39 needed to run eCos. The current
89 implementation provides accurate simulation of the instruction set,
90 interrupt controller, and timers, as well as having generic support
91 for diagnostic output, serial I/O, and exceptions.</P
93 >In this release, you can run the same eCos binaries in the
94 simulator that can run on target hardware, if it is built for ROM
97 >To simplify connection to the simulator, you are advised to
98 create a GDB macro by putting the following code in your personal
99 GDB start-up file (gdb.ini on Windows and .gdbinit on UNIX).</P
107 CLASS="PROGRAMLISTING"
109 target sim --board=jmr3904pal --memory-region 0xffff8000,0x900 \
110 --memory-region 0xffffe000,0x4 \
111 --memory-region 0xb2100000,0x4
113 rbreak cyg_assert_fail
119 >You can then connect to the simulator by invoking the command <B
131 CLASS="PROGRAMLISTING"
137 >You can achieve the same effect by typing out the macro’s
138 content on the command line if necessary.</P
145 SUMMARY="Footer navigation table"
156 HREF="setup-tx39-jmr3904.html"
165 HREF="ecos-user-guide.html"
174 HREF="setup-tx49-ref4955.html"
184 >TX39 Hardware Setup</TD
190 HREF="appendix-target-setup.html"
198 >TX49 Hardware Setup</TD