X-Git-Url: https://git.kernelconcepts.de/?p=karo-tx-redboot.git;a=blobdiff_plain;f=doc%2Fhtml%2Fuser-guide%2Fsetup-tx39-sim.html;fp=doc%2Fhtml%2Fuser-guide%2Fsetup-tx39-sim.html;h=7995a1ca76adb86326920d274ae0d95061666f4b;hp=0000000000000000000000000000000000000000;hb=2b5bec7716c03d42cfb16d8c98c9cea573bf6722;hpb=47412fc4bd1aefc0d5498bcb3860a9d727196f16 diff --git a/doc/html/user-guide/setup-tx39-sim.html b/doc/html/user-guide/setup-tx39-sim.html new file mode 100644 index 00000000..7995a1ca --- /dev/null +++ b/doc/html/user-guide/setup-tx39-sim.html @@ -0,0 +1,204 @@ + + + + + + + + +
The TX39 simulator is an architectural simulator which implements +all the features of the Toshiba TX39 needed to run eCos. The current +implementation provides accurate simulation of the instruction set, + interrupt controller, and timers, as well as having generic support +for diagnostic output, serial I/O, and exceptions.
In this release, you can run the same eCos binaries in the +simulator that can run on target hardware, if it is built for ROM +start-up.
To simplify connection to the simulator, you are advised to +create a GDB macro by putting the following code in your personal +GDB start-up file (gdb.ini on Windows and .gdbinit on UNIX).
define tsim + target sim --board=jmr3904pal --memory-region 0xffff8000,0x900 \ + --memory-region 0xffffe000,0x4 \ + --memory-region 0xb2100000,0x4 + rbreak cyg_test_exit + rbreak cyg_assert_fail +end |
You can then connect to the simulator by invoking the command tsim on +the command line:
(gdb) tsim |
You can achieve the same effect by typing out the macro’s +content on the command line if necessary.