Changeset e8a7a46 in rtems for c/src/lib/libbsp/sh/shsim/README


Ignore:
Timestamp:
Jan 24, 2001, 7:10:38 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
38371dbe
Parents:
b00b6a7
Message:

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sh/shsim/README

    rb00b6a7 re8a7a46  
    77Simulator Invocation
    88====================
    9 target sim
     9sh-rtems[elf|]-gdb <executable>
     10(gdb) target sim
     11(gdb) set archi [sh|sh2]
     12(gdb) load <executable>
     13(gdb) run
    1014
    1115Status
    1216======
    13 Does not link yet.  libcpu/sh code needs to be addressed so we can
    14 get context switch code.
     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 TracChangeset for help on using the changeset viewer.