1 | This directory contains various support software for using RTEMS on |
---|
2 | the TS-1325. Descriptions follow. |
---|
3 | |
---|
4 | |
---|
5 | DOS Loader |
---|
6 | ========== |
---|
7 | |
---|
8 | The dos_sup directory contains a DOS-based loader (loader.com) for |
---|
9 | RTEMS executables on the TS-1325. Fully commented source code is |
---|
10 | included. |
---|
11 | |
---|
12 | Once an application has been compiled and the resulting COFF |
---|
13 | executable converted to raw binary format and transferred to the |
---|
14 | TS-1325, the DOS loader program must be used to load and execute |
---|
15 | it. The loader is simply invoked as "loader filename", where the |
---|
16 | filename cannot contain an explicit path. |
---|
17 | |
---|
18 | The loader will work with files stored either on the C: ram disk or |
---|
19 | the A: flash disk. Since Zmodem transfers to the C: ram disk are much |
---|
20 | faster than to the A: disk, most development work will be done using |
---|
21 | the C: disk. Once completed, an application may copied to the |
---|
22 | (non-volatile) A: disk. Additionally, one may add the line "loader |
---|
23 | filename" to the AUTOEXEC.BAT file, allow ing the application to be |
---|
24 | run automatically at boot time. |
---|
25 | |
---|
26 | Note that the DOS loader will abort and exit if it detects that the |
---|
27 | push-button switch is pressed, thus allowing one to break out of a |
---|
28 | patho logical "boot loop" situation. |
---|
29 | |
---|
30 | |
---|
31 | coff2bin |
---|
32 | ======== |
---|
33 | |
---|
34 | The coff2bin script is just a convenient wrapper for the objcopy |
---|
35 | command. It can convert a list of RTEMS-generated COFF files to raw |
---|
36 | binary images that can be loaded on the TS-1325. The converted files |
---|
37 | are saved in the current directory with a ".bin" extension. |
---|
38 | |
---|
39 | |
---|
40 | TS-1325 Ada95 Support |
---|
41 | ===================== |
---|
42 | |
---|
43 | The TS-1325 includes a few peripherals which are very useful for |
---|
44 | embedded development: a push-button switch, an LED, and a parallel |
---|
45 | port which may be used for digital I/O. Note that the pinout for the |
---|
46 | parallel port is given in the TS-1325 manual. |
---|
47 | |
---|
48 | These devices are all supported by Ada packages allowing easy access; |
---|
49 | they may be found in the ts_1325_ada directory. Doing a make command |
---|
50 | here will build a program that tests and exercises all these support |
---|
51 | packages. Plugging in some kind of parallel-port "loop-back" connector |
---|
52 | would be useful during this test. |
---|
53 | |
---|
54 | Brief descriptions of the main packages are as follows: |
---|
55 | |
---|
56 | * ts1325-button: allows one to check or wait for a button press. |
---|
57 | |
---|
58 | * ts1325-led: allows safe reading and setting of the LED colour. |
---|
59 | |
---|
60 | * ts1325-parallel: used to read and write byte date to the parallel |
---|
61 | port. |
---|
62 | |
---|
63 | * i386_ports: code to access the I/O address space, using Ada |
---|
64 | inline assembly. |
---|
65 | |
---|
66 | |
---|
67 | Tony Ambardar, 4/21/99 |
---|
68 | |
---|