source: rtems/c/src/lib/libbsp/sh/shsim/README @ e8a7a46

4.104.114.84.95
Last change on this file since e8a7a46 was e8a7a46, checked in by Joel Sherrill <joel.sherrill@…>, on 01/24/01 at 19:10:38

2001-01-24 Ralf Corsepius <corsepiu@…>

  • Makefile.am, README, console/console-io.c, start/start.S, startup/linkcmds: Update to make shsim closer to functional.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1#
2#  $Id$
3#
4
5Simple BSP for the SH simulator built into gdb.
6
7Simulator Invocation
8====================
9sh-rtems[elf|]-gdb <executable>
10(gdb) target sim
11(gdb) set archi [sh|sh2]
12(gdb) load <executable>
13(gdb) run
14
15Status
16======
17
18* The simulator invocation procedure outlined above produces error messages
19with gdb-5.0, nevertheless seems to work. With gdb versions > 5.0 these
20error messages are gone. I.e. if you plan to seriously work with the gdb
21simulator better use gdb versions > 5.0.
22
23* gdb's simulator is not able to correctly emulate memory areas esp. shadowing
24and non-consecutive memory. I.e. access to memory areas besides area 0 will
25(bogusly) generate SIGBUS exceptions.  This includes access to area 5
26(On-chip peripherials) and prevents simulation of configuration of
27accesses to on-chip peripherials.
28
29* Due to limitations of the simulator you will only be able to run
30applications which do not try to access any SH control registers.
31
32Currently, this excludes all applications, which apply timers and serial
33devices, i.e. almost any real world application.
34
35* The simulator currently uses gdb's trap34 interface for console I/O. This
36could be replaced with polled sci1 I/O for SHes > SH1.
Note: See TracBrowser for help on using the repository browser.